中文

软件代码质量度量:来自度量分布的含义

软件工程 2024-01-17 v4

摘要

软件代码质量是一个具有三个维度的构念:可维护性、可靠性和功能性。尽管许多企业已在其运营中引入代码质量度量,对这些度量的评估仍缺乏一致标准。我们将不同度量分为两类:1)对代码质量具有一致影响的单调度量;2)与代码质量缺乏一致关系的非单调度量。为一致地评估它们,我们提出了一种基于分布的方法以获得度量分数。我们的实证分析包含 36,460 个高质量开源软件(OSS)仓库及其来自 SonarQube 与 CK 的原始度量。评估分数对软件采纳表现出良好的可解释性。我们的工作有助于代码质量的多维构念及其度量测量,为单调与非单调度量的一致测量提供了实践启示。

关键词

引用

@article{arxiv.2307.12082,
  title  = {Software Code Quality Measurement: Implications from Metric Distributions},
  author = {Siyuan Jin and Mianmian Zhang and Yekai Guo and Yuejiang He and Ziyuan Li and Bichao Chen and Bing Zhu and Yong Xia},
  journal= {arXiv preprint arXiv:2307.12082},
  year   = {2024}
}

备注

The paper has been accepted for presentation at IEEE QRS 2023. Unfortunately, due to authorship limits, Mianmian Zhang, Yekai Guo, and Yuejiang He could not be included as co-authors. However, we gratefully acknowledge their valuable contributions to this work and use this arXiv version to prove their contributions