CIS 375 SOFTWARE ENGINEERING

University Of Michigan-Dearborn

Dr. Bruce Maxim, Instructor

Object-Oriented Metrics:

How is O.O. software different:

    1. Localization.
    2. Encapsulation.
    3. Information hiding.
    4. Inheritance.
    5. Abstraction.

Class Metrics:

    1. CK metrics suite:
    1. Weighted Methods per class (WMC).
    2. Depth of inheritance tree (DIT).
    3. Number of children (NOC).
    4. Coupling between object classes (COB).
    5. Response for classes (RFC)
    6. Lack of cohesion in methods (LCOM)
    1. Lorenz & Kidd metrics:
    1. Class size (CS).
    2. # of operations overridden by subclass (NOO).
    3. # of operation added by subclass (NOA).
    4. SI = [NOO * level]/Mtotal # class methods.

Operation-Oriented Metrics:

    1. Average operation size (OSavg).
    2. Operation complexity (OC).
    3. Average # of parameters per operations (NPavg).

Operation-Oriented Methods:

    1. Encapsulation:
    1. Inheritance: