forked from vim-syntastic/syntastic
-
Notifications
You must be signed in to change notification settings - Fork 2
(v3.7.0) Ruby: flog
LCD 47 edited this page Oct 6, 2015
·
1 revision
Maintainer: Tim Carry tim@pixelastic.com
flog is a complexity checker for Ruby files. See the project's page for details.
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.
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
).
[Syntastic Wiki][0] [0]: https://github.com/scrooloose/syntastic/wiki/