talho/openphin

View on GitHub

Showing 3,486 of 3,486 total issues

Function run has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

        run : function(el, args, duration, easing, cb, scope, type){
Severity: Major
Found in app/assets/javascripts/ext/src/adapter/prototype-bridge.js - About 50 mins to fix

    Function doRequest has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        doRequest : function(action, rs, params, reader, callback, scope, options) {
    Severity: Major
    Found in app/assets/javascripts/ext/src/data/DirectProxy.js - About 50 mins to fix

      Function run has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              run : function(el, args, duration, easing, cb, scope, type){
      Severity: Major
      Found in app/assets/javascripts/ext/src/adapter/jquery-bridge.js - About 50 mins to fix

        Function doRequest has 7 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            doRequest : function(action, rs, params, reader, callback, scope, arg) {
        Severity: Major
        Found in app/assets/javascripts/ext/src/data/MemoryProxy.js - About 50 mins to fix

          Function request has 7 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              request : function(action, rs, params, reader, callback, scope, options) {
          Severity: Major
          Found in app/assets/javascripts/ext/src/data/DataProxy.js - About 50 mins to fix

            Function run has 7 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                run : function(el, args, duration, easing, cb, scope, type){
            Severity: Major
            Found in app/assets/javascripts/ext/src/adapter/yui-bridge.js - About 50 mins to fix

              Function doRequest has 7 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  doRequest : function(action, rs, params, reader, callback, scope, options) {
              Severity: Major
              Found in app/assets/javascripts/ext/src/data/DataProxy.js - About 50 mins to fix

                Function doRequest has 7 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    doRequest : function(action, rs, params, reader, cb, scope, arg) {
                Severity: Major
                Found in app/assets/javascripts/ext/src/data/HttpProxy.js - About 50 mins to fix

                  Function doRequest has 7 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      doRequest : function(action, rs, params, reader, callback, scope, arg) {
                  Severity: Major
                  Found in app/assets/javascripts/ext/src/data/ScriptTagProxy.js - About 50 mins to fix

                    Function proxyNodeEvent has 7 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        proxyNodeEvent : function(ename, a1, a2, a3, a4, a5, a6){
                    Severity: Major
                    Found in app/assets/javascripts/ext/src/widgets/tree/TreePanel.js - About 50 mins to fix

                      Function run has 7 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                              run : function(el, args, duration, easing, cb, scope, type) {
                      Severity: Major
                      Found in app/assets/javascripts/ext/src/ext-core/src/adapter/ext-base-anim.js - About 50 mins to fix

                        Function run has 7 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                                run : function(el, args, duration, easing, cb, scope, type){
                        Severity: Major
                        Found in app/assets/javascripts/ext/adapter/jquery/ext-jquery-adapter-debug.js - About 50 mins to fix

                          Function run has 7 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

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

                            Function run has 7 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

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

                              Function run has 7 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

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

                                Identical blocks of code found in 3 locations. Consider refactoring.
                                Open

                                    win.addButton({xtype: 'button', text: 'Cancel', handler: function(){ win.close(); }, scope: this, width:'auto'});
                                Severity: Major
                                Found in app/assets/javascripts/profile/DevicesControl.js and 2 other locations - About 50 mins to fix
                                app/assets/javascripts/profile/OrganizationsControl.js on lines 52..52
                                app/assets/javascripts/profile/RolesControl.js on lines 68..68

                                Duplicated Code

                                Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                Tuning

                                This issue has a mass of 52.

                                We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                Refactorings

                                Further Reading

                                Identical blocks of code found in 3 locations. Consider refactoring.
                                Open

                                    win.addButton({xtype: 'button', text: 'Cancel', handler: function(){ win.close(); }, scope: this, width:'auto'});
                                Severity: Major
                                Found in app/assets/javascripts/profile/OrganizationsControl.js and 2 other locations - About 50 mins to fix
                                app/assets/javascripts/profile/DevicesControl.js on lines 54..54
                                app/assets/javascripts/profile/RolesControl.js on lines 68..68

                                Duplicated Code

                                Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                Tuning

                                This issue has a mass of 52.

                                We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                Refactorings

                                Further Reading

                                Identical blocks of code found in 2 locations. Consider refactoring.
                                Open

                                                    if ( !jQuery.event.special[type] || jQuery.event.special[type].setup.call(elem) === false ) {
                                                        // Bind the global event handler to the element
                                                        if (elem.addEventListener)
                                                            elem.addEventListener(type, handle, false);
                                                        else if (elem.attachEvent)
                                Severity: Minor
                                Found in app/assets/javascripts/jquery-tooltip/lib/jquery.js and 1 other location - About 50 mins to fix
                                app/assets/javascripts/jquery.js on lines 2497..2503

                                Duplicated Code

                                Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                Tuning

                                This issue has a mass of 52.

                                We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                Refactorings

                                Further Reading

                                Identical blocks of code found in 2 locations. Consider refactoring.
                                Open

                                                if ( this.options.hide || this.options.show )
                                                    for ( var p in this.options.curAnim )
                                                        jQuery.attr(this.elem.style, p, this.options.orig[p]);
                                Severity: Minor
                                Found in app/assets/javascripts/jquery.js and 1 other location - About 50 mins to fix
                                app/assets/javascripts/jquery-tooltip/lib/jquery.js on lines 3240..3242

                                Duplicated Code

                                Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                Tuning

                                This issue has a mass of 52.

                                We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                Refactorings

                                Further Reading

                                Identical blocks of code found in 2 locations. Consider refactoring.
                                Open

                                        var sortInfo  = this.hasMultiSort ? this.multiSortInfo : this.sortInfo,
                                            direction = sortInfo.direction || "ASC",
                                            sorters   = sortInfo.sorters,
                                            sortFns   = [];
                                Severity: Minor
                                Found in app/assets/javascripts/ext/src/data/Store.js and 1 other location - About 50 mins to fix
                                app/assets/javascripts/ext_extensions/PagingStore.js on lines 246..249

                                Duplicated Code

                                Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                Tuning

                                This issue has a mass of 52.

                                We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                Refactorings

                                Further Reading

                                Severity
                                Category
                                Status
                                Source
                                Language