摘要
介绍了如何利用面向对象软件度量方法来识别代码味道,同时提出了以抽象语法树为中间表示形式来设计面向自动化重构的代码味道识别工具,并介绍了该识别工具各个模块的功能与特点。
This paper analysed the use of object- oriented software metrics methods to detect code smell, and brought forward design code smell detection tool based on Abstract Syntax Tree. Finally, described the function and attributes of the detection tool was briefly discussed.
出处
《株洲工学院学报》
2005年第6期53-56,共4页
Journal of Zhuzhou Institute of Technology
关键词
重构
代码味道
抽象语法树
度量
refactoring
code smell
abstract syntax tree
metrics