scitools.com

← Metric catalog

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.

Instance Variables

API ID: CountDeclInstanceVariable
Also Known As: Number of Instance Variables (NIV)
Languages: Basic, C#, C++, Java, Pascal, Python, Web
Targets: Architectures, Classes, Files, Project

Number of instance variables.

Variables defined in a class that are only accessible through an object of that class.

Also known as Number of Instance Variables (NIV).


Targets By Language: Configuration: