Entities 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.
Entities
API ID: CountArchEntsLanguages: Any
Targets: Architectures
The number of entities directly belonging to this architecture.
Consider the following sample architecture:
- Arch Root
- Arch Child
- Arch GrandChild
- file1.cpp
- file2.cpp
- MyClass
- myFunction
- Arch Child 2
Then the metric values would be:
| Architecture | Value |
|---|---|
| Arch Root | 0 |
| Arch Child | 3 |
| Arch GrandChild | 1 |
| Arch Child 2 | 0 |