Introduction to Software Engineering
Software Metrics
(202407)
Code metrics are essential tools for assessing the quality and complexity of software. Today, we review size metrics, including Lines of Code (LOC), effective Lines of Code (eLOC), and logical Lines of Code (lLOC); the complexity metric that measures the number of linearly independent paths in a program called Cyclomatic Complexity (CC); and structural metrics, including Abstractness and Instability, that evaluate the balance between abstraction and concrete implementation, and the degree of dependency, respectively.