From Static to Dynamic: Benchmarking Real-World Code Review with MCR-Bench
Open Access
- 1 October 2026
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Software Engineering
- Vol. 3 (ISSTA) , 2928-2951
Abstract
In real-world software development, code review typically involves iterative interactions between developers and reviewers to improve software quality, making the process costly and time-consuming. Although recent work explores large language models (LLMs) for automated code review, most approaches oversimplify code review into a single-round, static decision task, which fails to capture the multi-round interactive nature and the complex problem-solving processes inherent in realistic review scenarios. To bridge this gap, we introduce MCR-bench, the first defect state-aware benchmark designed for realistic multi-round code review. MCR-bench covers five commonly-used programming languages and consists of 2,269 real-world multi-round code review tasks, each of which is annotated with fine-grained defect information and cross-round state labels. Each task in MCR-bench is equipped with fine-grained defect metadata (e.g., description, type, severity) alongside dynamic state annotations, capturing the complete evolutionary trajectory of a defect throughout the multi-round process. We obtain several findings through extensive experiments on MCR-bench with mainstream LLMs. (1) Limited overall capability: experiments reveal that mainstream LLMs exhibit limited overall performance in defect detection and defect lifecycle state tracking, with performance degrading significantly as the number of interaction rounds increases; (2) Defect-sensitive performance: LLMs' performance varies substantially across different defect types and severity levels, with semantically complex or low-salience defects being significantly more likely to be missed; (3) Underlying Failure Mechanisms: our in-depth error analysis dissects the distinct drivers of false positives and false negatives, revealing critical weaknesses such as cross-round temporal misalignment and inadequate long-range memory.Keywords
All Related Versions
Funding Information
- The National Natural Science Foundation of China (Grant No. 92582202)
- The National Natural Science Foundation of China (Grant No. 62302534)
- GMCC-SYSU Joint Lab for Smart Applications (NAN)
This publication has 59 references indexed in Scilit:
- CodeDoctor: multi-category code review comment generationAutomated Software Engineering, 2025
- Enhanced code reviews using pull request based change impact analysisEmpirical Software Engineering, 2025
- Towards an understanding of large language models in software engineering tasksEmpirical Software Engineering, 2024
- Toward effective secure code reviews: an empirical study of security-related coding weaknessesEmpirical Software Engineering, 2024
- What makes a code review useful to OpenDev developers? An empirical investigationEmpirical Software Engineering, 2023
- The evolution of the code during review: an investigation on review changesEmpirical Software Engineering, 2022
- Concerns identified in code review: A fine-grained, faceted classificationInformation and Software Technology, 2022
- Reviewing rounds prediction for code patchesEmpirical Software Engineering, 2021
- An empirical study of the impact of modern code review practices on software qualityEmpirical Software Engineering, 2015
- Comparison of classification accuracy using Cohen’s Weighted KappaExpert Systems with Applications, 2008