Software Metrics Flashcards
what is SPI
software process improvement
what is SEI
software engineering institute
what is CMMI
capability maturity model integration
what is an error vs a defect
error = bug found before shipping
defect = bug found after shipping
3 purposes for collecting SW metrics
- history of what software has been done
- prediction and estimation
- refinement of processes (SPI)
5 examples of size-oriented metrics
- effort/staff hours
- cost
- document page count
- error rate
- lines of code
3 cons of size-oriented metrics
- depends on PL used (with respect to its expressive power)
- depends on developer coding style
- developers can game the system
what are function points
a function oriented metric that measures a function implemented by developers on a bunch of criteria and spits out a number
a more complex function will have greater function point value
3 types of OO metrics
of key classes
of supporting classes
of subsystems
5 quality metrics
- correctness (defects/KSLOC/year)
- maintainability
- mean time to change (MTTC = mean time to fix a bug)
- integrity
- usability
How to calculate defect removal efficiency
E / (E + D)
E = # of errors D = # of defects
4 issues with SW process metrics
- most metrics are too subjective to be reliable
- they get in the way of building SW
- most managers would want to use them for performance reviews
- claimed benefits require a long baseline
4 necessary things to establishing a metrics baseline
- metrics must be accurate
- use must apply metrics over many projects
- apply metrics to same kinds of data
- the projects where metrics are applied should be similar