All Methods is one of the source-code metrics Understand computes across 17+ languages — browse them in the GUI, export and track them, or script them with the Python API.
All Methods
API ID: CountDeclMethodAllAlso Known As: Number of Methods (NM), Response for a Class (RFC)
Languages: Basic, C#, C++, Java, Pascal, Python, Web
Targets: Classes
Number of methods, including inherited ones.
Also known as Chidamber & Kemerer - Response for a Class (RFC); Lorenz & Kidd - Number of Methods (NM).
- Basic: Class, Struct
- C#: Class, Struct
- C++: Class, Struct, Union
- Java: Class, Interface
- Pascal: Class, Interface
- Python: Class
- Web: PHP Class, PHP Interface
- This metric can be disabled from "Project Configuration/Metrics/Object Orientated" with the "Show method and variable count metrics" option.