主成分分析和聚类分析在软件重构中的应用
文献类型:期刊论文
作者 | 方晨 ; 杨叶 ; 伍书剑 |
刊名 | 计算机工程与设计
![]() |
出版日期 | 2009 |
卷号 | 30期号:2页码:365-369 |
关键词 | 主戍分分析 聚类分析 度量 重构 软件维护 principle component analysis cluster analysis metrics refactoring software maintenance |
ISSN号 | 1000-7024 |
其他题名 | application of principle component analysis and cluster analysis on software refactorings |
中文摘要 | 重构是软件系统不断演化的关键之一,也是一项复杂而又困难的活动.传统的定位重构代码方法依赖开发者的观察和主观意识,耗时耗力,尤其在重构代码较多时.因此,提出了一套自动化定位重构的方法.该方法利用基于面向对象软件度量指标获取代码特征信息,使用相关性检验查验特征信息数据,应用主成分分析压缩和解释特征信息,应用聚类分析分类相似代码段,迅速准确定位重构.一个简单的实例表明该方法是简单有效的,并且优于传统方法. |
收录类别 | wanfang,cscd |
语种 | 中文 |
公开日期 | 2010-08-23 |
附注 | Refactoring is one key issue during the software evolution, and is a complex and difficult task. The traditional method of locating refactorings mostly relies on observations and subjective perceptions, which is time consuming and effort wasting, especially when the number of codes needing refactoring is very large. Therefore an automatic method of locating refactorings is proposed. Using object-oriented metrics to collect the feature information of codes, using correlation test to check the feature information data, applying principle component analysis to compress and explain the feature information, applying cluster analysis to classify similar code segment, it located refactorings quickly and accurately. A simple case demonstrates that the method is simple and efficient, and outperforms the conventional method. |
源URL | [http://124.16.136.157/handle/311060/3912] ![]() |
专题 | 软件研究所_互联网软件技术实验室 _期刊论文 |
推荐引用方式 GB/T 7714 | 方晨,杨叶,伍书剑. 主成分分析和聚类分析在软件重构中的应用[J]. 计算机工程与设计,2009,30(2):365-369. |
APA | 方晨,杨叶,&伍书剑.(2009).主成分分析和聚类分析在软件重构中的应用.计算机工程与设计,30(2),365-369. |
MLA | 方晨,et al."主成分分析和聚类分析在软件重构中的应用".计算机工程与设计 30.2(2009):365-369. |
入库方式: OAI收割
来源:软件研究所
浏览0
下载0
收藏0
其他版本
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。