Title :
Measuring the Complexity of Traces Using Shannon Entropy
Author :
Hamou-Lhadj, Abdelwahab
Author_Institution :
Concordia Univ., Montreal
Abstract :
Exploring the content of large execution traces can be a tedious task without efficient tool support. Building efficient trace analysis tools, however, requires a good understanding of the complexity embedded in traces. Trace complexity has traditionally been measured using the file size or the number of lines in the trace. In this paper, we argue that these metrics provide limited indication of the effort required to understand the content of a trace. We address this issue by introducing new trace complexity metrics based on the concept of entropy. Our metrics measure two important aspects of an execution trace: repeatability and variability. We present a case study where we apply the metrics to several execution traces. A discussion on how we can reduce the complexity of a trace based on these metrics is also presented.
Keywords :
information theory; program diagnostics; software metrics; Shannon entropy; information theory; repeatability aspect; trace analysis tools; trace complexity measures; variability aspect; Electric variables measurement; Entropy; Filtering; Information technology; Information theory; Size measurement; Software maintenance; Software systems; Dynamic analysis; Shannon entropy; program comprehension; software maintenance; trace complexity;
Conference_Titel :
Information Technology: New Generations, 2008. ITNG 2008. Fifth International Conference on
Conference_Location :
Las Vegas, NV
Print_ISBN :
0-7695-3099-0
DOI :
10.1109/ITNG.2008.169