Risto-Stevcev/grunt-simple-protractor

View on GitHub
tasks/protractor.js

Summary

Maintainability
B
6 hrs
Test Coverage

Function exports has 120 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(grunt) {
  var http = require('http')
  var path = require('path')
  var fs = require('fs')

Severity: Major
Found in tasks/protractor.js - About 4 hrs to fix

    Function runProtractor has 40 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function runProtractor(protractorLibPath) {
          var protractorArgs = []
          Object.keys(options).forEach(function(key) {
            if (!simpleProtractorOpts.some(function(opt) { return opt === key })) {
              if (typeof options[key] === 'boolean' && options[key] === true) {
    Severity: Minor
    Found in tasks/protractor.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status