# gulp-complexity

> A JavaScript complexity analysis gulp task

Latest version **0.3.2** (published 2015-10-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-complexity
pnpm add gulp-complexity
yarn add gulp-complexity
bun add gulp-complexity
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.2 |
| Published | 2015-10-14 |
| First published | 2014-03-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alexey Raspopov |
| Maintainers | alexeyraspopov |
| Keywords | gulpplugin, halstead, cyclomatic, complexity, report, analysis, analyze |

## Links

- npm: https://www.npmjs.com/package/gulp-complexity
- Repository: https://github.com/alexeyraspopov/gulp-complexity
- Homepage: https://github.com/alexeyraspopov/gulp-complexity#readme
- Issues: https://github.com/alexeyraspopov/gulp-complexity/issues
- npm.io page: https://npm.io/package/gulp-complexity

## Dependencies (7)

- [chalk](https://npm.io/package/chalk.md) ^0.4.0
- [through2](https://npm.io/package/through2.md) ^0.4.1
- [gulp-util](https://npm.io/package/gulp-util.md) ^2.2.14
- [multiline](https://npm.io/package/multiline.md) ^0.2.0
- [util-extend](https://npm.io/package/util-extend.md) ^1.0.1
- [complexity-report](https://npm.io/package/complexity-report.md) ^0.6.2
- [string-interpolate](https://npm.io/package/string-interpolate.md) ^0.1.1

## Recent versions

- 0.3.2 (latest) — 2015-10-14
- 0.3.0 — 2014-09-05
- 0.2.1 — 2014-04-21
- 0.2.0 — 2014-04-15
- 0.1.3 — 2014-03-19
- 0.1.2 — 2014-03-16
- 0.1.0 — 2014-03-16

## 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

---
_Source: https://npm.io/package/gulp-complexity · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
