SEJul 12, 2018

Predicting Usefulness of Code Review Comments using Textual Features and Developer Experience

arXiv:1807.04485v1123 citationsHas Code
Originality Incremental advance
AI Analysis

This addresses the issue of inefficient code reviews for developers, though it is incremental as it builds on existing studies without introducing a new paradigm.

The paper tackles the problem of non-useful comments in peer code reviews by developing RevHelper, a model that predicts comment usefulness with 66% accuracy based on textual features and developer experience.

Although peer code review is widely adopted in both commercial and open source development, existing studies suggest that such code reviews often contain a significant amount of non-useful review comments. Unfortunately, to date, no tools or techniques exist that can provide automatic support in improving those non-useful comments. In this paper, we first report a comparative study between useful and non-useful review comments where we contrast between them using their textual characteristics, and reviewers' experience. Then, based on the findings from the study, we develop RevHelper, a prediction model that can help the developers improve their code review comments through automatic prediction of their usefulness during review submission. Comparative study using 1,116 review comments suggested that useful comments share more vocabulary with the changed code, contain salient items like relevant code elements, and their reviewers are generally more experienced. Experiments using 1,482 review comments report that our model can predict comment usefulness with 66\% prediction accuracy which is promising. Comparison with three variants of a baseline model using a case study validates our empirical findings and demonstrates the potential of our model.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes