HIS-Metric "calling"

Viewed 2608

I do not understand the reason for this metric/rule:

A function should not be called from more than 5 different functions. All calls within the same function are counted as 1. The rule is limited to translation unit scope.

It appears to me completely intuitive, because this contradicts code reuse and the approach of split code into often used functions instead of duplicated code.

Can someone explain the rationale?

1 Answers
Related