Refactored declared/called function extraction to function PHPDCD_Detector::analyseSourceCode