paperbot · PL 论文追踪

全部论文 待读 收藏

P2 EvaCRC: Evaluating Code Review Comments

EvaCRC:评估代码审查评论
FSE Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2023匹配度 2/10 · 论文关注代码审查评论质量的自动评估,属于软件工程/开发工具与机器学习的交叉,但未涉及静态分析、Agentic 程序、浮点程序分析或贝叶斯程序分析,与用户核心研究方向关联较弱。尽管其可解释概念模型和工业案例研究符合部分偏好,但研究主题本身不匹配。引用 23 inbox
Lanxin Yang, Jinwei Xu, Yifan Zhang, He Zhang, Alberto Bacchelli
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出可解释的概念模型与基于多标签学习的EvaCRC,用于自动评估代码审查评论质量并给出评级理由。

代码审查中开发者通过评论给出反馈,但评论质量缺乏公认评估方法。本文提出EvaCRC:先通过混合方法,三角验证权威代码审查标准与学术文献,收集并综合评论质量属性,再用真实实例验证,并请领域专家建立质量属性与等级的映射,形成可解释的概念模型;随后利用多标签学习实现评论的自动评估。为评估和改进EvaCRC,作者在一家全球ICT企业开展工业案例研究。结果表明,EvaCRC能有效评估审查评论,同时为所得等级提供理由,兼顾自动化与可解释性。

问题
代码审查评论对代码质量与协作至关重要,但现有研究尚无公认方法来评估评论质量,也缺乏可解释的自动化评估手段。
方法
通过混合方法三角验证权威文档与学术文献,归纳评论质量属性并经真实案例验证,再由专家建立属性到等级的映射;基于该概念模型,采用多标签学习构建EvaCRC自动评估模型。
评估
与全球ICT企业合作开展工业案例研究,评估并改进EvaCRC;结果显示其能有效评价评论并给出等级理由。
原文摘要(Abstract)

In code reviews, developers examine code changes authored by peers and provide feedback through comments. Despite the importance of these comments, no accepted approach currently exists for assessing their quality. Therefore, this study has two main objectives: (1) to devise a conceptual model for an explainable evaluation of review comment quality, and (2) to develop models for the automated evaluation of comments according to the conceptual model. To do so, we conduct mixed-method studies and propose a new approach: EvaCRC (Evaluating Code Review Comments). To achieve the first goal, we collect and synthesize quality attributes of review comments, by triangulating data from both authoritative documentation on code review standards and academic literature. We then validate these attributes using real-world instances. Finally, we establish mappings between quality attributes and grades by inquiring domain experts, thus defining our final explainable conceptual model. To achieve the second goal, EvaCRC leverages multi-label learning. To evaluate and refine EvaCRC, we conduct an industrial case study with a global ICT enterprise. The results indicate that EvaCRC can effectively evaluate review comments while offering reasons for the grades. Data and materials: https://doi.org/10.5281/zenodo.8297481

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{YangXZZB23,
  title = {EvaCRC: Evaluating Code Review Comments},
  author = {Lanxin Yang and Jinwei Xu and Yifan Zhang and He Zhang and Alberto Bacchelli},
  booktitle = {FSE},
  year = {2023},
  doi = {10.1145/3611643.3616245}
}