XoopsModules25x/xoopsinfo

View on GitHub

Showing 1,065 of 16,781 total issues

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 phpsysinfo/js/jQuery/jquery.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                            if ( cOption == aoFeatures[k].cFeature )
                            {
                                nTmp = aoFeatures[k].fnInit( oSettings );
                                if ( nTmp )
                                {
    Severity: Major
    Found in phpsysinfo/js/jQuery/jquery.dataTables.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 phpsysinfo/js/jQuery/jquery.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                                if ( matches[ sel ] === undefined ) {
                                    matches[ sel ] = handleObj.needsContext ?
                                        jQuery( sel, this ).index( cur ) > -1 :
                                        jQuery.find( sel, this, null, [ cur ] ).length;
                                }
        Severity: Major
        Found in phpsysinfo/js/jQuery/jquery.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                              if ( rscriptType.test( node.type || "" ) &&
                                  !jQuery._data( node, "globalEval" ) &&
                                  jQuery.contains( doc, node ) ) {
          
                                  if ( node.src ) {
          Severity: Major
          Found in phpsysinfo/js/jQuery/jquery.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                        if ( nRow == oSettings.aoOpenRows[k].nParent )
                                        {
                                            anRows.push( oSettings.aoOpenRows[k].nTr );
                                        }
            Severity: Major
            Found in phpsysinfo/js/jQuery/jquery.dataTables.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                      else if ( nTds[i].className.indexOf(sClass+"2") != -1 )
                                      {
                                          for ( j=0, jLen=(nTds.length/iColumns) ; j<jLen ; j++ )
                                          {
                                              nTds[(iColumns*j)+i].className = 
              Severity: Major
              Found in phpsysinfo/js/jQuery/jquery.dataTables.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 phpsysinfo/js/jQuery/jquery.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                     if (bats[i]["@attributes"].FullCapacity !== undefined) {
                                         delete bats[i]["@attributes"].FullCapacity;
                                     }
                  Severity: Major
                  Found in phpsysinfo/plugins/bat/js/bat_bootstrap.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                        if (!isNaN(parseInt(raiditems[i]["@attributes"].Size))) html += "<tr class=\"treegrid-parent-raid-" + i + "\"><td><span class=\"treegrid-spanbold\">"+genlang(6, 'raid')+"</span></td><td>" + formatBytes(parseInt(raiditems[i]["@attributes"].Size), data.Options["@attributes"].byteFormat) + "</td></tr>";// Size
                    Severity: Major
                    Found in phpsysinfo/plugins/raid/js/raid_bootstrap.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                          if (!isNaN(parseInt(raiditems[i]["@attributes"].Spares))) html += "<tr class=\"treegrid-parent-raid-" + i + "\"><td><span class=\"treegrid-spanbold\">"+genlang(10, 'raid')+"</span></td><td>" + parseInt(raiditems[i]["@attributes"].Spares) + "</td></tr>"; // Spares
                      Severity: Major
                      Found in phpsysinfo/plugins/raid/js/raid_bootstrap.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                            if (raiditems[i]["@attributes"].Battery !== undefined) html += "<tr class=\"treegrid-parent-raid-" + i + "\"><td><span class=\"treegrid-spanbold\">"+genlang(20, 'raid')+"</span></td><td>" + raiditems[i]["@attributes"].Battery + "</td></tr>"; // Battery Condition
                        Severity: Major
                        Found in phpsysinfo/plugins/raid/js/raid_bootstrap.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 phpsysinfo/js/jQuery/jquery.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                            if ( typeof xhr.responseText === "string" ) {
                                                                responses.text = xhr.responseText;
                                                            }
                            Severity: Major
                            Found in phpsysinfo/js/jQuery/jquery.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                          } else if (currentSettings.type == 'iframeForm') {
                                              initModal();
                                              modal.tmp.html('<iframe frameborder="0" hspace="0" src="javascript:\'\';" name="nyroModalIframe" id="nyroModalIframe"></iframe>');
                                              debug('Iframe Form Load: '+url);
                                              $('iframe', modal.tmp).eq(0)
                              Severity: Major
                              Found in phpsysinfo/js/jQuery/jquery.nyroModal.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                        if (!modal.resizing) {
                                                            settings.setHeight = settings.height;
                                                            shouldResize = true;
                                                        }
                                Severity: Major
                                Found in phpsysinfo/js/jQuery/jquery.nyroModal.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                      if (raiditems[i]["@attributes"].Level !== undefined) html += "<tr class=\"treegrid-parent-raid-" + i + "\"><td><span class=\"treegrid-spanbold\">"+genlang(5, 'raid')+"</span></td><td>" + raiditems[i]["@attributes"].Level + "</td></tr>"; // RAID-Level
                                  Severity: Major
                                  Found in phpsysinfo/plugins/raid/js/raid_bootstrap.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                        if (!isNaN(parseInt(raiditems[i]["@attributes"].Chunk_Size))) html += "<tr class=\"treegrid-parent-raid-" + i + "\"><td><span class=\"treegrid-spanbold\">"+genlang(13, 'raid')+"</span></td><td>" + parseInt(raiditems[i]["@attributes"].Chunk_Size) + "K</td></tr>";
                                    Severity: Major
                                    Found in phpsysinfo/plugins/raid/js/raid_bootstrap.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                          if (raiditems[i]["@attributes"].WritePolicy !== undefined) html += "<tr class=\"treegrid-parent-raid-" + i + "\"><td><span class=\"treegrid-spanbold\">"+genlang(24, 'raid')+"</span></td><td>" + raiditems[i]["@attributes"].WritePolicy + "</td></tr>"; // Write Policy
                                      Severity: Major
                                      Found in phpsysinfo/plugins/raid/js/raid_bootstrap.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                            if ( ( ofType ?
                                                                                node.nodeName.toLowerCase() === name :
                                                                                node.nodeType === 1 ) &&
                                                                                ++diff ) {
                                        
                                        
                                        Severity: Major
                                        Found in phpsysinfo/js/jQuery/jquery.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language