首页> 外文会议>International Conference on Technical Debt >The Delta Maintainability Model: Measuring Maintainability of Fine-Grained Code Changes
【24h】

The Delta Maintainability Model: Measuring Maintainability of Fine-Grained Code Changes

机译:Delta可维护性模型:测量细粒度代码变化的可维护性

获取原文

摘要

Existing maintainability models are used to identify technical debt of software systems. Targeting entire codebases, such models lack the ability to determine shortcomings of smaller, fine-grained changes. This paper proposes a new maintainability model - the Delta Maintainability Model (DMM) - to measure fine-grained code changes, such as commits, by adapting and extending the SIG Maintainability Model. DMM categorizes changed lines of code into low and high risk, and then uses the proportion of low risk change to calculate a delta score. The goal of the DMM is twofold: first, producing meaningful and actionable scores; second, compare and rank the maintainability of fine-grained modifications. We report on an initial study of the model, with the goal of understanding if the adapted measurements from the SIG Maintainability Model suit the fine-grained scope of the DMM. In a manual inspection process for 100 commits, 67 cases matched the expert judgment. Furthermore, we report an exploratory empirical study on a data set of DMM scores on 3,017 issue-fixing commits of four open source and four closed source systems. Results show that the scores of DMM can be used to compare and rank commits, providing developers with a means to do root cause analysis on activities that impacted maintainability and, thus, address technical debt at a finer granularity.
机译:现有的可维护性模型用于识别软件系统的技术债务。针对整个码布,这些模型缺乏确定较小细粒度变化的缺点的能力。本文提出了一种新的可维护性模型 - Delta可维护性模型(DMM) - 通过调整和扩展SIG可维护性模型来测量细粒度代码更改,例如提交。 DMM对更改的代码进行分类为低风险,然后使用低风险变化的比例来计算增量分数。 DMM的目标是双重:第一,生产有意义和可操作的分数;其次,比较和排列细粒度修饰的可维护性。我们报告了该模型的初步研究,目的是理解,如果SIG可维护性模型的适当测量适用于DMM的细粒度范围。在100个提交的手动检查过程中,67例符合专家判断。此外,我们在四个开源和四个闭合源系统的3,017个问题固定提交上报告了对DMM分数的数据集的探索性实证研究。结果表明,DMM的得分可用于比较和排名,为开发人员提供有关影响可维护性的活动的根本原因分析,从而解决了更精细粒度的技术债务。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号