Fan-in is a measure of the number of functions or methods that call some other function or method (say X). Fan-out is the number of functions that are called by function X. It is used as a call graph based metrics. My question is how to measure fan-in/out from a call graph and where we can use this metrics?

A sample call graph is given as follows.

More Muhammad Iqbal Hossain's questions See All
Similar questions and discussions