arrow
Return

Search-based detection of code changes introducing performance regression

delete2022-08-01
delete4
PRE
AI
D
Deema Alshoaibi *
M
Mohamed Wiem Mkaouer
A
Ali Ouni
A
AbdulMutalib Wahaishi
M
Makram Soui
DOI:10.1016/j.swevo.2022.101101delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
In contemporary software development, developers commonly conduct regression testing to ensure that code changes do not affect software quality. Conducting performance regression testing after every code change is known to be expensive which emigres the need to direct the performance regression testing efforts on code changes that are most likely introducing performance regression. In this paper, we exploit code change metrics to identify the group introducing the regression based on a pre-trained detection rule. We present PRICE approach as a new formulation of detecting code changes introducing performance regression as an optimization problem using multi-objective evolutionary algorithms. PRICE evaluated using a set of 8000 commits, extracted from the Git project. Results show the effectiveness of our approach in accurately detecting performance regression introducing code changes. The average regression detection PRICE provides is 77% which is 22% more than the state-of-the-art deterministic approach. This improvement didn't compromise the detection of the contradicted code changes that are not introducing a regression. PRICE provides detection of code changes not introducing a regression averaged 63%, which is also an improvement of 14% than the comparative approach. Using PRICE, we were able to explore new search spaces and provide competing results.
Keywords:
Performance regression
Multi-objective optimization
Software testing
Software quality

Journal

Swarm and Evolutionary Computation cover
Swarm and Evolutionary Computation
IF:
8.5
Papers:
2.1K
Citations:
1.0W

Organization

R
Rochester Institute of Technology
Scholars:
3.7K
Papers: 3.3K
Citations: 45
U
university of quebec
Scholars:
2.0W
Papers: 1.9W
Citations: 19
U
university of quebec montreal
Scholars:
3.9K
Papers: 3.5K
Citations: 7
researcher View more organizations