节点文献
类间结构型代码味道自动检测的研究
Automatic Approach to Detect Structural Smells Between Class
【摘要】 软件重构是改造软件遗留系统、软件重用的重要手段。代码味道用于描述软件设计缺陷,检测代码味道是软件重构的重要步骤。按照代码味道的特征给代码味道分类,对引发重构的主要缺陷――类之间结构型代码味道,给出了自动化检测的原理,设计和实现了一个检测工具。
【Abstract】 Refactoring is a key means to transform the legacy system and for software reuse.Code smells are used to describe design defect in software.To detect them is an important step of refactoring.This paper classifies the code smells by their characters and proposes a method to automatically detect one of the type-structural smells between classes.The design and the implementation of an automatic detect tool by using this method are introduced.
【关键词】 重构;
代码味道;
自动化检测;
LePUS;
设计模型;
形式化规则;
【Key words】 Refactoring; Code smells; Automatic detect; LePUS; Design model; Formal rule;
【Key words】 Refactoring; Code smells; Automatic detect; LePUS; Design model; Formal rule;
【基金】 国家自然科学基金资助项目(60173030)
- 【文献出处】 计算机工程 ,Computer Engineering , 编辑部邮箱 ,2007年07期
- 【分类号】TP311.111
- 【被引频次】9
- 【下载频次】106