I am looking for a way to check the cyclomatic complexity of my code. Is there some software I can download that will check my code locally? Alternatively, is there a site I can pass my code to? I am looking for software that will handle multiple languages, but if that does not exist, I am looking for software to check C++, C#, and Java. I would prefer free software of course, but I am willing to spend up to $100/year. I am looking for standalone software, not an IDE plugin.

  • Google seems to throw up a lot - what's wrong with them? See also stackoverflow.com/questions/125898/… – Mawg Mar 19 '15 at 10:52
  • There are good reasons why you don't want to measure cyclomatic complexity. Otherwise ConQAT (Continuous Quality Analysis Tool) is a free tool that can do lots of things for free - except that metric :-) – Thomas Weller Aug 25 '16 at 20:10

I think you are looking for SourceMonitor. A freeware tool that can calculate cyclomatic complexity for a number of languages, including C++, C, C#, VB.NET, Java, and Delphi.

  • It's not pretty, but it does the job. Thanks! – Evorlor Mar 27 '15 at 15:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.