Protected Internal Instance Variables 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.
Protected Internal Instance Variables
API ID: CountDeclInstanceVariableProtectedInternalLanguages: C#
Targets: Architectures, Classes, Project
Number of protected internal instance variables.
Targets By Language:- C#: Project, Class, Struct
- For projects and architectures, this metric must also be enabled from "Project Configuration/Metrics/Projects and Architectures" with the "Show aggregated class metrics" option. Enabling this option can be time consuming.
- This metric can be disabled from "Project Configuration/Metrics/Object Orientated" with the "Show method and variable count metrics" option.