JOURNAL ARTICLE

CommentFinder: a simpler, faster, more accurate code review comments recommendation

Yang HongChakkrit TantithamthavornPatanamon ThongtanunamAldeida Aleti

Year: 2022 Journal:   Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering Pages: 507-519

Abstract

Code review is an effective quality assurance practice, but can be labor-intensive since developers have to manually review the code and provide written feedback. Recently, a Deep Learning (DL)-based approach was introduced to automatically recommend code review comments based on changed methods. While the approach showed promising results, it requires expensive computational resource and time which limits its use in practice. To address this limitation, we propose CommentFinder – a retrieval-based approach to recommend code review comments. Through an empirical evaluation of 151,019 changed methods, we evaluate the effectiveness and efficiency of CommentFinder against the state-of-the-art approach. We find that when recommending the best-1 review comment candidate, our CommentFinder is 32% better than prior work in recommending the correct code review comment. In addition, CommentFinder is 49 times faster than the prior work. These findings highlight that our CommentFinder could help reviewers to reduce the manual efforts by recommending code review comments, while requiring less computational time.

Keywords:
Computer science Code review Code (set theory) Static program analysis Resource (disambiguation) Machine learning Software engineering Artificial intelligence Programming language Software Software development Set (abstract data type)

Metrics

44
Cited By
7.28
FWCI (Field Weighted Citation Impact)
59
Refs
0.98
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Engineering Research
Physical Sciences →  Computer Science →  Information Systems
Web Application Security Vulnerabilities
Physical Sciences →  Computer Science →  Information Systems
Advanced Malware Detection Techniques
Physical Sciences →  Computer Science →  Signal Processing

Related Documents

JOURNAL ARTICLE

The replication package for "AutoComment: A Simpler, Faster, More Accurate Code Review Comments Recommendation"

Anonymous

Journal:   Zenodo (CERN European Organization for Nuclear Research) Year: 2022
JOURNAL ARTICLE

The replication package for "AutoComment: A Simpler, Faster, More Accurate Code Review Comments Recommendation"

­ Anonymous

Journal:   Zenodo (CERN European Organization for Nuclear Research) Year: 2022
JOURNAL ARTICLE

The replication package for "AutoComment: A Simpler, Faster, More Accurate Code Review Comments Recommendation"

Anonymous

Journal:   Zenodo (CERN European Organization for Nuclear Research) Year: 2022
JOURNAL ARTICLE

Simpler, Faster, More Accurate Melanocytic Lesion Segmentation Through MEDS

Francesco PeruchFederica BogoMichele BonazzaVincenzo-Maria CappelleriEnoch Peserico

Journal:   IEEE Transactions on Biomedical Engineering Year: 2013 Vol: 61 (2)Pages: 557-565
© 2026 ScienceGate Book Chapters — All rights reserved.