Self-admitted technical debt in R: detection and causes
| dc.contributor.author | Sharma, Rishab | |
| dc.contributor.author | Shahbazi, Ramin | |
| dc.contributor.author | Fard, Fatemeh H. | |
| dc.contributor.author | Codabux, Zadia | |
| dc.contributor.author | Vidoni, Melina | |
| dc.date.accessioned | 2023-12-04T00:36:28Z | |
| dc.date.available | 2023-12-04T00:36:28Z | |
| dc.date.issued | 2022-08-25 | |
| dc.date.updated | 2022-08-28T10:05:37Z | |
| dc.description.abstract | Self-Admitted Technical Debt (SATD) is primarily studied in Object-Oriented (OO) languages and traditionally commercial software. However, scientifc software coded in dynamically-typed languages such as R difers in paradigm, and the source code comments’ semantics are diferent (i.e., more aligned with algorithms and statistics when compared to traditional software). Additionally, many Software Engineering topics are understudied in scientifc software development, with SATD detection remaining a challenge for this domain. This gap adds complexity since prior works determined SATD in scientifc software does not adjust to many of the keywords identifed for OO SATD, possibly hindering its automated detection. Therefore, we investigated how classifcation models (traditional machine learning, deep neural networks, and deep neural Pre-Trained Language Models (PTMs)) automatically detect SATD in R packages. This study aims to study the capabilities of these models to classify diferent TD types in this domain and manually analyze the causes of each in a representative sample. Our results show that PTMs (i.e., RoBERTa) outperform other models and work well when the number of comments labelled as a particular SATD type has low occurrences. We also found that some SATD types are more challenging to detect. We manually identifed sixteen causes, including eight new causes detected by our study. The most common cause was failure to remember, in agreement with previous studies. These fndings will help the R package authors automatically identify SATD in their source code and improve their code quality. In the future, checklists for R developers can also be developed by scientifc communities such as rOpenSci to guarantee a higher quality of packages before submission | en_AU |
| dc.description.sponsorship | This study is partly supported by the Natural Sciences and Engineering Research Council of Canada, RGPIN-2021-04232 and DGECR-2021-00283 at the University of Saskatchewan, and RGPIN-2019-05175 at the University of British Columbia. Open Access funding enabled and organized by CAUL and its Member Institutions. | en_AU |
| dc.format.mimetype | application/pdf | en_AU |
| dc.identifier.issn | 1573-7535 | en_AU |
| dc.identifier.uri | http://hdl.handle.net/1885/307635 | |
| dc.language.iso | en_AU | en_AU |
| dc.provenance | This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licen ses/by/4.0/. | en_AU |
| dc.publisher | Springer US | en_AU |
| dc.rights | © The Author(s) 2022 | en_AU |
| dc.rights.license | Creative Commons Attribution 4.0 International License | en_AU |
| dc.rights.uri | https://creativecommons.org/licenses/by/4.0/ | en_AU |
| dc.source | Automated Software Engineering | en_AU |
| dc.subject | Self-admitted technical debt | en_AU |
| dc.subject | R packages | en_AU |
| dc.subject | Machine learning | en_AU |
| dc.subject | Deep learning | en_AU |
| dc.subject | Deep neural pre-trained language models | en_AU |
| dc.title | Self-admitted technical debt in R: detection and causes | en_AU |
| dc.type | Journal article | en_AU |
| dcterms.accessRights | Open Access | en_AU |
| local.bibliographicCitation.issue | 2 | en_AU |
| local.bibliographicCitation.lastpage | 41 | en_AU |
| local.bibliographicCitation.startpage | 1 | en_AU |
| local.contributor.affiliation | Vidoni, Melina, CECS School of Computing, The Australian National University | en_AU |
| local.description.notes | Imported from Springer Nature | en_AU |
| local.identifier.ariespublication | u1118090xPUB9 | |
| local.identifier.citationvolume | 29 | en_AU |
| local.identifier.doi | 10.1007/s10515-022-00358-6 | en_AU |
| local.publisher.url | https://link.springer.com/ | en_AU |
| local.type.status | Published Version | en_AU |
Downloads
Original bundle
1 - 1 of 1
Loading...
- Name:
- s10515-022-00358-6.pdf
- Size:
- 1.28 MB
- Format:
- Adobe Portable Document Format
- Description: