Main Content
Estimated Function Coupling
Measure of complexity between levels of call tree
Description
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 |