Entropies as measures of software information

被引:15
作者
Abd-El-Hafiz, SK [1 ]
机构
[1] Cairo Univ, Fac Engn, Dept Engn Math, Giza 12211, Egypt
来源
IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS: SYSTEMS AND SOFTWARE EVOLUTION IN THE ERA OF THE INTERNET | 2001年
关键词
entropy; information theory; software measurement; measure properties;
D O I
10.1109/ICSM.2001.972721
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper investigates the rise of entropies as measures of software information content. Several entropies, including the well-known Shannon entropy,, are characterised 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 soft-ware system totaling about 460,000 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 in this paper can satisfy, different measurement requirements.
引用
收藏
页码:110 / 117
页数:2
相关论文
共 23 条
[1]   Identifying objects in procedural programs using clustering neural networks [J].
Abd-El-Hafiz S.K. .
Automated Software Engineering, 2000, 7 (03) :239-261
[2]  
ABRAMSON N, 1963, INFORMATION THEORY C
[3]  
ACZEL J, 1975, MEASURES INFORMATION
[4]  
ALLEN EB, 1998, P 6 IEEE INT S SOFTW
[5]  
[Anonymous], 1991, An introduction to object-oriented programming
[6]  
[Anonymous], P ASIA PACIFIC SOFTW
[7]  
BERLINGER E, 1980, P NAT COMP C, P773
[8]   Property-based software engineering measurement [J].
Briand, LC ;
Morasca, S ;
Basili, VR .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (01) :68-86
[9]   COMPLEXITY-MEASURES FOR CONCURRENT PROGRAMS BASED ON INFORMATION-THEORETIC METRICS [J].
CHA, S ;
CHUNG, IS ;
KWON, YR .
INFORMATION PROCESSING LETTERS, 1993, 46 (01) :43-50
[10]  
CHENG KT, 1990, P 27 ACM IEEE DES AU, P302