Issue No. 11 - November (1992 vol. 18)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/32.177371
<p>It is proposed that the complexity of a program is inversely proportional to the average information content of its operators. An empirical probability distribution of the operators occurring in a program is constructed, and the classical entropy calculation is applied. The performance of the resulting metric is assessed in the analysis of two commercial applications totaling well over 130000 lines of code. The results indicate that the new metric does a good job of associating modules with their error spans (averaging number of tokens between error occurrences).</p>
entropy-based measure; software complexity; average information content; empirical probability distribution; classical entropy calculation; performance; probability; software metrics
W. Harrison, "An Entropy-Based Measure of Software Complexity," in IEEE Transactions on Software Engineering, vol. 18, no. , pp. 1025-1029, 1992.