Accessors
Measures the number of accessor methods of a class. An accessor method contains only a get or set operation on a state variable.
This metric helps measure the work required to develop an application and its subapplications. Typically there are at most two accessors per state variable. A larger number of accessors may indicate duplicate behavior. A smaller number of accessors may indicate a large number of direct accesses, which in turn can cause increased maintenance or limit the ability of a subclass to extend or refine the class’s behavior.
Last modified date: 09/19/2019