DocumentCode :
1812535
Title :
Reliability and maintainability related software coupling metrics in C++ programs
Author :
Rajaraman, Chandrashekar ; Lyu, Michael R.
Author_Institution :
Dept. of Comput. Sci., Iowa Univ., Iowa City, IA, USA
fYear :
1992
fDate :
7-10 Oct 1992
Firstpage :
303
Lastpage :
311
Abstract :
A description is given of some difficulties that one encounters in the testing and maintenance of C++ programs, which may result in program unreliability. Inheritance and polymorphism are key concepts in object-oriented programming (OOP), and are essential for achieving reusability and extendibility, but they also make programs more difficult to understand. The authors show by arguments and by some empirical evidence that widely used complexity metrics like lines of code, cyclomatic complexity, and Software Science´s metrics may not be appropriate to measure the complexity of C++ programs and those written in other object-oriented languages, since they do not address concepts like inheritance and encapsulation, apart from having other weaknesses. Some measures using a notion from the world of functional decomposition-coupling, are defined for C++ programs. Two of them-CC and AMC-and equivalent ones for the three widely used complexity metrics (for comparison) are computed for five C++ programs. Preliminary results show that the coupling measures correlate better with difficulty of testing and maintenance than the three widely used complexity metrics
Keywords :
C language; object-oriented programming; software maintenance; software metrics; software reliability; AMC; C++ programs; CC; OOP; complexity metrics; coupling measures; cyclomatic complexity; empirical evidence; encapsulation; extendibility; functional decomposition; inheritance; object-oriented languages; object-oriented programming; polymorphism; program unreliability; reusability; software coupling metrics; Displays; Encapsulation; Object oriented programming; Software design; Software engineering; Software maintenance; Software measurement; Software metrics; Testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Reliability Engineering, 1992. Proceedings., Third International Symposium on
Conference_Location :
Research Triangle Park, NC
Print_ISBN :
0-8186-2975-4
Type :
conf
DOI :
10.1109/ISSRE.1992.285898
Filename :
285898
Link To Document :
بازگشت