首页> 外文期刊>The Journal of Systems and Software >Empirical study on refactoring large-scale industrial systems and its effects on maintainability
【24h】

Empirical study on refactoring large-scale industrial systems and its effects on maintainability

机译:大规模工业系统重构及其对可维护性影响的实证研究

获取原文
获取原文并翻译 | 示例
       

摘要

Software evolves continuously, it gets modified, enhanced, and new requirements always arise. If we do not spend time occasionally on improving our source code, its maintainability will inevitably decrease. The literature tells us that we can improve the maintainability of a software system by regularly refactoring it. But does refactoring really increase software maintainability? Can it happen that refactoring decreases the maintainability? Empirical studies show contradicting answers to these questions and there have been only a few studies which were performed in a large-scale, industrial context. In our paper, we assess these questions in an in vivo context, where we analyzed the source code and measured the maintainability of 6 large-scale, proprietary software systems in their manual refactoring phase. We analyzed 2.5 million lines of code and studied the effects on maintainability of 315 refactoring commits which fixed 1273 coding issues. We found that single refactorings only make a very little difference (sometimes even decrease maintainability), but a whole refactoring period, in general, can significantly increase maintainability, which can result not only in the local, but also in the global improvement of the code.
机译:软件不断发展,不断修改,增强,并不断出现新的要求。如果我们不花时间在改善源代码上,那么其可维护性将不可避免地下降。文献告诉我们,我们可以通过定期进行重构来提高软件系统的可维护性。但是重构真的会增加软件的可维护性吗?重构会降低可维护性吗?实证研究表明,这些问题的答案相互矛盾,只有很少的研究是在大规模的工业环境中进行的。在我们的论文中,我们在体内环境中评估了这些问题,我们在其中分析了源代码并测量了6个大型专有软件系统在其手动重构阶段的可维护性。我们分析了250万行代码,并研究了315个重构提交的可维护性,这些问题修复了1273个编码问题。我们发现,单个重构只会产生很小的差异(有时甚至会降低可维护性),但是整个重构周期通常可以显着提高可维护性,这不仅会导致代码本地化,还会导致代码的整体改进。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号