Understanding Code Understandability Improvements in Code Reviews
Delano Oliveira, Reydne Santos, Benedito de Oliveira, Martin, Monperrus, Fernando Castor, and Fernanda Madeiral

TL;DR
This study analyzes 2,401 GitHub code review comments to understand how developers improve code understandability, revealing common concerns, high acceptance rates for suggestions, and gaps in existing linters, with implications for tool development.
Contribution
It provides the first large-scale empirical analysis of code review comments focused on understandability, identifying key concern categories and evaluating tool coverage.
Findings
Over 42% of review comments target understandability.
83.9% of suggested improvements are accepted and retained.
Existing linters cover less than 30% of identified issues.
Abstract
Motivation: Code understandability is crucial in software development, as developers spend 58% to 70% of their time reading source code. Improving it can improve productivity and reduce maintenance costs. Problem: Experimental studies often identify factors influencing code understandability in controlled settings but overlook real-world influences like project culture, guidelines, and developers' backgrounds. Ignoring these factors may yield results with limited external validity. Objective: This study investigates how developers enhance code understandability through code review comments, assuming that code reviewers are specialists in code quality. Method and Results: We analyzed 2,401 code review comments from Java open-source projects on GitHub, finding that over 42% focus on improving code understandability. We further examined 385 comments specifically related to this aspect and…
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.
