An Experience Report on Technical Debt in Pull Requests: Challenges and Lessons Learned

Shubhashis Karmakar, Zadia Codabux, Melina Vidoni

    Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

    3 Citations (Scopus)

    Abstract

    Background: GitHub is a collaborative platform for global software development, where Pull Requests (PRs) are essential to bridge code changes with version control. However, developers often trade software quality for faster implementation, incurring Technical Debt (TD). When developers undertake reviewers' roles and evaluate PRs, they can often detect TD instances, leading to either PR rejection or discussions. Aims: We investigated whether Pull Request Comments (PRCs) indicate TD by assessing three large-scale repositories: Spark, Kafka, and React. Method: We combined manual classification with automated detection using machine learning and deep learning models. Results: We classified two datasets and found that 37.7 and 38.7% of PRCs indicate TD, respectively. Our best model achieved F 1 = 0.85 when classifying TD during the validation phase. Conclusions: We faced several challenges during this process, which may hint that TD in PRCs is discussed differently from other software artifacts (e.g., code comments, commits, issues, or discussion forums). Thus, we present challenges and lessons learned to assist researchers in pursuing this area of research.

    Original languageEnglish
    Title of host publicationProceedings of the 16th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, ESEM 2022
    EditorsFernanda Madeiral, Casper Lassenius, Casper Lassenius, Tayana Conte, Tomi Mannisto
    PublisherIEEE Computer Society
    Pages295-300
    Number of pages6
    ISBN (Electronic)9781450394277
    DOIs
    Publication statusPublished - 19 Sept 2022
    Event16th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, ESEM 2022 - Helsinki, Finland
    Duration: 18 Sept 202223 Sept 2022

    Publication series

    NameInternational Symposium on Empirical Software Engineering and Measurement
    ISSN (Print)1949-3770
    ISSN (Electronic)1949-3789

    Conference

    Conference16th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, ESEM 2022
    Country/TerritoryFinland
    CityHelsinki
    Period18/09/2223/09/22

    Fingerprint

    Dive into the research topics of 'An Experience Report on Technical Debt in Pull Requests: Challenges and Lessons Learned'. Together they form a unique fingerprint.

    Cite this