Abstract:
Techniques for a quantitative measurement of code quality diversely exist that utilize different sets
of metrics and that often lead to non-compatible and/or non-comparable sets of quality values. A set
of these quality values represents the composite result that evaluates the various aspects of code
quality not necessarily in agreement with each orther. Consequently, when several implementations
exist for a particular software feature, choosing ont that is better could be challenging. This thesis
proposes that the analytic hierarchy process (AHP) tecnique can provide a convenient means to
effectively assist software developers in rationalizing among candidate implementations to find the
one that is best suited for the design goal. The proposed method computes quality attributes for
given source code. It then applies AHP against the ranked quality attributes, in a pair-wise manner,
to derive the associated priority factors, and, subsequently, the quality index that indicates the
quality to a conclution that AHP is indeed an effective and convenient tool for comparing code
quality.