Ask A Question

Notifications

You’re not receiving notifications from this thread.

Modified Cyclomatic Complexity

William Jones asked in Ruby

Do you know of a tool that does modified cyclomatic complexity analysis of Ruby code? Lizard does not do it correctly for Ruby, and I could not find a modified option on Rubocop.

Reply

Rubocop does something called perceived complexity which is the same as modified cyclomatic complexity so that is the solution.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.