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.
- Host: GitHub
- URL: https://github.com/alexeyraspopov/gulp-complexity
- Owner: alexeyraspopov
- Created: 2014-03-14T16:34:42.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-19T17:13:09.000Z (over 9 years ago)
- Last Synced: 2024-12-01T03:34:02.734Z (5 months ago)
- Language: JavaScript
- Size: 288 KB
- Stars: 30
- Watchers: 3
- Forks: 13
- Open Issues: 5
-
Metadata Files:
- Readme: readme.md
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