Refining interprocedural change-impact analysis using equivalence relations
Refining interprocedural change-impact analysis using equivalence relations
复制标题
使用等价关系细化过程间变更影响分析
DOI:
10.1145/3092703.3092719
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
Partush, Nimrod
中科院分区:
文献类型:
--
作者:
Gyori, Alex;Lahiri, Shuvendu K.;Partush, Nimrod
Change-impact analysis (CIA) is the task of determining the set of program elements impacted by a program change. Precise CIA has great potential to avoid expensive testing and code reviews for (parts of) changes that are refactorings (semantics-preserving). However most statement-level CIA techniques suffer from imprecision as they do not incorporate the semantics of the change.We formalize change impact in terms of the trace semantics of two program versions. We show how to leverage equivalence relations to make dataflow-based CIA aware of the change semantics, thereby improving precision in the presence of semantics-preserving changes. We propose an anytime algorithm that applies costly equivalence-relation inference incrementally to refine the set of impacted statements. We implemented a prototype and evaluated it on 322 real-world changes from open-source projects and benchmark programs used by prior research. The evaluation results show an average 35% improvement in the number of impacted statements compared to prior dataflow-based techniques.
登录
查看更多内容
影响因子:
2
作者:
Sylvain Firer-Blaess;C. Fuchs
通讯作者:
Sylvain Firer-Blaess;C. Fuchs
DOI:
--
发表时间:
2016
期刊:
arXiv.org
影响因子:
--
作者:
A. Gyori;Shuvendu K. Lahiri;Nimrod Partush
通讯作者:
Nimrod Partush
DOI:
10.1007/978-3-642-35722-0_3
发表时间:
2013
期刊:
The Lancet
影响因子:
--
作者:
G. Barthe;Juan Manuel Crespo;César Kunz
通讯作者:
César Kunz
DOI:
10.1007/978-3-642-38856-9_14
发表时间:
2013
期刊:
Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation
影响因子:
--
作者:
Nimrod Partush;Eran Yahav
通讯作者:
Eran Yahav
DOI:
--
发表时间:
2013
期刊:
CADE
影响因子:
--
作者:
C. Hawblitzel;Ming Kawaguchi;Shuvendu K. Lahiri;Henrique Rebêlo
通讯作者:
Henrique Rebêlo