Thread:Mathmagician/@comment-3508190-20121010131546

That's an impressive sounding thread title, isn't it? So let me come right out and say: I don't know what it means. I looked at the Wikipedia page for all of five minutes and decided I don't need to know the details...

I found the link to that Wikipedia page in the jshint documentation under the "maxcomplexity" setting. That setting seems to be a new addition. Either that or I didn't notice it before.

I found this setting to be uniquely useful. The theory that higher cyclomatic complexity correlates to more errors seems true to me. I also notice that this setting alerts me to passages I end up rewriting anyway. The magic number seems to be 5. Anything up until 4 is fine. 5 is usually okay. But 6 needs to be edited. Badly. Even if there are no errors in it. Because reading that code gives me headaches.

Have you tinkered with this stuff? 