Methodscan
Methodscan is a technique used in software engineering to identify and analyze the methods within a codebase. It aims to locate method definitions, track invocations, and map the relationships between methods across classes and modules. The output typically includes call graphs, method inventories, and dependency information that support maintenance and evolution tasks.
Methods can be collected statically by parsing source code or intermediate representations, using abstract syntax trees
Common outputs include call graphs, lists of unused or duplicate methods, and metrics such as fan-out, depth,
Limitations include handling of dynamic features, advanced metaprogramming, and generated or obfuscated code. Scale and accuracy
See also: static analysis, program analysis, call graph, code comprehension.