Inferring Refactoring Intention from Test Case Modification

Yuan Gao, Hui Liu*, Xiao Zhong Fan, Zhen Dong Niu

*此作品的通讯作者

科研成果: 期刊稿件文章同行评审

2 引用 (Scopus)

摘要

Existing tools/methods are used to infer refactoring according to production code change in traditional development mode. In the test-driven development (TDD), there are few tools can be used to guide test driven refactoring. In this paper, an approach was proposed to inferring refactoring intension from test case modifications. Firstly, the test code modification was captured with a monitor, and then the potential refactoring was inferred from the captured modification according to predefined heuristics. The proposed approach has been implemented and evaluated with two real applications. Evaluation results show that compared with existing approach the precision increases by 15% and the recall increases by 33.3%~42.8%.

源语言英语
页(从-至)537-543
页数7
期刊Beijing Ligong Daxue Xuebao/Transaction of Beijing Institute of Technology
37
5
DOI
出版状态已出版 - 1 5月 2017

指纹

探究 'Inferring Refactoring Intention from Test Case Modification' 的科研主题。它们共同构成独一无二的指纹。

引用此