Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

FlogMethodCheck

simplabs edited this page Aug 13, 2010 · 1 revision

This check reports methods with a Flog metric score that is higher than the threshold. The Flog metric is very similar to the cyclomatic complexity measure but also takes Ruby specific statements into account. For example, calls to metaprogramming methods such as define_method or class_eval are weighted higher than regular method calls.

Excellent does not calculate the score exactly the same way as Flog does, so scores may vary. For Flog also see http://github.com/seattlerb/flog.

Applies to

  • methods