All threads / Modified Cyclomatic Complexity
Ask A Question


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.

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

Join the discussion

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

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

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

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.