talho/openphin

View on GitHub

Showing 3,486 of 3,486 total issues

Function formRequest has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

        formRequest : function(form, uri, cb, data, isUpload, sslUri){

    Function color has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        EXTLIB.Anim.color = function(el, args, duration, easing, cb, scope) {

      Function anim has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              anim : function(args, opt, animType, defaultDur, defaultEase, cb){
      Severity: Minor
      Found in app/assets/javascripts/ext/src/ext-core/src/core/Element.fx.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                            if(!cc || typeof cc != 'object' || !cc.bubble) {
                                c.enableBubble(ename);
                            }
        Severity: Major
        Found in app/assets/javascripts/ext/src/ext-core/src/util/Observable.js - About 45 mins to fix

          Function elasticOut has 6 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                  elasticOut: function (t, b, c, d, a, p) {

            Function color has 6 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                color : function(el, args, duration, easing, cb, scope){
            Severity: Minor
            Found in app/assets/javascripts/ext/adapter/yui/ext-yui-adapter-debug.js - About 45 mins to fix

              Function onClick has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
              Open

                  onClick : function(e)
                  {
                      var target = e.getTarget(),
                          view = this.getView(),
                          row = view.findRowIndex(target),
              Severity: Minor
              Found in app/assets/javascripts/ext_extensions/TreeGrid/TreeGrid.js - About 45 mins to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Function motion has 6 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                      motion : function(el, args, duration, easing, cb, scope){

                Function scroll has 6 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    EXTLIB.Anim.scroll = function(el, args, duration, easing, cb, scope) {
                Severity: Minor
                Found in app/assets/javascripts/ext/adapter/ext/ext-base-debug.js - About 45 mins to fix

                  Function getData has 6 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      ,getData:function(value, cell, record, row, col, store) {
                  Severity: Minor
                  Found in app/assets/javascripts/ext_extensions/Ext.ux.grid.RowActions.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                                if((li = lis[i]) && li[TYPE] == eventName && li[FN] == fn){
                                                    unloadListeners[el.id].splice(i, 1);
                                                }
                    Severity: Major
                    Found in app/assets/javascripts/ext/adapter/ext/ext-base-debug.js - About 45 mins to fix

                      Function motion has 6 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          motion : function(el, args, duration, easing, cb, scope){
                      Severity: Minor
                      Found in app/assets/javascripts/ext/adapter/yui/ext-yui-adapter-debug.js - About 45 mins to fix

                        Function checkResponse has 6 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            function checkResponse(o, callback, conn, tId, poll, cbTimeout){
                        Severity: Minor
                        Found in app/assets/javascripts/ext/adapter/ext/ext-base-debug.js - About 45 mins to fix

                          Function formRequest has 6 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              formRequest : function(form, uri, cb, data, isUpload, sslUri){
                          Severity: Minor
                          Found in app/assets/javascripts/ext/adapter/yui/ext-yui-adapter-debug.js - About 45 mins to fix

                            Function doRender has 6 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                doRender : function(cs, rs, ds, startRow, colCount, stripe)
                            Severity: Minor
                            Found in app/assets/javascripts/ext_extensions/TreeGrid/src/GridView.js - About 45 mins to fix

                              Function doRender has 6 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                      doRender : function(cs, rs, ds, startRow, colCount, stripe)
                              Severity: Minor
                              Found in app/assets/javascripts/ext_extensions/TreeGrid/Overrides.js - About 45 mins to fix

                                Function renderer has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                            this.renderer = function(value, cell, record, row, col, store) {
                                Severity: Minor
                                Found in app/assets/javascripts/ext_extensions/Ext.ux.grid.RowActions.js - About 45 mins to fix

                                  Function motion has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                          motion : function(el, args, duration, easing, cb, scope) {
                                  Severity: Minor
                                  Found in app/assets/javascripts/ext/adapter/ext/ext-base-debug.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                                if (p != el && !pe.isStyle('overflow','visible')) {
                                                                    x += bl;
                                                                    y += bt;
                                                                }
                                    Severity: Major
                                    Found in app/assets/javascripts/ext/adapter/ext/ext-base-debug.js - About 45 mins to fix

                                      Function color has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                              color : function(el, args, duration, easing, cb, scope){
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language