This repository was archived by the owner on Sep 20, 2023. It is now read-only.
  
  
  - 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.1k
 
Ruby: flog
        LCD 47 edited this page Jun 12, 2016 
        ·
        4 revisions
      
    This file exists only as a historic reference.  Documentation for syntastic
checkers is now included in the manual, please see :help syntastic-checkers
in Vim.
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).