Search-Based Cost-Effective Software Remodularization

来源 :计算机科学技术学报(英文版) | 被引量 : 0次 | 上传用户:ecfan1
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Software modularization is a technique used to divide a software system into independent modules (packages) that are expected to be cohesive and loosely coupled.However,as software systems evolve over time to meet new requirements,their modularizations become complex and gradually loose their quality.Thus,it is challenging to automatically optimize the classes’ distribution in packages,also known as remodularization.To alleviate this issue,we introduce a new approach to optimize software modularization by moving classes to more suitable packages.In addition to improving design quality and preserving semantic coherence,our approach takes into consideration the refactoring effort as an objective in itself while optimizing software modularization.We adapt the Elitist Non-dominated Sorting Genetic Algorithm (NSGA-Ⅱ) of Deb et al.to find the best sequence of refactorings that 1) maximize structural quality,2) maximize semantic cohesiveness of packages (evaluated by a semantic measure based on WordNet),and 3) minimize the refactoring effort.We report the results of an evaluation of our approach using open-source projects,and we show that our proposal is able to produce a coherent and useful sequence of recommended refactorings both in terms of quality metrics and from the developer’s points of view.
其他文献
目的 研究多平面重建及仿真内窥镜对结肠新生物的诊断价值。方法 对 10例可疑结肠新生物患者行结肠不同气量充气后螺旋CT扫描。将CT容积扫描原始数据进行重建。再利用Navig
Mod software systems are subject to a continuous evolution under frequently varying requirements and changes in systems’ operational environments.Lehman’s law
“老李,别忘了给我占个位子。我一会儿去听课!”电话这边的老王着急地说。  “那你可得快来,晚了怕是真没地方了!”电话那边的老李提醒他说。  “好,我马上就去!”老王放下电话急忙穿上外套去找车。  看到这儿,很多人也许会问,这两人这是干什么呢?  他们是长白县宝泉山镇老保甲村和上二股流村的两个普通农民。他们和该镇其他村的农民朋友一样,一大早就忙活着今天听课的事儿。因为今天讲的是人参、五味子及中草药栽
期刊
患儿女,9岁.早晨起床后出现剧烈腹痛,呈阵发性,以左上腹为著.查体:腹平坦,腹肌软,左上腹压痛.实验室检查正常.
目的报告应用CT导引活检在四肢骨病变诊断中的方法和作用.方法对50例四肢骨病变行CT导引下活检.每例常规取样2~3次.对13例灶区或灶周硬化明显者应用了Ackmann骨钻针,对42例应
Sentiment analysis,a hot research topic,presents new challenges for understanding users’ opinions and judgments expressed online.They aim to classify the subje
泰山名列中华十大名山之首,自古就有五岳独尊的美誉,是世界自然与文化的双遗产。泰山所造就的赤鳞鱼是山中之奇品,可称泰山之宝。泰山赤鳞鱼,又称锦鳞鱼、螭霖鱼;属鲤科,鲅
目的 探讨系统分阶段教育模式对糖尿病慢性并发症的影响.方法 将200例2型糖尿病患者随机分为系统分阶段教育组(简称系统教育组)100例、随机教育组50例、未教育组50例.其中系
在国家级优秀旅游城市——江苏省南通市,有一个让人心动的地方,这就是南通经济开发区世外桃园休闲农庄。这个创办才6年,集渔业、旅游、观光、休闲为一体的产业,通过资源优化
目的 探讨非骨化性纤维瘤的影像学表现。方法 对经手术病理证实的 2 2例非骨化性纤维瘤的病理和影像学资料进行分析 ,其中男 12例 ,女 10例 ,年龄 10~ 35岁 ,平均 17岁。 2