摘要
重复代码是程序中最常见的“坏味道”,也是导致软件维护费用高昂的原因之一。关于重复代码的重构技术已经研究了很多年了.该文主要对重复代码检测技术的国内外研究现状进行分析和比较、指出了它们的优缺点,并在此基础上展望了其以后的发展趋势。
Duplicated code is the very common "bad smell", and it is also one of the causes of high maintenance cost. Decades before, researchers began to carry out refactoring research based on duplicated code. This article not only analyses and compares the current research upon duplicated code in China and abroad, but also points out their advantages and drawbacks, moreover, it forecasts the future work.
作者
易长安
YI Chang-an (Computer Department, Zengcheng College of South China Normal University, Guangzh,ou 511363, China)
出处
《电脑知识与技术》
2009年第8期6229-6230,6237,共3页
Computer Knowledge and Technology
关键词
重构
重复代码
抽象语法树
程序依赖图
过程蓝图
refactoring
duplicated code
abstract syntax tree
program dependency graph
procedure blueprint