3 ms·
Cyclomatic Method Complexity Is a Scam
- hyperpape 12y agoThere seems to be a grain of truth in this, but what I'm really curious about is if/how people have used cyclomatic complexity, and whether this is really a problem. At the moment, I think my company only has warnings for methods with excessively high cyclomatic complexity. That's far less ambitious, and my gut says it highlights methods that are too long, too convoluted, or too unpredictable.
- ZeroGravitas 12y agoI've only ever used it to automatically highlight methods that are growing too complex. Seems to work okay for that in my experience.
- deleted 12y ago[deleted]