abelevtsov/XrmSoapSDK

View on GitHub

Showing 49 of 101 total issues

Function callAction has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        crmProvider.prototype.callAction = function(actionName, entityName, entityId, parameters, async) {
Severity: Minor
Found in src/Xrm.Soap.Sdk/js/xrm.soap.sdk.js - About 35 mins to fix

    Function ctor has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            const ctor = function(entityName, attributes, values, columnSet, topCount) {
    Severity: Minor
    Found in src/Xrm.Soap.Sdk/js/xrm.soap.sdk.js - About 35 mins to fix

      Function load has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          this.load = function(executionContext, requirejsResourceName, mainResourceName, etn, parameters) {
      Severity: Minor
      Found in src/Xrm.Soap.Sdk/js/xrm.app.js - About 35 mins to fix

        Function ctor has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                const ctor = function(linkFromEntityName, linkToEntityName, linkFromAttributeName, linkToAttributeName, joinOperator) {
        Severity: Minor
        Found in src/Xrm.Soap.Sdk/js/xrm.soap.sdk.js - About 35 mins to fix

          Function setState has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                  crmProvider.prototype.setState = function(entityName, entityId, state, status, async) {
          Severity: Minor
          Found in src/Xrm.Soap.Sdk/js/xrm.soap.sdk.js - About 35 mins to fix

            Avoid too many return statements within this function.
            Open

                            return null;
            Severity: Major
            Found in src/Xrm.Soap.Sdk/js/xrm.soap.sdk.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                                  return parseXml(xmlToString(response));
              Severity: Major
              Found in src/Xrm.Soap.Sdk/js/xrm.soap.sdk.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return c;
                Severity: Major
                Found in src/Xrm.Soap.Sdk/js/xrm.soap.sdk.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return false;
                  Severity: Major
                  Found in src/Xrm.Soap.Sdk/js/xrm.soap.sdk.js - About 30 mins to fix
                    Severity
                    Category
                    Status
                    Source
                    Language