scitools.com

← Metric catalog

Percent of Parent Code Lines 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.

Percent of Parent Code Lines

API ID: PercentOfParentCodeLines
Languages: Any
Targets: Architectures

Percentage of the parent architecture's code lines (CountLineCode) that belong to this architecture.

The parent is the immediate parent architecture. Useful to see how large this node is among its siblings. Not defined for the root (no parent); returns null for root. Returns null if the parent has no code lines.