The arrival of GPT-5 represents a significant leap in AI-driven code generation. It’s powerful, functionally proficient and capable of solving complex programming tasks.
However, a recent analysis by Sonar of the model’s capabilities reveals a critical paradox: With GPT-5’s enhanced power comes a steep, hidden cost in code quality and maintainability, and a new profile of subtle risks.
The report, which evaluated the model’s performance on over 4,400 unique Java assignments, shows that while GPT-5 can accelerate development, it also…








