Title :
Complexity measures for object-oriented program based on the entropy
Author :
Kapsu Kim ; Shin, Yeongil ; Wu, Chisu
Author_Institution :
Dept. of Comput. Sci. & Stat., Seokyeong Univ., South Korea
Abstract :
Software metrics are widely advocated as fundamental elements of an engineering approach to planning and controlling software development. They are especially important in object-oriented programming. We propose a new software complexity model which consists of class complexity, inter-object complexity, and the total complexity for the object-oriented program. We measure the complexities based on the entropy concept. The class complexity for a class measures the information flows in a class based on the information passing relationship among member data and member functions. The inter-object complexity for a program measures the information flows between objects. The total complexity for a program is measured by the class complexity and the inter-object complexity. We evaluate the proposed metrics using the complexity properties proposed by Weyuker (1988). Experimental results of C++ classes show the effectiveness of the proposed metrics. We assert that the class complexity and the inter-object complexity are correlated to other metrics for object-oriented concepts
Keywords :
abstract data types; computational complexity; data structures; entropy; object-oriented programming; software metrics; C++ classes; class complexity; complexity measures; engineering approach; entropy concept; information flows; information passing relationship; inter-object complexity; member data; member functions; object-oriented program; software complexity model; software development; software metrics; total complexity; Computer science; Encapsulation; Entropy; Object oriented modeling; Process control; Programming; Quality assurance; Software metrics; Software quality; Statistics;
Conference_Titel :
Software Engineering Conference, 1995. Proceedings., 1995 Asia Pacific
Conference_Location :
Brisbane, Qld.
Print_ISBN :
0-8186-7171-8
DOI :
10.1109/APSEC.1995.496961