Metric Analysis and Data Validation Across Fortran Projects

Victor R. Basili, Richard W. Selby, Tsai-Yun Phillips

IEEE Transactions on Software Engineering · 1983 · 122 citations · 12 references

Concepts

TL;DR

Software effort prediction and quality assessment have motivated the development of numerous metrics in the literature. The study seeks to validate these metrics by examining their relationships with effort, development errors, and among themselves. Fortran production data from several projects were collected and analyzed at project, programmer, and cross‑project levels, with three effort‑reporting accuracy checks highlighting the need for database validation. Metrics correlate most strongly with effort when data come from individual programmers or validated projects, but no single metric—Software Science's E, cyclomatic complexity, or source lines of code—consistently outperforms the others.

Abstract

The desire to predict the effort in developing or explain the quality of software has led to the proposal of several metrics in the literature. As a step toward validating these metrics, the Software Engineering Laboratory has analyzed the Software Science metrics, cyclomatic complexity, and various standard program measures for their relation to 1) effort (including design through acceptance testing), 2) development errors (both discrete and weighted according to the amount of time to locate and frix), and 3) one another. The data investigated are collected from a production Fortran environment and examined across several projects at once, within individual projects and by individual programmers across projects, with three effort reporting accuracy checks demonstrating the need to validate a database. When the data come from individual programmers or certain validated projects, the metrics' correlations with actual effort seem to be strongest. For modules developed entirely by individual programmers, the validity ratios induce a statistically significant ordering of several of the metrics' correlations. When comparing the strongest correlations, neither Software Science's E metric, cyclomatic complexity nor source lines of code appears to relate convincingly better with effort than the others

References

12