Let op! Internet Explorer wordt niet meer ondersteund. Hierdoor kan de website mogelijk niet goed functioneren, gebruik een alternatieve browser om optimaal gebruik te maken van deze website. Klik hier om een alternatieve browser te downloaden.

Code Quality in the Age of AI

Why Code Checkers Are More Important Than Ever

Author:

Author Laurens Jansen

Laurens Jansen

Chief Delivery Officer Follow Laurens Jansen on LinkedIn

AI in software development

The rise of Artificial Intelligence has rapidly changed the way the industry develops software. We have moved from using AI for autocomplete to generating entire applications in the span of only a few years. Stack Overflow’s 2025 developer survey already showed that 85% of developers used AI in some form or another during their development, and studies have also shown productivity gains for developers in the short-term.

However, developers also stated in the same survey that, in general, they are distrustful of the quality of the output of AI models. Studies so far have shown that they generate code that tends to be less maintainable than code written by humans.

Now that AI-generated code is finding its way into production databases, it is a good time to ask ourselves the question: how do we reap the benefits of AI-assisted coding without the downsides like decreased maintainability or security violations? The answer to that question lies in deterministic guardrails.

Why AI generates lower-quality code

AI can generate a lot of code, fast. It is also pretty good at adhering to the functional requirements passed to it through a prompt: ask it to create something that must fulfill a specific purpose, and you’ll get very far with a few prompts. However, it does not do so well when it comes to non-functional requirements, like maintainability or reliability of the code. We hypothesize that this is due to the fact that these models are (mostly) trained on publicly available, open-source projects. However, the average open-source project scores a C score (from A to F) on the TIOBE Quality Indicator, meaning these models have been trained on code that still contains plenty of coding standard violations, security vulnerabilities, or duplicated code.

Treat AI code just like any other code

So, how do we ensure that we reap the benefits of faster development without introducing all the issues mentioned above? The answer is actually relatively simple: treat AI-generated code just like human-written code. If a developer writes some code, you don’t let that developer review the code themselves before pushing it to production. You have a series of external, independent systems in place to check for the quality of the code. Systems like tests, but also static analysis tools running in your pipeline.

Regardless of who produces the code, every line entering your product should comply with the same quality, security, and maintainability standards.

Why not have AI verify AI-generated code?

If AI can do so many things, why can’t it be used to check the quality of AI-generated code? Because AI is not deterministic. This means that the same actions, when performed twice by the AI, can yield different outcomes. As a result, quality measurements by AI are not consistently repeatable. And repeatability matters when you take quality seriously.

This is the reason deterministic measurements are so important. An organization can not set a quality gate if the outcome if the gate is not consistent. With upcoming regulations like the EU Cyber Resilience Act (CRA), companies even have the obligation to demonstrate that they systematically manage their quality findings, such as security vulnerabilities. An A.I. model may provide useful recommendations, but due to its non-determinism, can never become a definitive source of truth in quality measurements.

Deterministic analysis remains essential for AI Code Quality

Static analyzers provide deterministic and repeatable validation of the quality of your software. They remain the best tools to find security vulnerabilities, coding standard violations, reliability issues, and many more interesting findings. In the age of A.I. assisted development, they are a must-have for any organization that wants to govern its software quality. In the end, AI can help write code faster, but deterministic guardrails like static analyzers are needed to ensure that the software remains secure, maintainable, reliable, and fit for long-term use. If you’re interested in what that looks like in practise, have a look at our TiCS Framework.