scitools.com

← Metric catalog

Unique Called By is one of the source-code metrics Understand computes across 17+ languages — browse them in the GUI, export and track them, or script them with the Python API.

Unique Called By

API ID: CountCallbyUnique
Languages: Any
Targets: Functions

The number of unique entities that call the function

Also known as Hersteller Initiative Software (HIS) CALLING metric.

Example:

    void func();          // CountCallbyUnique = 1
    void doSomething()
    {
      func();             // +1
      func();             // func() already counted
    }
    

Compare to CountCallby which counts all callby references.