Title :
Thresholds for object-oriented measures
Author :
Benlarbi, Saida ; Emam, Khaled El ; Goel, Nishith ; Rai, Shesh
Author_Institution :
Alcatel CID, Canada
Abstract :
A practical application of object oriented measures is to predict which classes are likely to contain a fault. This is contended to be meaningful because object oriented measures are believed to be indicators of psychological complexity, and classes that are more complex are likely to be faulty. Recently, a cognitive theory was proposed suggesting that there are threshold effects for many object oriented measures. This means that object oriented classes are easy to understand as long as their complexity is below a threshold. Above that threshold their understandability decreases rapidly, leading to an increased probability of a fault. This occurs, according to the theory, due to an overflow of short-term human memory. If this theory is confirmed, then it would provide a mechanism that would explain the introduction of faults into object oriented systems, and would also provide some practical guidance on how to design object oriented programs. The authors empirically test this theory on two C++ telecommunications systems. They test for threshold effects in a subset of the Chidamber and Kemerer (CK) suite of measures (S. Chidamber and C. Kemerer, 1994). The dependent variable was the incidence of faults that lead to field failures. The results indicate that there are no threshold effects for any of the measures studied. This means that there is no value for the studied CK measures where the fault-proneness changes from being steady to rapidly increasing. The results are consistent across the two systems. Therefore, we can provide no support to the posited cognitive theory
Keywords :
C++ language; bibliographies; object-oriented programming; reverse engineering; software metrics; software performance evaluation; software quality; telecommunication computing; C++ telecommunications systems; CK measures; cognitive theory; dependent variable; fault introduction; fault-proneness; field failures; object oriented classes; object oriented measure thresholds; object oriented programs; object oriented systems; psychological complexity; short-term human memory overflow; threshold effects; understandability; Councils; Hospitals; Humans; Inspection; Object oriented modeling; Particle measurements; Psychology; Quality management; Software measurement; System testing;
Conference_Titel :
Software Reliability Engineering, 2000. ISSRE 2000. Proceedings. 11th International Symposium on
Conference_Location :
San Jose, CA
Print_ISBN :
0-7695-0807-3
DOI :
10.1109/ISSRE.2000.885858