首页> 外文会议>IEEE/ACM International Workshop on Refactoring >Maximizing Refactoring Coverage in an Automated Maintenance Approach Using Multi-Objective Optimization
【24h】

Maximizing Refactoring Coverage in an Automated Maintenance Approach Using Multi-Objective Optimization

机译:使用多目标优化以自动维护方法最大限度地提高重构覆盖范围

获取原文

摘要

This paper describes a multi-objective genetic algorithm used to automate software refactoring. The approach is validated using a set of open source Java programs with a purpose built tool, MultiRefactor. The tool uses a metric function to measure quality in a software system and tests a second objective to measure the amount of code coverage of the applied refactorings by analyzing the code elements they have been applied to. The multi-objective setup will refactor the input program to improve its quality using the quality objective, while also maximizing the code coverage of the refactorings applied to the software. An experiment has been constructed to measure the multi-objective approach against the alternative mono-objective approach that does not use an objective to measure refactoring coverage. The two approaches are tested on six different open source Java programs. The multi-objective approach is found to give significantly better refactoring coverage scores across all inputs in a similar time, while also generating improvements in the quality scores.
机译:本文介绍了一种用于自动化软件重构的多目标遗传算法。使用带有目的内置工具的一组开源Java程序来验证该方法,MulteRefactor。该工具使用度量功能来测量软件系统中的质量,并测试第二个目标,以通过分析它们已应用的代码元素来测量所应用的重构的代码覆盖量。多目标设置将重构输入程序使用质量目标来提高其质量,同时还可以最大化应用于软件的重构的代码覆盖范围。建立了一个实验,以衡量不使用目标来衡量重构覆盖的替代单对象方法的多目标方法。这两种方法在六个不同的开源Java程序上进行了测试。发现多目标方法在类似的时间内给出了所有输入中的更好的重构覆盖率分数,同时也会产生质量评分的改进。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号