Software Metric
rascal-0.40.17
Synopsis
A metric to measure a source code property.
Description
A software metric is a quantitative measure about source code. A combination of one or more metrics can be used to quantitatively characterize aspects of software quality. Various quality aspects are of interest such as size, reliability, maintainability and so on.
Examples
Examples of software metrics are:
- Source lines of code (SLOC) measures the size of software. The larger the size, the more is needed to build and maintain it.
- Cyclomatic complexity measures logical complexity of code. Software components with a high cyclomatic complexity are hard to understand and maintain.
- Coupling measures the coupling between software components. High coupling indicates problems in the structure of a system.