Fully agree! That's why I recommend to monitor the code health trends continuously -- the earlier we can catch any potential issues, the better:
https://codescene.io/projects/167/jobs/55946/results/warning...We have these code health trends supervised as part of our pull requests and use them as (soft) quality gates. [1]
[1] https://codescene.com/blog/measure-code-health-of-your-codeb...