This is the latest version of this eprint.
Elgendy, I.T., Hierons, R.M. and McMinn, P. orcid.org/0000-0001-9137-7433 (Accepted: 2025) Empirically evaluating the use of bytecode for diversity-based test case prioritisation. In: International Conference on Evaluation and Assessment in Software Engineering (EASE). International Conference on Evaluation and Assessment in Software Engineering (EASE), 17-20 Jun 2025, Istanbul, Turkey. ACM (In Press)
Abstract
Regression testing assures software correctness after changes but is resource-intensive. Test Case Prioritisation (TCP) mitigates this by ordering tests to maximise early fault detection. Diversity-based TCP prioritises dissimilar tests, assuming they exercise different system parts and uncover more faults. Traditional static diversity-based TCP approaches (i.e., methods that utilise the dissimilarity of tests), like the state-of-the-art FAST approach, rely on textual diversity from test source code, which is effective but inefficient due to its relative verbosity and redundancies affecting similarity calculations. This paper is the first to study bytecode as the basis of diversity in TCP, leveraging its compactness for improved efficiency and accuracy. An empirical study on seven Defects4J projects shows that bytecode diversity improves fault detection by 2.3–7.8% over text-based TCP. It is also 2–3 orders of magnitude faster in one TCP approach and 2.5–6 times faster in FAST-based TCP. Filtering specific bytecode instructions improves efficiency up to fourfold while maintaining effectiveness, making bytecode diversity a superior static approach.
Metadata
Item Type: | Proceedings Paper |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | © 2025 The Author(s). |
Keywords: | Software and its engineering; Software testing and debugging; Empirical software validation |
Dates: |
|
Institution: | The University of Sheffield |
Academic Units: | The University of Sheffield > Faculty of Engineering (Sheffield) > Department of Computer Science (Sheffield) |
Depositing User: | Symplectic Sheffield |
Date Deposited: | 15 Aug 2025 08:02 |
Last Modified: | 15 Aug 2025 08:02 |
Status: | In Press |
Publisher: | ACM |
Refereed: | Yes |
Related URLs: | |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:230253 |
Available Versions of this Item
-
Empirically evaluating the use of bytecode for diversity-based test case prioritisation. (deposited 08 Aug 2025 16:08)
- Empirically evaluating the use of bytecode for diversity-based test case prioritisation. (deposited 15 Aug 2025 08:02) [Currently Displayed]
Download
Filename: elgendy2025b.pdf
