arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1705.11087cs.SE
收藏

要修复什么?区分自动化工具中的设计规则和非设计规则

What to Fix? Distinguishing between design and non-design rules in automated tools

Neil A. Ernst, Stephany Bellomo, Ipek Ozkaya, Robert L. Nord

摘要:

技术债务--为优化交付速度而采取的设计捷径--是长期软件成本的关键部分。因此,自动检测技术债务是软件从业者的高度优先事项。软件质量工具供应商已经通过定位他们的工具来检测和管理技术债务来响应这种需求。虽然这些工具捆绑了许多规则,但用户很难理解哪些规则标识了设计问题,而不是语法质量。这一点很重要,因为以前的研究表明,最重要的技术债务与设计问题有关。其他研究集中在比较开源项目中的这些工具,但这些比较没有考虑这些规则是否与设计相关。我们进行了一项实证研究,使用结构化的分类方法,手动分类466软件质量规则从三个行业工具-CAST,SonarQube,NDepend。我们发现,这些规则中的大多数很容易被标记为非设计(55%)或设计(19%)。其余的(26%)导致标签之间的分歧。我们的研究结果是第一步,正式定义的设计规则,以支持自动检测。

英文摘要:

Technical debt---design shortcuts taken to optimize for delivery speed---is a critical part of long-term software costs. Consequently, automatically detecting technical debt is a high priority for software practitioners. Software quality tool vendors have responded to this need by positioning their tools to detect and manage technical debt. While these tools bundle a number of rules, it is hard for users to understand which rules identify design issues, as opposed to syntactic quality. This is important, since previous studies have revealed the most significant technical debt is related to design issues. Other research has focused on comparing these tools on open source projects, but these comparisons have not looked at whether the rules were relevant to design. We conducted an empirical study using a structured categorization approach, and manually classify 466 software quality rules from three industry tools---CAST, SonarQube, and NDepend. We found that most of these rules were easily labeled as either not design (55%) or design (19%). The remainder (26%) resulted in disagreements among the labelers. Our results are a first step in formalizing a definition of a design rule, in order to support automatic detection.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑