1
Software Metrics and Estimation
Software Engineering
- LOC — lines of code (simple size measure).
- Function Point — size by inputs, outputs, inquiries, files and interfaces (language independent).
- Cyclomatic complexity = E − N + 2 (edges − nodes + 2) = number of decisions + 1; the number of independent paths to test.
- COCOMO — estimates effort: Effort = a × (KLOC)b person-months (organic, semi-detached, embedded).