Identifying extract class refactoring opportunities for internetware
Identifying extract class refactoring opportunities for internetware作者机构:State Key Laboratory for Novel Software TechnologyNanjing University Department of Computer Science and TechnologyNanjing University College of Computer Science and TechnologyNanjing University of Aeronautics and Astronautics School of Computer Science and EngineeringSoutheast University
出 版 物:《Science China(Information Sciences)》 (中国科学:信息科学(英文版))
年 卷 期:2014年第57卷第7期
页 面:37-54页
核心收录:
学科分类:08[工学] 0835[工学-软件工程] 081202[工学-计算机软件与理论] 0812[工学-计算机科学与技术(可授工学、理学学位)]
基 金:supported by National Natural Science Foundation of China (Grant Nos.61003020,61170071,61003156,61073029,61321491) Jiangsu Natural Science Foundation (Grant No.BK2011190)
主 题:refactoring extract class community structure software modularity internetware
摘 要:The quality of internetware software is significantly associated with class *** software evolves,changes often introduce many unrelated responsibilities to the same classes or distribute tightly-related methods in different *** changes make the classes difficult to understand and *** class refactoring is an effective technique to improve the quality of software structure by decomposing unrelated methods in one class to create new classes or extracting tightly-related methods from different *** this paper,we propose a novel approach for class extraction from internetware source *** approach leverages a community structure detection technique to partition software into clusters and extracts classes from the resulting *** experimental results,which investigate the public well-known internetware PKUAS,indicate that:(1)the proposed approach is much faster than existing search-based clustering approaches(Hillclimbing and Genetic algorithm)and is thus applicable for large-scale internetware;(2)the proposed approach can identify meaningful class extractions for internetware;and(3)Extract Class refactoring candidates identified by the proposed approach significantly improve class cohesion of internetware.