TL;DR: 2.3 times more code shows Claude Opus 5 can raise review burden even as per-line quality improves, based on Sonar data from 544 HumanEval and MBPP tasks. Review gates need to scale with generated change size, because total findings can rise with output volume.
Editorial analysis by NHI Mgmt Group, based on content published by Sonar: “Claude Opus 5: An evaluation review & metrics benchmarks”.
By the numbers:
- Bug density fell 14% and vulnerability density fell 20%, both measured per line of code.
Key questions
Q: What should teams do first when AI code generation increases output volume?
A: Start by measuring generated change size, total findings, and review time together.
Q: When does AI-assisted development create more risk than it reduces?
A: It becomes net risk when code volume grows faster than ownership, review, and fix capacity.
A: Because small per-line improvements can be overwhelmed by sheer volume.
Practitioner guidance
- Tighten review thresholds for large AI-generated deltas Require deeper review whenever an AI-generated change set exceeds normal human-authored size patterns, even if benchmark scores are strong.
- Gate security-sensitive code through automated analysis first Run static analysis, secrets scanning, and test execution before human approval for generated code that touches authentication, authorization, or data handling paths.
- Track review load alongside pass rate Measure generated lines, function count, and total findings together so that a higher pass rate does not hide growing verification burden.
Bottom line: Claude Opus 5 improved functional correctness, but the assurance problem did not disappear because the model also produced far more code.
Glossary terms: Functional Pass Rate, Code Density, Verification Load, Code Smell
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Higher benchmark correctness does not equal lower governance risk: a model can improve its pass rate and still increase the assurance burden if it produces substantially more code. That matters because review capacity, policy enforcement, and static analysis all scale with output, not just with test success. The practitioner conclusion is that model quality and delivery risk must be governed separately.
A question worth separating out:
Q: Should organisations trust functional pass rates as a measure of safe AI coding?
A: No. Functional pass rates measure task completion, not secure implementation. A model can meet the test suite and still introduce vulnerabilities that scanners, policy checks, or manual review would need to catch. Treat pass rate as a quality signal, but require separate security evidence before code is accepted.
👉 Read our full editorial: Claude Opus 5 improves correctness, but code volume changes review risk