A JavaScript complexity analysis gulp task.
Clone or download
Permalink
Failed to load latest commit information.
.gitignore initial commit Mar 14, 2014
.jshintrc use node mode Mar 14, 2014
gulpfile.js moar testing Mar 16, 2014
index.js cleanup Oct 14, 2015
package.json late version update Oct 14, 2015
readme.md Updated readme Apr 14, 2014
reporter-helpers.js jshint Mar 16, 2014
reporter.js
test.js test file Mar 14, 2014

readme.md

gulp-complexity

Analize the complexity and maintainability of code

Twin brother of grunt-complexity task

Install

npm install --save-dev gulp-complexity

Example

var gulp = require('gulp'),
	complexity = require('gulp-complexity');

gulp.task('default', function(){
	return gulp.src('*.js')
		.pipe(complexity());
});

Options

Bool breakOnErrors - Fail the task when files or functions are too complex. Default: true

License

MIT License (c) Alexey Raspopov