Overlap‐aware rapid type analysis for constructing one‐to‐one matched call graphs in regression test selection
Open Access
- 1 August 2020
- journal article
- research article
- Published by Institution of Engineering and Technology (IET) in IET Software
- Vol. 14 (4) , 423-432
Abstract
Regression testing is an important but costly activity for verifying a programme with the changed code. Regression test selection (RTS) aims to reduce this cost by selecting only the test cases affected by the changes. Among the several ways of selecting such affected test cases, call graphs have been statically constructed to select the test cases at the method‐level granularity. However, RTS techniques will reduce the cost of regression testing less than expected unless the call graphs are efficiently one‐to‐one matched with the test cases. In this study, the authors propose overlap‐aware rapid type analysis (ORTA). ORTA is designed to minimise the redundant cost of creating the matched call graphs using rapid type analysis (RTA). The one‐to‐one matching and ORTA were evaluated on 1487 commits selected from 30 Java projects. RTA‐based RTS with the one‐to‐one matching selected 46.90% fewer test cases with 2.76% longer end‐to‐end time of regression testing than without the one‐to‐one matching. The time increased with the one‐to‐one matching was reduced by 22.58% when ORTA substituted for RTA. ORTA achieved the cost reduction while removing 82.77% of the duplicate edges that RTA created on 993 commits.Keywords
This publication has 35 references indexed in Scilit:
- Averroes: Whole-Program Analysis without the Whole Program2013
- Regression testing minimization, selection and prioritization: a surveySoftware Testing, Verification and Reliability, 2012
- Regression testing minimization, selection and prioritization: a surveySoftware Testing, Verification and Reliability, 2012
- Application-Only Call Graph Construction2012
- IDE Dataflow Analysis in the Presence of Large Object-Oriented Libraries2008
- A comparative study of coarse- and fine-grained safe regression test-selection techniquesACM Transactions on Software Engineering and Methodology, 2001
- Optimization of Object-Oriented Programs Using Static Class Hierarchy Analysis2000
- Inlining of Virtual MethodsLecture Notes in Computer Science, 1999
- Improving the software reusability in object-oriented programmingACM SIGSOFT Software Engineering Notes, 1993
- A Decomposition Theorem for Partially Ordered SetsAnnals of Mathematics, 1950