gulp-complexity
Analize the complexity and maintainability of code
Twin brother of grunt-complexity task
npm install --save-dev gulp-complexity
var gulp = require('gulp'),
complexity = require('gulp-complexity');
gulp.task('default', function(){
return gulp.src('*.js')
.pipe(complexity());
});
Bool breakOnErrors
- Fail the task when files or functions are too complex. Default: true
MIT License (c) Alexey Raspopov