An Approach to Prioritize Classes in a Multi-objective Software Maintenance Framework

被引:1
作者
Mohan, Michael [1 ]
Greer, Des [1 ]
机构
[1] Queens Univ Belfast, Dept Elect Elect Engn & Comp Sci, Belfast, Antrim, North Ireland
来源
PROCEEDINGS OF THE 13TH INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING | 2018年
基金
英国工程与自然科学研究理事会;
关键词
Search based Software Engineering; Maintenance; Automated Refactoring; Refactoring Tools; Software Quality; Multi-objective Optimization; Genetic Algorithms;
D O I
10.5220/0006631902150222
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Genetic algorithms have become popular in automating software refactoring and an increasing level of attention is being given to the use of multi-objective approaches. This paper investigated the use of a multi-objective genetic algorithm to automate software refactoring using a purpose built tool, MultiRefactor. The tool used a metric function to measure quality in a software system and tested a second objective to measure the importance of the classes being refactored. This priority objective takes as input a set of classes to favor and, optionally, a set of classes to disfavor as well. The multi-objective setup refactors the input program to improve its quality using the quality objective, while also focusing on the classes specified by the user. An experiment was constructed to measure the multi-objective approach against the alternative mono-objective approach that does not use an objective to measure priority of classes. The two approaches were tested on six different open source Java programs. The multi-objective approach was found to give significantly better priority scores across all inputs in a similar time, while also generating improvements in the quality scores.
引用
收藏
页码:215 / 222
页数:8
相关论文
共 15 条
[11]  
Mohan M, 2017, 1 INT WORKSH MAN QUA
[12]   Technical debt reduction using search based automated refactoring [J].
Mohan, Michael ;
Greer, Des ;
McMullan, Paul .
JOURNAL OF SYSTEMS AND SOFTWARE, 2016, 120 :183-194
[13]  
Ouni A, 2012, 2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), P347, DOI 10.1109/ICSM.2012.6405292
[14]   Maintainability defects detection and correction: a multi-objective approach [J].
Ouni, Ali ;
Kessentini, Marouane ;
Sahraoui, Houari ;
Boukadoum, Mounir .
AUTOMATED SOFTWARE ENGINEERING, 2013, 20 (01) :47-79
[15]  
Wang H, 2015, INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND COMMUNICATION ENGINEERING (CSCE 2015), P353