Assessing the Changeability of two Object-Oriented Design Alternatives--a Controlled Experiment

An important motivation for the object-oriented paradigm is to improve the changeability of the software, thereby reducing lifetime development costs. This paper describes the results of controlled experiments assessing the changeability of a given responsibility-driven (RD) design versus an alterna...

Full description

Saved in:
Bibliographic Details
Published inEmpirical software engineering : an international journal Vol. 6; no. 3; pp. 231 - 277
Main Authors Arisholm, Erik, Sjøberg, Dag I. K., Jørgensen, Magne
Format Journal Article
LanguageEnglish
Published Dordrecht Springer Nature B.V 01.09.2001
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:An important motivation for the object-oriented paradigm is to improve the changeability of the software, thereby reducing lifetime development costs. This paper describes the results of controlled experiments assessing the changeability of a given responsibility-driven (RD) design versus an alternative control-oriented "mainframe" (MF) design. According to Coad and Yourdon's OO design quality principles, the RD design represents a "good" design. The MF design represents a "bad" design. To investigate which of the designs have better changeability, we conducted two controlled experiments--a pilot experiment and a main experiment. In both experiments, the subjects were divided in two groups in which the individuals designed, coded and tested several identical changes on one of the two design alternatives. The results clearly indicate that the "good" RD design requires significantly more change effort for the given set of changes than the alternative "bad" MF design. This difference in change effort is primarily due to the difference in effort required to understand how to solve the change tasks. Consequently, reducing class-level coupling and increasing class cohesion may actually increase the cognitive complexity of a design. With regards to correctness and learning curve, we found no significant differences between the twodesigns. However, we found that structural attributes change less for the RD design than for the MF design. Thus, the RD design may be less prone to structural deterioration. A challenging issue raised in this paper is therefore the tradeoff between change effort and structural stability.[PUBLICATION ABSTRACT]
Bibliography:SourceType-Scholarly Journals-1
ObjectType-Feature-1
content type line 14
ObjectType-Article-2
content type line 23
ISSN:1382-3256
1573-7616
DOI:10.1023/A:1011439416657