XoopsModules25x/smallworld

View on GitHub

Showing 759 of 1,838 total issues

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

    init: function( elem, options, prop, end, easing, unit ) {
Severity: Minor
Found in assets/js/jquery.min.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                            switch (col) {
                                case 0: calender += " ui-datepicker-group-first";
                                    cornerClass = " ui-corner-" + (isRTL ? "right" : "left"); break;
                                case numMonths[1]-1: calender += " ui-datepicker-group-last";
                                    cornerClass = " ui-corner-" + (isRTL ? "left" : "right"); break;
    Severity: Major
    Found in assets/js/jqueryui.min.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                                  if (lookAhead("'")) {
                                      output += "'";
                                  } else {
                                      literal = true;
                                  }
      Severity: Major
      Found in assets/js/jqueryui.min.js - About 45 mins to fix

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

        function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
        Severity: Minor
        Found in assets/js/jquery.min.js - About 45 mins to fix

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

                  this.beforeSend = function (event, files, index, xhr, handler, callBack) {
          Severity: Minor
          Found in assets/js/jquery.fileupload-uix.js - About 45 mins to fix

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

                addSite: function(id, display, icon, lang, category, url) {
            Severity: Minor
            Found in assets/js/jquery.bookmark.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                          if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {
                                              return true;
                                          }
              Severity: Major
              Found in assets/js/jquery.min.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                                                    if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {
                                                        return false;
                                                    }
                Severity: Major
                Found in assets/js/jquery.min.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                      for ( conv2 in converters ) {
                  
                                          // If conv2 outputs current
                                          tmp = conv2.split( " " );
                                          if ( tmp[ 1 ] === current ) {
                  Severity: Major
                  Found in assets/js/jquery.min.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                    if (embedProvider.apikey)
                                        embedProvider.apiendpoint = embedProvider.apiendpoint.replace('_APIKEY_', settings.apikeys[embedProvider.name]);
                    Severity: Major
                    Found in assets/js/jquery.oembed.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                          if ( elem && elem.parentNode ) {
                                              // Handle the case where IE, Opera, and Webkit return items
                                              // by name instead of ID
                                              if ( elem.id === m ) {
                                                  results.push( elem );
                      Severity: Major
                      Found in assets/js/jquery.min.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                        if (data.query.results.link[i].hasOwnProperty("rel")) {
                                                            if (data.query.results.link[i].rel == "apple-touch-icon") {
                                                                if (data.query.results.link[i].href.charAt(0) == "/") {
                                                                    meta["og:image"] = url.match(/^(([a-z]+:)?(\/\/)?[^\/]+\/).*$/)[1] + data.query.results.link[i].href;
                                                                } else {
                        Severity: Major
                        Found in assets/js/jquery.oembed.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                              if ( name in thisCache ) {
                                                  name = [ name ];
                                              } else {
                                                  name = name.split(" ");
                                              }
                          Severity: Major
                          Found in assets/js/jquery.min.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                    if ( hasScripts ) {
                                                        jQuery.merge( scripts, getAll( node, "script" ) );
                                                    }
                            Severity: Major
                            Found in assets/js/jquery.min.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                  if ( conv && s[ "throws" ] ) {
                                                      response = conv( response );
                                                  } else {
                                                      try {
                                                          response = conv( response );
                              Severity: Major
                              Found in assets/js/jquery.min.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                                if ( !status && options.isLocal && !options.crossDomain ) {
                                                                    status = responses.text ? 200 : 404;
                                                                // IE - #1450: sometimes returns 1223 when it should be 204
                                                                } else if ( status === 1223 ) {
                                                                    status = 204;
                                Severity: Major
                                Found in assets/js/jquery.min.js - About 45 mins to fix

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

                                          isOver: function (y, x, top, left, height, width) {
                                  Severity: Minor
                                  Found in assets/js/jquery-ui-1.8.11.custom.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                            if ( attrs[ i ] ) {
                                                                name = attrs[ i ].name;
                                                                if ( name.indexOf( "data-" ) === 0 ) {
                                                                    name = jQuery.camelCase( name.slice(5) );
                                                                    dataAttr( elem, name, data[ name ] );
                                    Severity: Major
                                    Found in assets/js/jquery.min.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                              if ( elem.id !== match[2] ) {
                                                                  return rootjQuery.find( selector );
                                                              }
                                      Severity: Major
                                      Found in assets/js/jquery.min.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                    if ( !(unmatched[i] || setMatched[i]) ) {
                                                                        setMatched[i] = pop.call( results );
                                                                    }
                                        Severity: Major
                                        Found in assets/js/jquery.min.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language