CodeforLeipzig/stadtratmonitor

View on GitHub

Showing 321 of 611 total issues

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

function buildFragment( elems, context, scripts, selection, ignored ) {

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

        remove: function( elem, types, handler, selector, mappedTypes ) {

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

              "CHILD": function( type, what, argument, first, last ) {

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

        function condense( unmatched, map, filter, context, xml ) {

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

          function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {

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

             */function ImNotTouchingYou(e,t,i,n,s){return 0===OverlapArea(e,t,i,n,s)}function OverlapArea(e,t,i,n,s){var a,o,r,l,c=GetDimensions(e);if(t){var h=GetDimensions(t);o=h.height+h.offset.top-(c.offset.top+c.height);a=c.offset.top-h.offset.top;r=c.offset.left-h.offset.left;l=h.width+h.offset.left-(c.offset.left+c.width)}else{o=c.windowDims.height+c.windowDims.offset.top-(c.offset.top+c.height);a=c.offset.top-c.windowDims.offset.top;r=c.offset.left-c.windowDims.offset.left;l=c.windowDims.width-(c.offset.left+c.width)}o=s?0:Math.min(o,0);a=Math.min(a,0);r=Math.min(r,0);l=Math.min(l,0);return i?r+l:n?a+o:Math.sqrt(a*a+o*o+r*r+l*l)}

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

                function removeHandler(element, events, typeEvent, handler, delegationSelector) {

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

                  function addHandler(element, originalTypeEvent, handler, delegationFunction, oneOff) {

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

                    async function topLevelLoad (url, fetchOpts, source, nativelyLoaded, lastStaticLoadPromise) {

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

                     */function ImNotTouchingYou(e,t,i,n,s){return 0===OverlapArea(e,t,i,n,s)}function OverlapArea(e,t,i,n,s){var a,o,r,l,c=GetDimensions(e);if(t){var h=GetDimensions(t);o=h.height+h.offset.top-(c.offset.top+c.height);a=c.offset.top-h.offset.top;r=c.offset.left-h.offset.left;l=h.width+h.offset.left-(c.offset.left+c.width)}else{o=c.windowDims.height+c.windowDims.offset.top-(c.offset.top+c.height);a=c.offset.top-c.windowDims.offset.top;r=c.offset.left-c.windowDims.offset.left;l=c.windowDims.width-(c.offset.left+c.width)}o=s?0:Math.min(o,0);a=Math.min(a,0);r=Math.min(r,0);l=Math.min(l,0);return i?r+l:n?a+o:Math.sqrt(a*a+o*o+r*r+l*l)}

                      Method filter_select has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                        def filter_select(builder, name, desc, facets, selected)
                      Severity: Minor
                      Found in app/helpers/search_helper.rb - About 35 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return compare & 4 ? -1 : 1;

                          Avoid too many return statements within this function.
                          Open

                                  return jQuery.makeArray( selector, this );

                            Avoid too many return statements within this function.
                            Open

                                                return results;

                              Avoid too many return statements within this function.
                              Open

                                          return value;

                                Avoid too many return statements within this function.
                                Open

                                        return ret == null ? undefined : ret;

                                  Avoid too many return statements within this function.
                                  Open

                                      return select( selector.replace( rtrim, "$1" ), context, results, seed );

                                    Avoid too many return statements within this function.
                                    Open

                                                    return ( context || root ).find( selector );

                                      Avoid too many return statements within this function.
                                      Open

                                                  return ret;

                                        Avoid too many return statements within this function.
                                        Open

                                                return key === undefined || hasOwn.call( obj, key );
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language