Is AI Making Software Development Better, or Just Producing More Code?

Lines of code, pull requests per week and "percentage of code written by AI" are easy to measure and easy to misread. More code isn't value. Often it's just more to maintain.
Measure outcomes, not output
DORA's research gives a proven set of delivery measures:
- Deployment frequency: how often you release.
- Lead time for changes: how long a change takes to go from commit to production.
- Change failure rate: what proportion of releases cause problems.
- Time to restore: how quickly you recover.
If AI is helping, speed should improve without the failure rate getting worse.
Track the hidden costs
- Rework: how much AI-generated code is rewritten or reverted soon after merging?
- Review load: are reviewers overloaded, or approving on trust?
- Defects and security findings: are more issues being found later in the process?
- Complexity and duplication: is the codebase getting harder to change?
Tie it back to the business
The final test is whether the software delivered the outcome set out in your requirements. That might be fewer re-keyed requests, faster approvals or happier customers. Measure the business metric agreed during discovery, before and after.
A balanced scorecard
| Area | Example measure |
|---|---|
| Speed | Lead time for changes |
| Stability | Change failure rate, time to restore |
| Quality | Escaped defects, rework rate |
| Security | Open critical vulnerabilities, time to fix |
| Value | The business outcome agreed in discovery |
The bottom line
Used well, AI shortens the distance between a clear business need and working, secure software. Used badly, it produces risk faster. The difference comes down to the disciplines this series has covered: clear requirements, security by design, controlled agents, independent verification and real ownership.
Talk to Cyber Samurai about building, modernising or reviewing your software with these practices built in.
How Cyber Samurai can help
Further reading in this series
Keep reading


