表征科学软件中代码审查评论的有用性以提高软件质量和科学严谨性
Characterizing the Usefulness of Code Review Comments in Scientific Software for Software Quality and Scientific Rigor
AI总结:
本文研究科学开源软件中代码审查评论的有用性,发现其与通用软件有相似特征,但部分评论无用,且正负情绪反应相关性不一。
摘要:
背景:科学软件的创新依赖于其正确性和影响力,有用的代码审查反馈(CR评论)能够提升这些方面。然而,与通用商业和开源软件不同,科学开源软件(Sci-OSS)中CR评论的有用性仍鲜有研究。目的:本文旨在通过现有关于有用CR评论的研究,表征Sci-OSS中CR评论的有用性。方法:为了实现这一目标,我们从GitHub中挖掘成功的Sci-OSS,分析其CR评论的相关特征,并将结果与之前对通用软件CR评论的研究进行比较。结果:对Sci-OSS中CR评论有用性的调查确认了许多之前在通用软件中发现的特征。例如,主观或负面的CR评论在Sci-OSS中仍然不具用处。我们还发现,收到负面表情符号反应的CR评论与不具用处的评论之间的相关性非常小,而正面表情符号则表现出混合的相关性。重要的是,在我们挖掘的仓库中,6-33%的CR评论不具用处。结论:对Sci-OSS的调查扩展了关于通用软件CR评论有用性研究的发现,为Sci-OSS社区的开发者、科学家和研究人员带来了益处。
英文摘要:
Context: Innovation thrives on scientific software, with useful code review feedback enhancing its correctness and impact. However, unlike general-purpose commercial and open-source software, the usefulness of code review feedback (CR comment) in scientific software remains largely unstudied. Objective: This paper aims to characterize the usefulness of CR comment in scientific opens ource software (Sci-OSS), leveraging existing research on useful CR comment. Method: To achieve this objective, we mine successful Sci-OSS from GitHub, analyze their CR comments with usefulness related features, and compare the findings from prior research on general-purpose commercial and open-source CR comments. Results: The investigation on the usefulness of CR comments in SciOSS confirms many characteristics that prior research identified in general-purpose software. For example, subjective or negative CR comments remain not useful for the Sci-OSS. We also find CR comments which receive negative emoji reactions have a very small correlation with not useful comments, whereas the positive emojis show mixed correlations. Importantly, 6-33% CR comments in Sci-OSS are not useful in our mined repositories. Conclusions: Our investigation into Sci-OSS extends findings from CR comments' usefulness research on general-purpose software, benefiting developers, scientists, and researchers in the Sci-OSS community.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。