摘要
软件重构的自动检测是目前软件重构领域的一个研究热点.目前,多重软件重构的自动检测方法能够检测出在不同软件版本的不同位置上实施的多重重构操作,但是对发生在不同软件版本的相同位置上的多重重构操作则无能为力.为此,该文提出了一种在函数级别,利用函数调用图,实现基于多版本的多重软件重构的自动检测方法.该方法能够自动检测出在不同软件版本中的同一个函数上发生的"函数抽取"和"函数重命名"多重重构操作.同时,通过实验验证了该方法的有效性.
Automatic detection of software refactoring is one of hot topics in the field of software refactoring.The current technology of automatic detection of software refactoring can detect multi-software refactoring happened at different locations in different software versions and is short of the ability to detect it at the same location in different software versions.In the paper,an automatic detection technology based on call graph is proposed at the level of method,which can automatically detect themulti-software refactoring including"extract method"and"rename method"in the same function in different software versions.Also,the effectiveness of the proposed technology is realized by the experiments.
作者
钟林辉
黄小明
薛良波
叶海涛
ZHONG Linhui;HUANG Xiaoming;XUE Liangbo;YE Haitao(College of Computer and Information Engineering,Jiangxi Normal University,Nanchang Jiangxi 330022,China)
出处
《江西师范大学学报(自然科学版)》
CAS
北大核心
2018年第5期464-469,472,共7页
Journal of Jiangxi Normal University(Natural Science Edition)
基金
国家自然科学基金(61462040
61662032
61262015
61762049)
江西省自然科学基金(20142BAB207027
20171BAB202013)
江西省教育厅科学技术(GJJ170207)资助项目
关键词
软件重构
软件版本
函数抽取
函数重命名
software refactoring
software version
extract method
rename method