2 ms·
I would argue you can't compare between projects due to the reasons you state. But you can try and improve the metrics within a single project. Cycolmatic comp
by Marazan 1y ago
I would argue you can't compare between projects due to the reasons you state. But you can try and improve the metrics within a single project.
Cycolmatic complexity is a terrible metric to obsesses over yet in a project I was on it was undeniably true that the newer code written by more experienced Devs was both subjectively nicer and also had lower cycolmatic complexity than the older code worked on by a bunch of juniors (some of the juniors had then become some of the experienced Devs who wrote the newer code)
- layer8 1y ago> But you can try and improve the metrics within a single project. Yes. But it means that it doesn’t let you assess code quality, only (at best) changes in code quality. And it’s difficult as soon as you add or remove functionality, because then it isn’t strictly speaking the same project anymore, as you may have increased or decreased the essential complexity. What you can assess is whether a pure refactor improves or worsens a project’s amenibility to AI coding.