callsmap builds a map of calls for custom functions and class methods for existing codebase requires improvement and testing