首页> 外文会议>IEEE International Conference on Software Maintenance >Search-based refactoring: Towards semantics preservation
【24h】

Search-based refactoring: Towards semantics preservation

机译:基于搜索的重构:迈向语义保存

获取原文

摘要

Refactoring restructures a program to improve its structure without altering its behavior. However, it is challenging to preserve the domain semantics of a program when refactoring is decided/implemented automatically. Indeed, a program could be syntactically correct, have the right behavior, but model incorrectly the domain semantics. In this paper, we propose a multi-objective optimization approach to find the best sequence of refactorings that maximizes quality improvements (program structure) and minimizes semantic errors. To this end, we use the non-dominated sorting genetic algorithm (NSGA-II) to find the best compromise between these two conflicting objectives. We report the results of our experiments on different open source projects.
机译:重构重组一个程序以改善其结构而不改变其行为。但是,在自动决定/实现重构时保存程序的域语义是挑战。实际上,程序可以在语法上正确,具有正确的行为,但模型不正确地域语义。在本文中,我们提出了一种多目标优化方法来找到最佳的重构顺序,最大化质量改进(程序结构)并最大限度地减少语义误差。为此,我们使用非主导的排序遗传算法(NSGA-II)来找到这两个冲突目标之间的最佳折衷。我们在不同开源项目上报告了我们的实验结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号