next up previous contents
Next: Rigi Views Up: Using the Editor Previous: Detailed information

Graph quality

You can produce a graph quality report which evaluates the quality of a selected subsystem according to a set of software modularity measures. Each measure is normalized to a range from 0 to 1. Higher values are ``better.''

  1. Select the ListADT subsystem node.
  2. Choose Graph Quality (C) from the Report menu.

    A report of the graph quality appears in a Text editor window. This editor is a separate process outside the direct control of rigiedit.

    tex2html_wrap4936

The overall quality is based on the:

The partition quality measure increases as the number of interfaces between nodes in the subsystem decrease. This is the principle of low coupling in modular design. The interfaces are classified into high-, medium-, and low-strength interfaces. The thresholds for this classification can be adjusted using the Low Threshold and High Threshold sliders in the Settings dialog.

The control encapsulation quality measure increases with the number of control flow dependencies between nodes inside the subsystem, and decreases with the number of control flow dependencies from nodes inside the subsystem to nodes outside. This favors localized control and small interfaces.

The data encapsulation quality measure increases with the number of local references to data types, and decreases with the number of external references to data types. This favors data encapsulation and object-oriented designs.



James Uhl
Wed Jul 10 14:13:22 PDT 1996