ShinyAds/node-google-dfp

View on GitHub

Showing 3 of 7 total issues

Function getService has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

DfpUser.prototype.getService = function (service, callback, version) {
  var soap = require('soap');
  var soap_wsdl;
  var dfpUser = this;

Severity: Major
Found in lib/DfpUser.js - About 2 hrs to fix

    Function check_report_ready has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function check_report_ready() {
    
        var reportId = results.rval.id;
        console.log('Trying to get report #' + reportId);
    
    
    Severity: Minor
    Found in examples/runReport.js - About 1 hr to fix

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

      module.exports = function (grunt) {
        'use strict';
      
        var cfg = {
          pkg: grunt.file.readJSON('./package.json'),
      Severity: Minor
      Found in gruntfile.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language