scitools.com

← Metric catalog

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.

Called By

API ID: CountCallby
Languages: Any
Targets: Functions

The number of calls to this function

Example:

    void func();          // CountCallby = 2
    void doSomething()
    {
      func();             // +1
      func();             // +1
    }
    

Compare to CountCallbyUnique which counts unique functions that call this function.