Mining Variable-Method Correlation for Change Impact Analysis
Software change impact analysis (CIA) is a key technique to identify the potential ripple effects of the changes to software. Coarse-grained CIA techniques such as file, class and method level techniques often gain less precise change impacts, which are difficult for practical use. Fine-grained CIA...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
IEEE
2018-01-01
|
Series: | IEEE Access |
Subjects: | |
Online Access: | https://ieeexplore.ieee.org/document/8548542/ |
id |
doaj-dc0986868e1b496e8aaabc5ba2ad4448 |
---|---|
record_format |
Article |
spelling |
doaj-dc0986868e1b496e8aaabc5ba2ad44482021-03-29T21:29:48ZengIEEEIEEE Access2169-35362018-01-016775817759510.1109/ACCESS.2018.28835338548542Mining Variable-Method Correlation for Change Impact AnalysisChunling Hu0https://orcid.org/0000-0002-1601-5413Bixin Li1https://orcid.org/0000-0001-9916-4790Xiaobing Sun2Department of Computer Science and Technology, Hefei University, Hefei, ChinaSchool of Computer Science and Engineering, Southeast University, Nanjing, ChinaSchool of Computer Science and Engineering, Southeast University, Nanjing, ChinaSoftware change impact analysis (CIA) is a key technique to identify the potential ripple effects of the changes to software. Coarse-grained CIA techniques such as file, class and method level techniques often gain less precise change impacts, which are difficult for practical use. Fine-grained CIA techniques, such as slicing, can be used to gain more precise change impacts, but need more time and space cost. In this paper, by combining the features of the coarse-grained technique and the fine-grained technique, a variable-method (VM) correlation-based CIA technique called VM-CIA is proposed to improve the precision of static CIA. First, the VM-CIA technique uses the abstract syntax tree (AST) of program to construct a novel intermediate representation called variable and method triple (VMT), which is used to analyze the correlation between the variables and methods. Second, the VM-CIA technique proposes the single-change impact analysis algorithm and multi-change impact analysis algorithm to compute the impact set based on the VMT representation. In addition, the VM-CIA technique can get a sorted impact set which is more accurate than the existing CIA techniques. The empirical results show that the VM-CIA technique can greatly improve the precision (19%) over traditional the CIA techniques, while at the cost of a little recall (5%). Moreover, the empirical studies also show that the VM-CIA technique predicts a ranked list of potential impact results according to the distance measure, which can greatly facilitate the practical use.https://ieeexplore.ieee.org/document/8548542/Change impact analysisvariable-method correlationvariable and method tripleimpact propagationcall graphimpact set |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Chunling Hu Bixin Li Xiaobing Sun |
spellingShingle |
Chunling Hu Bixin Li Xiaobing Sun Mining Variable-Method Correlation for Change Impact Analysis IEEE Access Change impact analysis variable-method correlation variable and method triple impact propagation call graph impact set |
author_facet |
Chunling Hu Bixin Li Xiaobing Sun |
author_sort |
Chunling Hu |
title |
Mining Variable-Method Correlation for Change Impact Analysis |
title_short |
Mining Variable-Method Correlation for Change Impact Analysis |
title_full |
Mining Variable-Method Correlation for Change Impact Analysis |
title_fullStr |
Mining Variable-Method Correlation for Change Impact Analysis |
title_full_unstemmed |
Mining Variable-Method Correlation for Change Impact Analysis |
title_sort |
mining variable-method correlation for change impact analysis |
publisher |
IEEE |
series |
IEEE Access |
issn |
2169-3536 |
publishDate |
2018-01-01 |
description |
Software change impact analysis (CIA) is a key technique to identify the potential ripple effects of the changes to software. Coarse-grained CIA techniques such as file, class and method level techniques often gain less precise change impacts, which are difficult for practical use. Fine-grained CIA techniques, such as slicing, can be used to gain more precise change impacts, but need more time and space cost. In this paper, by combining the features of the coarse-grained technique and the fine-grained technique, a variable-method (VM) correlation-based CIA technique called VM-CIA is proposed to improve the precision of static CIA. First, the VM-CIA technique uses the abstract syntax tree (AST) of program to construct a novel intermediate representation called variable and method triple (VMT), which is used to analyze the correlation between the variables and methods. Second, the VM-CIA technique proposes the single-change impact analysis algorithm and multi-change impact analysis algorithm to compute the impact set based on the VMT representation. In addition, the VM-CIA technique can get a sorted impact set which is more accurate than the existing CIA techniques. The empirical results show that the VM-CIA technique can greatly improve the precision (19%) over traditional the CIA techniques, while at the cost of a little recall (5%). Moreover, the empirical studies also show that the VM-CIA technique predicts a ranked list of potential impact results according to the distance measure, which can greatly facilitate the practical use. |
topic |
Change impact analysis variable-method correlation variable and method triple impact propagation call graph impact set |
url |
https://ieeexplore.ieee.org/document/8548542/ |
work_keys_str_mv |
AT chunlinghu miningvariablemethodcorrelationforchangeimpactanalysis AT bixinli miningvariablemethodcorrelationforchangeimpactanalysis AT xiaobingsun miningvariablemethodcorrelationforchangeimpactanalysis |
_version_ |
1724192928510771200 |