首页> 外文会议>International Conference on Computational Science and Its Applications >A Hands-on OpenStack Code Refactoring Experience Report
【24h】

A Hands-on OpenStack Code Refactoring Experience Report

机译:实践OpenStack代码重构经验报告

获取原文

摘要

Nowadays, almost everyone uses some kind of cloud infrastructure. As clouds gaining more and more attention, it is now even more important to have stable and reliable cloud systems. Along with stability and reliability comes source code maintainability. Unfortunately, maintainability has no exact definition, there are several definitions both from users' and developers' perspective. In this paper, we analyzed two projects of OpenStack, the world's leading open-source cloud system, using QualityGate, a static software analyzer which can help to determine the maintainability of software. During the analysis we found quality issues that could be fixed by refactoring the code. We have created 47 patches in this two OpenStack projects. We have also analyzed our patches with QualityGate to see whether they increase the maintainability of the system. We found that a single refactoring has a barely noticeable effect on the maintainability of the software, what is more, it can even decrease maintainability. But if we do refactorings regularly, their cumulative effect will probably increase the quality in the mid and long-term. We also experienced that our refactoring commits were very appreciated by the open-source community.
机译:如今,几乎每个人都使用某种云基础架构。随着云越来越受到越来越多的关注,现在具有稳定可靠的云系统更为重要。随着稳定性和可靠性来源代码可维护性。不幸的是,可维护性没有确切的定义,有几种来自用户和开发人员的角度的定义。在本文中,我们分析了世界领先的开源云系统的两个OpenStack项目,使用QualityGate,静态软件分析仪,可以帮助确定软件的可维护性。在分析过程中,我们发现可以通过重构代码来解决的质量问题。我们在这两个OpenStack项目中创建了47个补丁。我们还通过Quaresgate分析了我们的补丁,以了解它们是否增加了系统的可维护性。我们发现单一重构对软件的可维护性具有几乎明显的效果,更重要的是,它甚至可以降低可维护性。但如果我们经常进行重构,他们的累计效果可能会在中期和长期内提高质量。我们还经历了我们的重构犯罪,由开源社区非常赞赏。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号