Title of article :
Cost and Coverage Metrics for Measuring the Effectiveness of Test Case Prioritization Techniques
Author/Authors :
A.ASKARUNISA، نويسنده , , MS. L.SHANMUGAPRIYA، نويسنده ,
Issue Information :
روزنامه با شماره پیاپی سال 2010
Abstract :
Regression testing is an important and also a very expensive activity in the software life cycle. To reduce the cost of regression testing, test cases are prioritized. One goal of test case prioritizationtechnique is to increase a test suite’s rate of fault detection and to reduce the cost of regression testing. In his paper G. Rothermel [9] has provided a metric, Average Percentage of Fault Detected (APFD), for measuring rate of fault detection during prioritization. This metric assumes that all test cases andfault costs are uniform. In practice, test case and fault costs may vary, and in such cases the previousAPFD metric can be unsatisfactory. This paper presents a metric for assessing the rate of fault detectionof prioritized test cases, APFDc, that incorporates varying test cases and fault costs. We have also calculatedother new metrics like Average Percentage of Statement Coverage (APSC), Average Percentageof Branch Coverage (APBC),Average Percentage of Loop Coverage (APLC) and Average Percentageof Condition Coverage (APCC) based on the coverage criterion for the various prioritization techniquesperformed. Test cases are executed using JUnit tool. Code cover tool is used to find code coverageinformation. Test case prioritization is performed based on coverage and cost information. By injectingmutation faults effectiveness of prioritization is measured. Finally, we have implemented all the metricsconsidering a few standard java programs
Keywords :
Average percentage of Fault Detection with cost (APFDc) , regression testing , code coverage , test case prioritization , mutation faults , Average percentage of Fault Detection (APFD)
Journal title :
INFOCOMP Journal of Computer Science
Journal title :
INFOCOMP Journal of Computer Science