跳到主要导航 跳到搜索 跳到主要内容

Scheduling of conflicting refactorings to promote quality improvement

  • Hui Liu
  • , Ge Li*
  • , Zhiyi Ma
  • , Weizhong Shao
  • *此作品的通讯作者
  • Peking University

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

Software refactoring is to restructure object-oriented software to improve its quality, especially extensibility, reusability and maintainability while preserving its external behaviors. For a special software system, there are usually quite a few refactorings available at the same time. But these refactorings may conflict with each other. In other words, carrying out a refactoring may disable other refactorings. Consequently, only a subset of the available refactorings can be applied together, and which refactorings will be applied depends on the schedule (application order) of the refactorings. Furthermore, carrying out different subsets of the refactorings usually leads to different improvement of software quality. As a result, in order to promote the improvement of software quality, refactorings should be scheduled rationally. However, how to schedule refactorings is rarely discussed. Usually, software engineers carry out refactorings immediately when they are found out. They do not wait until all applicable refactorings are found out and scheduled. In other words, the refactorings are not scheduled explicitly, and conflicts among them are not taken into consideration. Though more and more refactorings are formalized and automated by refactoring tools, refactoring tools apply refactorings usually in a nondeterministic fashion (in random). In this paper, we propose a scheduling approach to schedule conflicting refactorings to promote the improvement of software quality achieved by refactorings. Conflicts among refactorings are detected, and then a scheduling model is presented. And then a heuristic algorithm is proposed to solve the scheduling model. Results of experiments suggest that the proposed scheduling approach is effective in promoting the improvement of software quality.

源语言英语
主期刊名ASE'07 - 2007 ACM/IEEE International Conference on Automated Software Engineering
出版商Association for Computing Machinery (ACM)
页489-492
页数4
ISBN(印刷版)9781595938824
DOI
出版状态已出版 - 2007
已对外发布是
活动22nd IEEE/ACM International Conference on Automated Software Engineering, ASE 2007 - Atlanta, GA, 美国
期限: 5 11月 2007 → 9 11月 2007

丛书

姓名ASE'07 - 2007 ACM/IEEE International Conference on Automated Software Engineering

会议

会议22nd IEEE/ACM International Conference on Automated Software Engineering, ASE 2007
国家/地区美国
市Atlanta, GA
时期5/11/07 → 9/11/07

学术指纹

探究 'Scheduling of conflicting refactorings to promote quality improvement' 的科研主题。它们共同构成独一无二的学术指纹。

引用此