jmdobry/reheat

View on GitHub

Showing 125 of 296 total issues

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

    validateWithError: function (test) {
        test.expect(6);

        var instance = {
            attributes: {
Severity: Minor
Found in old_test/reheat/model/prototype/unset.test.js - About 1 hr to fix

    Function exports has 9 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    module.exports = function (utils, errors, Model_set, Model_setSync, Model_unset, Model_clear, Model_save, Model_destroy, Model_load) {
    Severity: Major
    Found in lib/model/prototype/index.js - About 1 hr to fix

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

          options: function (test) {
              test.expect(8);
      
              function Model(attrs) {
                  this.attributes = attrs;
      Severity: Minor
      Found in old_test/reheat/model/static/get.test.js - About 1 hr to fix

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

            raw: function (test) {
                test.expect(5);
        
                function Model(attrs) {
                    this.attributes = attrs;
        Severity: Minor
        Found in old_test/reheat/model/static/getAll.test.js - About 1 hr to fix

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

              normalKeyArray: function (test) {
                  test.expect(5);
          
                  function Model(attrs) {
                      this.attributes = attrs;
          Severity: Minor
          Found in old_test/reheat/model/static/getAll.test.js - About 1 hr to fix

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

                limit: function (test) {
                    test.expect(5);
            
                    function Model(attrs) {
                        this.attributes = attrs;
            Severity: Minor
            Found in old_test/reheat/model/static/filter.test.js - About 1 hr to fix

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

                  pluck: function (test) {
                      test.expect(5);
              
                      function Model(attrs) {
                          this.attributes = attrs;
              Severity: Minor
              Found in old_test/reheat/model/static/filter.test.js - About 1 hr to fix

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

                    orderBy: function (test) {
                        test.expect(5);
                
                        function Model(attrs) {
                            this.attributes = attrs;
                Severity: Minor
                Found in old_test/reheat/model/static/filter.test.js - About 1 hr to fix

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

                      skip: function (test) {
                          test.expect(5);
                  
                          function Model(attrs) {
                              this.attributes = attrs;
                  Severity: Minor
                  Found in old_test/reheat/model/static/filter.test.js - About 1 hr to fix

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

                        pluckMultiple: function (test) {
                            test.expect(5);
                    
                            function Model(attrs) {
                                this.attributes = attrs;
                    Severity: Minor
                    Found in old_test/reheat/model/static/filter.test.js - About 1 hr to fix

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

                          raw: function (test) {
                              test.expect(5);
                      
                              function Model(attrs) {
                                  this.attributes = attrs;
                      Severity: Minor
                      Found in old_test/reheat/model/static/filter.test.js - About 1 hr to fix

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

                            orderByArray: function (test) {
                                test.expect(5);
                        
                                function Model(attrs) {
                                    this.attributes = attrs;
                        Severity: Minor
                        Found in old_test/reheat/model/static/filter.test.js - About 1 hr to fix

                          Function options has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              options: function (test) {
                                  test.expect(6);
                          
                                  var instance = {
                                      attributes: {
                          Severity: Minor
                          Found in old_test/reheat/model/prototype/clear.test.js - About 1 hr to fix

                            Function options has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                options: function (test) {
                                    test.expect(8);
                            
                                    function Model(attrs) {
                                        this.attributes = attrs;
                            Severity: Minor
                            Found in old_test/reheat/model/static/filter.test.js - About 1 hr to fix

                              Function options has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  options: function (test) {
                                      test.expect(6);
                              
                                      var instance = {
                                          attributes: {
                              Severity: Minor
                              Found in old_test/reheat/model/prototype/unset.test.js - About 1 hr to fix

                                Function whereError has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    whereError: function (test) {
                                        test.expect(10);
                                
                                        function Model(attrs) {
                                            this.attributes = attrs;
                                Severity: Minor
                                Found in old_test/reheat/model/static/filter.test.js - About 1 hr to fix

                                  Function predicate has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      predicate: function (test) {
                                          test.expect(10);
                                  
                                          function Model(attrs) {
                                              this.attributes = attrs;
                                  Severity: Minor
                                  Found in old_test/reheat/model/static/filter.test.js - About 1 hr to fix

                                    Function skipError has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        skipError: function (test) {
                                            test.expect(8);
                                    
                                            function Model(attrs) {
                                                this.attributes = attrs;
                                    Severity: Minor
                                    Found in old_test/reheat/model/static/filter.test.js - About 1 hr to fix

                                      Function nestedObject has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          nestedObject: function (test) {
                                              test.expect(3);
                                      
                                              var instance = {
                                                  attributes: {
                                      Severity: Minor
                                      Found in old_test/reheat/model/prototype/set.test.js - About 1 hr to fix

                                        Function pluckError has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            pluckError: function (test) {
                                                test.expect(10);
                                        
                                                function Model(attrs) {
                                                    this.attributes = attrs;
                                        Severity: Minor
                                        Found in old_test/reheat/model/static/filter.test.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language