Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

(v3.7.0) Ruby: flog

LCD 47 edited this page Oct 6, 2015 · 1 revision

Maintainer: Tim Carry [email protected]

flog is a complexity checker for Ruby files. See the project's page for details.

Checker options

The following options are supported:

g:syntastic_ruby_flog_threshold_warning (number; default: 45)
threshold for warnings; functions with complexity below this number are not flagged
g:syntastic_ruby_flog_threshold_error (number; default: 90)
threshold for errors; functions with complexity above this number are flagged as errors.

Note

flog reports complexity values as floating point numbers. If your Vim is not compiled with the +float feature, both the numbers reported by flog and the two options above are rounded by syntastic towards zero (that is, 39.9 is taken as 39).

Clone this wiki locally