Abstract
In collaborative software engineering, code reviews are essential for maintaining quality, yet many reviewer comments are ignored or dismissed. This study introduces a massive dataset of 1.5 million comments from the Google Chromium project and a classifier designed to identify "actionable" feedback. By analyzing nine sophisticated linguistic features—including politeness, formality, and syntactic complexity—the researchers developed a model that predicts whether a comment will be acted upon with an AUC of 0.85. The findings suggest that the social and linguistic delivery of feedback is as critical as its technical content in ensuring developer response.
Introduction
Code reviews are a cornerstone of modern software engineering, yet their effectiveness is often hampered when developers overlook feedback. Previous attempts to understand comment "usefulness" relied on basic sentiment analysis or keyword matching, which lack the nuance of professional discourse. This research addresses the gap by identifying the specific linguistic characteristics—complexity, tone, and style—that distinguish a comment that prompts a "fix" from one that is ignored.
Methodology and Linguistic Features
The researchers framed the identification of actionable feedback as a binary classification task: "acted-upon" vs. "not acted-upon." They extracted nine linguistic features categorized into syntactic complexity, information content, style, and uncertainty.
Key features included:
- Syntactic Complexity: Measured via YNGVE and FRAZIER scores to assess cognitive load.
- Information Content: Evaluated through Content Density (open-class vs. closed-class words) and Propositional Density (ideas per word).
- Style and Tone: Models for Sentiment, Formality (formal vs. informal), and Politeness (based on Wikipedia and Stack Exchange interactions).
- Uncertainty: Detection of "hedging" or investigative language (e.g., "I assume..." or "Did you check...?").
Dataset Construction
The study utilized two primary datasets derived from the Google Chromium project (2008–2016):
- The Full Dataset: A collection of over 1.5 million reviewer comments.
- The Labeled Dataset: A subset of 3,794 comments. "Acted-upon" comments (2,994) were identified via the "Done" button in the Rietveld code review tool, a metric verified to be 97% accurate through manual audit. "Not acted-upon" comments (800) were manually verified by inspecting codebases to confirm no changes were made in response to the feedback.
Key Results
The logistic regression classifier significantly outperformed baseline models that relied solely on token or sentence counts.
The best-performing model (using all linguistic features) achieved an AUC of 0.849. Recursive feature elimination revealed that Max Politeness, Propositional Density, and Formality were the most relevant predictors for discriminating between acted-upon and ignored comments. The model's high recall (0.926) indicates it is particularly effective at capturing actionable feedback without missing significant examples.
Discussion and Insights
The study's most striking finding is that "how" feedback is delivered often trumps "what" is being said. High-level discourse features like politeness and formality are primary drivers of whether a peer acts on advice. Additionally, actionable comments tend to be shorter, exhibit less uncertainty (less hedging), and have lower propositional density, suggesting that overloading a comment with too many distinct ideas can lead to it being ignored.
Conclusion and Future Work
While the "Done" button metric has limitations, the high accuracy of the classifier opens doors for tool integration. Future code review platforms could include "politeness and clarity" checks to flag comments likely to be ignored. Further research may explore reviewer personas and the application of these linguistic insights to other collaborative fields like legal or medical peer reviews.
Summary updated