Context: Technical Debt is a metaphor used to describe code that is "not quite right." Although TD studies have gained momentum, TD has yet to be studied as thoroughly in non-Object-Oriented (OO) or scientific software such as R. R is a multi-paradigm programming language, whose popularity in data science and statistical applications has amplified in recent years. Due to R's inherent ability to expand through user-contributed packages, several community-led organizations were created to organize and peer-review packages in a concerted effort to increase their quality. Nonetheless, it is well-known that most R users do not have a technical programming background, being from multiple disciplines. Objective: The goal of this study is to investigate TD in the peer-review documentation of R packages led by rOpenSci. Method: We collected over 5000 comments from 157 packages that had been reviewed and approved to be published at rOpenSci. We manually analyzed a sample dataset of these comments posted by package authors, editors of rOpenSci, and reviewers during the review process to investigate the TD types present in these reviews. Results: The findings of our study include (i) a taxonomy of TD derived from our analysis of the peer-reviews (ii) documentation debt as being the most prevalent type of debt (iii) different user roles are concerned with different types of TD. For instance, reviewers tend to report some TD types more than other roles, and the TD types they report are different from those reported by the authors of a package. Conclusion: TD analysis in scientific software or peer-review is almost non-existent. Our study is a pioneer but within the context of R packages. However, our findings can serve as a starting point for replication studies, given our public datasets, to perform similar analyses in other scientific software or to investigate the rationale behind our findings.
翻译:技术债务是一种隐喻,用来描述“不完全正确”的代码。尽管TD研究已经获得了势头,但大多数R用户并没有技术编程背景,而是来自多个学科。 目标:这项研究的目的是调查R.R.等科学软件的同行审议文件中的TD,R.R. R. 方法:我们收集了157个已审查和批准在RopenSci出版的软件包中的5000多份评论。由于R通过用户贡献的软件包扩展的内在能力,我们创建了几个社区牵头的组织,以组织和同行审议软件包,共同努力提高质量。然而,众所周知,大多数R用户没有技术编程背景,来自多个学科。 目标:这项研究的目标是调查R OpenSci 的RPetrical-审查文件库中的TD。 我们的同行审议文件集包括(i)我们目前不同版本的版本的同行审议报告,而我们目前版本的债务可持续性分析则包括(i)其他版本的债务可持续性分析。