PropelJS / gulp-escomplex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Complexity Analysis for Gulp

This module does static analysis of source files and prepares them for a reporter.

See also: gulp-escomplex-reporter-html and gulp-escomplex-reporter-json

It uses escomplex to do the heavy lifting.

Installing

$ npm install gulp-escomplex

Usage

gulp.task('complexity', function () {
  return gulp.src([
    'index.js',
    'gulpfile.js'
  ])
  .pipe(complexity({
    packageName: 'gulp-escomplex',
    packageVersion: '1.0.1beta4'
  }));
});

About


Languages

Language:JavaScript 100.0%