TL;DR
This paper introduces AGA, an optimized version of the Greedy Additional algorithm for test case prioritization, significantly improving efficiency while maintaining effectiveness, demonstrated through extensive experiments on open-source and industrial datasets.
Contribution
The paper proposes AGA, a more efficient variant of GA, using extra data structures and specific iteration strategies to reduce computational complexity and enhance practical applicability.
Findings
AGA achieves 5.95X speedup over GA on average
AGA maintains the same effectiveness as GA in fault detection
Industrial case study shows 44.27X speedup in real-world scenarios
Abstract
In recent years, many test case prioritization (TCP) techniques have been proposed to speed up the process of fault detection. However, little work has taken the efficiency problem of these techniques into account. In this paper, we target the Greedy Additional (GA) algorithm, which has been widely recognized to be effective but less efficient, and try to improve its efficiency while preserving effectiveness. In our Accelerated GA (AGA) algorithm, we use some extra data structures to reduce redundant data accesses in the GA algorithm and thus the time complexity is reduced from to when , where is the number of test cases, is the number of program elements, and is the iteration number. Moreover, we observe the impact of iteration numbers on prioritization efficiency on our dataset and propose to use a specific iteration number in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
