PersephonyAPI/javascript-sdk

View on GitHub

Showing 10 of 23 total issues

Function recordings has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function recordings (accountId, authToken) {
  var getter = common.commonGetBuilder(accountId, authToken)
  var deleter = common.commonDeleteBuilder(accountId, authToken)

  /**
Severity: Minor
Found in src/api/recordings/recordings.js - About 1 hr to fix

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

    function calls (accountId, authToken) {
      var getter = common.commonGetBuilder(accountId, authToken)
      var commonPoster = common.commonPostBuilder(accountId, authToken)
    
      /**
    Severity: Minor
    Found in src/api/calls/calls.js - About 1 hr to fix

      Function incomingNumbers has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function incomingNumbers (accountId, authToken) {
        var getter = common.commonGetBuilder(accountId, authToken)
        var poster = common.commonPostBuilder(accountId, authToken)
        var deleter = common.commonDeleteBuilder(accountId, authToken)
      
      
      Severity: Minor
      Found in src/api/phoneNumbers/incomingNumbers.js - About 1 hr to fix

        Function callingNumbers has 30 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function callingNumbers (accountId, authToken) {
          var getter = common.commonGetBuilder(accountId, authToken)
          var poster = common.commonPostBuilder(accountId, authToken)
          var deleter = common.commonDeleteBuilder(accountId, authToken)
        
        
        Severity: Minor
        Found in src/api/phoneNumbers/callingNumbers.js - About 1 hr to fix

          Function applications has 30 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function applications (accountId, authToken) {
            var getter = common.commonGetBuilder(accountId, authToken)
            var poster = common.commonPostBuilder(accountId, authToken)
            var deleter = common.commonDeleteBuilder(accountId, authToken)
          
          
          Severity: Minor
          Found in src/api/applications/applications.js - About 1 hr to fix

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

            function conferences (accountId, authToken) {
              var getter = common.commonGetBuilder(accountId, authToken)
              var poster = common.commonPostBuilder(accountId, authToken)
            
              /**
            Severity: Minor
            Found in src/api/conferences/conferences.js - About 1 hr to fix

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

              function members (accountId, authToken, queueId) {
                var getter = common.commonGetBuilder(accountId, authToken)
                var poster = common.commonPostBuilder(accountId, authToken)
              
                /**
              Severity: Minor
              Found in src/api/queues/members/members.js - About 1 hr to fix

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

                function queues (accountId, authToken) {
                  var getter = common.commonGetBuilder(accountId, authToken)
                  var poster = common.commonPostBuilder(accountId, authToken)
                
                  /**
                Severity: Minor
                Found in src/api/queues/queues.js - About 1 hr to fix

                  Function participants has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function participants (accountId, authToken, conferenceId) {
                    var getter = common.commonGetBuilder(accountId, authToken)
                    var poster = common.commonPostBuilder(accountId, authToken)
                    var deleter = common.commonDeleteBuilder(accountId, authToken)
                  
                  
                  Severity: Minor
                  Found in src/api/conferences/participants/participants.js - About 1 hr to fix

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

                    function outDial (to, from, actionUrl, callConnectUrl, options) {
                    Severity: Minor
                    Found in src/percl/percl.js - About 35 mins to fix
                      Severity
                      Category
                      Status
                      Source
                      Language