Outputs 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.
Outputs
API ID: CountOutputAlso Known As: FANOUT (Infomational fan-out)
Languages: C#, C++, Fortran, Java
Targets: Functions, Subprograms
Number of called subprograms plus global variables set.
The number of outputs that are SET. These can be parameters or global variables. So Functions calls + Parameters set/modify + Global Variables set/modify. A non-void return value adds one to the count. Recursive function calls, local variables that are not class static variables, and parameters that are pass by value are not included. Of the two general approachs to calculating FANOUT (informational versus structural) ours is the informational approach.
Also known as FANOUT (Infomational fan-out).
- C#: Method
- C++: Function
- Fortran: Function, Program, Subroutine
- Java: Method