28msec/28.io-angularjs

View on GitHub

Showing 109 of 171 total issues

Function createDatasource has 82 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            Datasources.prototype.createDatasource = function(parameters) {
                if (parameters === undefined) {
                    parameters = {};
                }
                var deferred = $q.defer();
Severity: Major
Found in src/datasources.api.28.io.js - About 3 hrs to fix

    Function insertInCollection has 82 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                Datasources.prototype.insertInCollection = function(parameters) {
                    if (parameters === undefined) {
                        parameters = {};
                    }
                    var deferred = $q.defer();
    Severity: Major
    Found in src/datasources.api.28.io.js - About 3 hrs to fix

      Function importProject has 81 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                  Batch.prototype.importProject = function(parameters) {
                      if (parameters === undefined) {
                          parameters = {};
                      }
                      var deferred = $q.defer();
      Severity: Major
      Found in src/batch.api.28.io.js - About 3 hrs to fix

        Function getCollectionMetadata has 80 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                    Datasources.prototype.getCollectionMetadata = function(parameters) {
                        if (parameters === undefined) {
                            parameters = {};
                        }
                        var deferred = $q.defer();
        Severity: Major
        Found in src/datasources.api.28.io.js - About 3 hrs to fix

          Function removeItem has 80 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                      Datasources.prototype.removeItem = function(parameters) {
                          if (parameters === undefined) {
                              parameters = {};
                          }
                          var deferred = $q.defer();
          Severity: Major
          Found in src/datasources.api.28.io.js - About 3 hrs to fix

            Function Package has 80 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    var Package = (function() {
                        function Package(domain, cache) {
                            if (typeof(domain) !== 'string') {
                                throw new Error('Domain parameter must be specified as a string.');
                            }
            Severity: Major
            Found in src/package.api.28.io.js - About 3 hrs to fix

              Function createSubscription has 79 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                          Account.prototype.createSubscription = function(parameters) {
                              if (parameters === undefined) {
                                  parameters = {};
                              }
                              var deferred = $q.defer();
              Severity: Major
              Found in src/account.api.28.io.js - About 3 hrs to fix

                Function updateDatasource has 79 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                            Datasources.prototype.updateDatasource = function(parameters) {
                                if (parameters === undefined) {
                                    parameters = {};
                                }
                                var deferred = $q.defer();
                Severity: Major
                Found in src/datasources.api.28.io.js - About 3 hrs to fix

                  Function updateSubscription has 77 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                              Account.prototype.updateSubscription = function(parameters) {
                                  if (parameters === undefined) {
                                      parameters = {};
                                  }
                                  var deferred = $q.defer();
                  Severity: Major
                  Found in src/account.api.28.io.js - About 3 hrs to fix

                    Function updateAccount has 77 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                                Account.prototype.updateAccount = function(parameters) {
                                    if (parameters === undefined) {
                                        parameters = {};
                                    }
                                    var deferred = $q.defer();
                    Severity: Major
                    Found in src/account.api.28.io.js - About 3 hrs to fix

                      Function createCollection has 77 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                                  Datasources.prototype.createCollection = function(parameters) {
                                      if (parameters === undefined) {
                                          parameters = {};
                                      }
                                      var deferred = $q.defer();
                      Severity: Major
                      Found in src/datasources.api.28.io.js - About 3 hrs to fix

                        Function listModules has 77 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                    Modules.prototype.listModules = function(parameters) {
                                        if (parameters === undefined) {
                                            parameters = {};
                                        }
                                        var deferred = $q.defer();
                        Severity: Major
                        Found in src/modules.api.28.io.js - About 3 hrs to fix

                          Function listInvoices has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                      Account.prototype.listInvoices = function(parameters) {
                                          if (parameters === undefined) {
                                              parameters = {};
                                          }
                                          var deferred = $q.defer();
                          Severity: Major
                          Found in src/account.api.28.io.js - About 3 hrs to fix

                            Function createQuery has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                        Queries.prototype.createQuery = function(parameters) {
                                            if (parameters === undefined) {
                                                parameters = {};
                                            }
                                            var deferred = $q.defer();
                            Severity: Major
                            Found in src/queries.api.28.io.js - About 3 hrs to fix

                              Function truncateCollection has 75 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                          Datasources.prototype.truncateCollection = function(parameters) {
                                              if (parameters === undefined) {
                                                  parameters = {};
                                              }
                                              var deferred = $q.defer();
                              Severity: Major
                              Found in src/datasources.api.28.io.js - About 3 hrs to fix

                                Function getDatasource has 75 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                            Datasources.prototype.getDatasource = function(parameters) {
                                                if (parameters === undefined) {
                                                    parameters = {};
                                                }
                                                var deferred = $q.defer();
                                Severity: Major
                                Found in src/datasources.api.28.io.js - About 3 hrs to fix

                                  Function saveModule has 75 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                              Modules.prototype.saveModule = function(parameters) {
                                                  if (parameters === undefined) {
                                                      parameters = {};
                                                  }
                                                  var deferred = $q.defer();
                                  Severity: Major
                                  Found in src/modules.api.28.io.js - About 3 hrs to fix

                                    Function removeCollection has 75 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                                Datasources.prototype.removeCollection = function(parameters) {
                                                    if (parameters === undefined) {
                                                        parameters = {};
                                                    }
                                                    var deferred = $q.defer();
                                    Severity: Major
                                    Found in src/datasources.api.28.io.js - About 3 hrs to fix

                                      Function createModule has 75 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                                  Modules.prototype.createModule = function(parameters) {
                                                      if (parameters === undefined) {
                                                          parameters = {};
                                                      }
                                                      var deferred = $q.defer();
                                      Severity: Major
                                      Found in src/modules.api.28.io.js - About 3 hrs to fix

                                        Function getDatasourceContents has 75 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                    Datasources.prototype.getDatasourceContents = function(parameters) {
                                                        if (parameters === undefined) {
                                                            parameters = {};
                                                        }
                                                        var deferred = $q.defer();
                                        Severity: Major
                                        Found in src/datasources.api.28.io.js - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language