An open API service indexing awesome lists of open source software.

https://github.com/alexeyraspopov/gulp-complexity

A JavaScript complexity analysis gulp task.
https://github.com/alexeyraspopov/gulp-complexity

Last synced: 5 months ago
JSON representation

A JavaScript complexity analysis gulp task.

Awesome Lists containing this project

README

        

# [gulp](https://github.com/wearefractal/gulp)-complexity

> Analize the complexity and maintainability of code

*Twin brother of [grunt-complexity](https://github.com/vigetlabs/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](http://en.wikipedia.org/wiki/MIT_License) (c) Alexey Raspopov