Presentation is loading. Please wait.

Presentation is loading. Please wait.

Software Engineering Experimentation Software Metrics Jeff Offutt

Similar presentations


Presentation on theme: "Software Engineering Experimentation Software Metrics Jeff Offutt"— Presentation transcript:

1 Software Engineering Experimentation Software Metrics Jeff Offutt http://www.cs.gmu.edu/~offutt/

2 © Jeff Offutt, 2005-20122 Software Metrics Metrics are very closely related to software experimentation Uses many of the same terms Why measure software? –Evaluate is quality –To plan for changes –Estimate resources needed –To improve software and process –Choose design and implementation methods –To plan for evolution testing

3 © Jeff Offutt, 2005-20123 Terms Factor : A quality that we wish to base a decision on but that cannot be measured directly –Maintainability, complexity, usability Metric : Something that can be measured –Height, age, size, coupling, time to learn –It is easy to get factor and metric confused We use metrics to estimate factors –We often use the same term at different levels

4 © Jeff Offutt, 2005-20124 Measuring Metrics Measurement : A specific way to evaluate a metric. A measurement has units. –Number of inches / cm / feet, years, lines, … Validation : A metric is validated if it tells us something useful … that is, if it has been shown to accurately estimate a factor –Coupling has been found to be correlated with maintainability and reliability –Early language acquisition has been found to be correlated with intelligence

5 © Jeff Offutt, 2005-20125 Correlation and Prediction Correlation : if A happens, then B happens –Brake lights and car slowing down Causality : if A happens, then it causes B to happen –Pressing brake slows the car down Predictability : if A happens, I can predict that B will happen We do not need to show causality to have predictability

6 Summary © Jeff Offutt, 2005-20126 Measurement applies both to metrics and to experimentation


Download ppt "Software Engineering Experimentation Software Metrics Jeff Offutt"

Similar presentations


Ads by Google