SungardAS/condensation

View on GitHub
lib/gulp-plugins/gulp-cf-validate.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function validator has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function validator(opts) {
  var cloudformation = new AWS.CloudFormation(opts);
  // creating a stream through which each file will pass
  var stream = through.obj(function(file, enc, cb) {
    var retry = backoff.exponential();
Severity: Minor
Found in lib/gulp-plugins/gulp-cf-validate.js - About 1 hr to fix

    Function stream has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      var stream = through.obj(function(file, enc, cb) {
        var retry = backoff.exponential();
        retry.failAfter(20);
    
        retry.on('ready', function(number,delay) {
    Severity: Minor
    Found in lib/gulp-plugins/gulp-cf-validate.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status