The parent/children arrays will contain all the callers + callees
of the symbol given. The current index will give the total
inclusive values for all properties.
public getRelatives ( string $symbol, string $metric = null, float $threshold ) : array | ||
$symbol | string | The name of the function/method to find relatives for. |
$metric | string | The metric to compare $threshold with. |
$threshold | float | The threshold to exclude child functions at. Any function that represents less than this percentage of the current metric will be filtered out. |
return | array | List of (parent, current, children) |