DocumentCode
2034509
Title
Entropies as measures of software information
Author
Abd-El-Hafiz, Salwa K.
Author_Institution
Fac. of Eng., Cairo Univ., Giza, Egypt
fYear
2001
fDate
2001
Firstpage
110
Lastpage
117
Abstract
This paper investigates the use of entropies as measures of software information content. Several entropies, including the well-known Shannon entropy, are characterized by their mathematical properties. Based on these characterizations, the entropies, which are suitable for measuring software systems, are rigorously chosen. By treating a software system as an information source, the function calls in procedural systems or method invocations in object-oriented systems resemble the emission of symbols from an information source. Thus, the probabilities, required for computing the entropies, are obtained using an empirical distribution of function calls or method invocations. Application of the suggested measures on procedural and object-oriented programs is further explained using two small examples. Because a. rigorous definition of information measures does not guarantee their usefulness in practice, an evaluation case study is performed In particular, the aim of this study is to practically evaluate the intuitiveness and scalability of the measures on a real software system totaling about 460000 lines of code. In addition to being intuitive and meaningful, the case study results highlight differences between the information measures. Thus, the family of measures presented can satisfy different measurement requirements
Keywords
entropy; object-oriented programming; software metrics; Shannon entropy; entropies; evaluation case study; function calls; information measures; information source; information theory; mathematical properties; measure properties; measuring software systems; method invocations; object-oriented systems; procedural systems; software information content; software measurement; Application software; Distributed computing; Entropy; Information theory; Maintenance; Mathematics; Performance evaluation; Scalability; Software measurement; Software systems;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance, 2001. Proceedings. IEEE International Conference on
Conference_Location
Florence
ISSN
1063-6773
Print_ISBN
0-7695-1189-9
Type
conf
DOI
10.1109/ICSM.2001.972721
Filename
972721
Link To Document