Main Content
Estimated Function Coupling
Measure of complexity between levels of call tree
Description
Note
Use Bug Finder instead of Code Prover for computing code metrics. Support for computing code metrics in Code Prover will be removed in a future release. See Version History.
This metric provides an approximate measure of complexity between different levels of the call tree. The metric is defined as:
number of call occurrences – number of function definitions + 1 | (1) |
This metric:
Counts function calls and function definitions in the current file only.
It does not count function definitions in a header file included in the current file.
Treats
static
andinline
functions like any other function.
Examples
Metric Information
Group: File |
Acronym: FCO |
HIS Metric: No |