An analysis of the relationship between conditional entropy and failed error propagation in software testing
Conference paper
Androutsopoulos, K., Clark, D., Dan, H., Hierons, R. and Harman, M. 2014. An analysis of the relationship between conditional entropy and failed error propagation in software testing. 36th International Conference on Software Engineering, ICSE '14. Hyderabad, India 31 May - 07 Jun 2014 Association for Computing Machinery (ACM). pp. 573-583 https://doi.org/10.1145/2568225.2568314
Type | Conference paper |
---|---|
Title | An analysis of the relationship between conditional entropy and failed error propagation in software testing |
Authors | Androutsopoulos, K., Clark, D., Dan, H., Hierons, R. and Harman, M. |
Abstract | Failed error propagation (FEP) is known to hamper software testing, yet it remains poorly understood. We introduce an information theoretic formulation of FEP that is based on measures of conditional entropy. This formulation considers the situation in which we are interested in the potential for an incorrect program state at statement s to fail to propagate to incorrect output. We define five metrics that differ in two ways: whether we only consider parts of the program that can be reached after executing s and whether we restrict attention to a single program path of interest .We give the results of experiments in which it was found that on average one in 10 tests suffered from FEP, earlier studies having shown that this figure can vary significantly between programs. The experiments also showed that our metrics are well-correlated with FEP. Our empirical study involved 30 programs, for which we executed a total of 7,140,000 test cases. The results reveal that the metrics differ in their performance but the Spearman rank correlation with failed error propagation is close to 0.95 for two of the metrics. These strong correlations in an experimental setting, in which all information about both FEP and conditional entropy is known, open up the possibility in the longer term of devising inexpensive information theory based metrics that allow us to minimise the effect of FEP. |
Conference | 36th International Conference on Software Engineering, ICSE '14 |
Page range | 573-583 |
Proceedings Title | ICSE 2014: Proceedings of the 36th International Conference on Software Engineering |
ISBN | |
Hardcover | 9781450327565 |
Publisher | Association for Computing Machinery (ACM) |
Publication dates | |
31 May 2014 | |
Publication process dates | |
Deposited | 28 Nov 2014 |
Output status | Published |
Web address (URL) | http://doi.acm.org/10.1145/2568225.2568314 |
Digital Object Identifier (DOI) | https://doi.org/10.1145/2568225.2568314 |
Language | English |
https://repository.mdx.ac.uk/item/84y29
67
total views0
total downloads4
views this month0
downloads this month