Exploring the Potential of Large Language Models in Fine-Grained Review Comment Classification
Linh Nguyen, Chunhua Liu, Hong Yi Lin, Patanamon Thongtanunam

TL;DR
This paper evaluates the use of Large Language Models (LLMs) for classifying code review comments into 17 categories, demonstrating superior performance over traditional supervised models, especially in low-data categories, thus offering a scalable review analytics solution.
Contribution
It introduces the application of LLMs to classify code review comments, outperforming existing supervised models and addressing data scarcity issues.
Findings
LLMs outperform state-of-the-art models in comment classification accuracy.
LLMs perform well across both high- and low-frequency comment categories.
Using LLMs can enhance the scalability and effectiveness of code review analytics.
Abstract
Code review is a crucial practice in software development. As code review nowadays is lightweight, various issues can be identified, and sometimes, they can be trivial. Research has investigated automated approaches to classify review comments to gauge the effectiveness of code reviews. However, previous studies have primarily relied on supervised machine learning, which requires extensive manual annotation to train the models effectively. To address this limitation, we explore the potential of using Large Language Models (LLMs) to classify code review comments. We assess the performance of LLMs to classify 17 categories of code review comments. Our results show that LLMs can classify code review comments, outperforming the state-of-the-art approach using a trained deep learning model. In particular, LLMs achieve better accuracy in classifying the five most useful categories, which the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
