arrow
Return

Predicting software developer sentiment on self-admitted technical debt

delete2025-10-20
delete0
delete
OA
AI
H
Haichuan Zhang
X
Xingguang Yang *
Z
Zhenyu Shu
Z
Zijie Huang
王钢 cover
王钢 (Gang Wang)
Y
Yuzhao Yang
Z
Zhao, Yan
DOI:10.7717/peerj-cs.3227delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Technical debt is a metaphor for sacrificing long-term code quality in order to achieve short-term project goals. The technical debt that developers intentionally introduce into project is called self-admitted technical debt (SATD), which usually exists in the form of code comments in software projects. The existence of SATD poses a huge challenge to software quality and robustness. Analyzing the sentiments of SATD helps to understand the behavioral habits of developers when annotating SATD. In order to explore the performance of generative pre-trained models in SATD sentiment prediction, a SATD sentiment prediction method based on the GPT-3.5-turbo fine-tuning model is proposed, and research is carried out on 18 open source projects. Empirical results show that, compared with a set of traditional machine learning and deep learning techniques, the fine-tuning GPT-3.5-turbo model improves the evaluation indicators precision, recall and F1-score by 14.2%, 11.5%, and 17.3%, respectively. The effectiveness of the SATD sentiment prediction method based on GPT-3.5-turbo is verified, indicating the potential of generative pre-trained models to capture nuanced complex sentiment-i.e., developer comments that combine neutral technical observations with subtle negative cues such as hesitation or frustration. However, our comparison does not include recent large language model (LLM)-based approaches, which are reserved for future investigation.
Keywords:
Technical debt
Self-admitted technical debt
Sentiment prediction
Generative pre-trained models
GPT

Journal

PeerJ Computer Science cover
PeerJ Computer Science
IF:
2.5
Papers:
3.4K
Citations:
6.9K

Organization

S
Shanghai Academy of Science and Technology
Scholars:
837
Papers: 561
Citations: 0
N
NingboTech University
Scholars:
496
Papers: 230
Citations: 0
Cited Papers

Cited Papers

Technical Debt
err2016-05-11
err0
PREAI
errParis Avgeriou; Neil A. Ernst; Robert L. Nord; Philippe Kruchten
errShare
errSave
ScottKnott: A Package for Performing the Scott-Knott Clustering Algorithm in R
err2014-03-05
err0
errOAAI
errEnio Jelihovschi; José Cláudio Faria; Ivan Bezerra Allaman
errShare
errSave
err
IF0
err
err0
errOAAI
err
errShare
errSave
Mining valence, arousal, and dominance
err2016-05-14
err0
errOAAI
errMika Mäntylä; Bram Adams; Giuseppe Destefanis; Daniel Graziotin; Marco Ortu
errShare
errSave
Quantifying and characterizing clones of self-admitted technical debt in build systems
err2024-02-26
err1
PREAI
errXiao, Tao; Zeng, Zhili; Wang, Dong; Hata, Hideaki; McIntosh, Shane; Matsumoto, Kenichi
errShare
errSave
Sentiment polarity detection for software development
err2018-05-27
err0
errOAAI
errFabio Calefato; Filippo Lanubile; Federico Maiorano; Nicole Novielli
errShare
errSave
researcher View more