de l'information
2 Background
Below we present a detailed cognitive theory of object-oriented metrics. The theory explains themechanisms as to why object-oriented metrics are associated with fault-proneness. By giving themechanisms, it predicts which metrics are likely to be associated with class fault-proneness, andthe direction and functional form of the association. In our study we then empirically test thesepredictions.
It is important to articulate this theory in detail so that it can be tested. If the theory can besupported empirically, then it is possible to devise better metrics (i.e., with greater predictivepower or that can be collected early in the life cycle). Furthermore, if we understood themechanism then it is plausible that we can improve the design and programming process to avoidthe introduction of faults altogether. It is also possible that hypotheses derived from a cognitivetheory cannot be empirically supported. In such a case cognitive complexity may not be thereason why certain structural properties of object-oriented applications are problematic, and wehave to focus our attention on finding the mechanism of fault introduction.
2.1 Overview of the Cognitive Theory
In order for object-oriented metrics to be associated with fault-proneness, there has to be amechanism causing this effect. In the software engineering literature, this mechanism is believedto be cognitive complexity. For instance, Munson and Khoshgoftaar (Munson and Khoshgoftaar,1992) state that “There is a clear intuitive basis for believing that complex programs have morefaults in them than simple programs”. It has been argued that a detailed cognitive model is anecessary basis for developing software product metrics (Bergantz and Hassell, 1991; Ehrlichand Soloway, 1984). A further argument has been made that unless there is an understanding ofthe cognitive demands that software places on developers, then only surface features of thesoftware will be measured, and such surface “complexity” features will not be effective (Sebrechtsand Black, 1982). This implies that a cognitive theory of object-oriented metrics that explains howand why certain metrics are associated with fault-proneness is necessary.
Figure 1 depicts the cognitive theory that we describe. The rationale for the theory is the commonbelief that the structural properties of a software component (such as its coupling and inheritancerelationships) have an impact on its cognitive complexity (Briand et al., 2000; Cant et al., 1994;Cant et al., 1995; Henderson-Sellers, 1996).
Design Patterns Explained A New Perspective on Object Oriented Design 2nd ...258 Commonality and Variability Analysis and Application Design ... 258 Solving...
Object-Oriented Design Measurement", 5th ...Piattini, “Defining and Validating Metrics for ...Object Oriented Application Frameworks, Manning ...
A. A novel approach to formalize object-oriented design metrics Despite ...metrics [4, 5, 6, 7, 8, 9, 10, 11], validating existing ones [12...
Java语言程序设计基础篇课后题答案-Chapter 11 Object-Oriented Design Java语言程序设计基础篇课后题答案(英文版)Java语言程序设计基础篇课后题答案(英文版)隐藏>>...
(简称OO:Object Oriented)方法将世界看作一 个个...(Design) 设计模型 Role JSP SessionBean EntityBean...LDAPServer ApplicationServer 《程序包》 security....
Defining and Validating Design Coupling Measures in Object-Oriented Systems Lionel C. Briand, Prem Devanbu, Walcélio L. Melo ? Abstract This paper ...
Reference herein to any specific commercial product...Object-Oriented Framework for Design Optimization, ...172 Adding Simulations to the Direct Application ...
Reference herein to any specific commercial product...Object-Oriented Framework for Design Optimization, ...172 Adding Simulations to the Direct Application ...
热门文档