XoopsModules25x/smallworld

View on GitHub

Showing 759 of 1,838 total issues

Function explode has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var effectExplode = $.effects.effect.explode = function( o, done ) {

    var rows = o.pieces ? Math.round( Math.sqrt( o.pieces ) ) : 3,
        cells = rows,
        el = $( this ),
Severity: Major
Found in assets/js/jqueryui.min.js - About 2 hrs to fix

    Function CHILD has 59 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            "CHILD": function( type, what, argument, first, last ) {
                var simple = type.slice( 0, 3 ) !== "nth",
                    forward = type.slice( -4 ) !== "last",
                    ofType = what === "of-type";
    
    
    Severity: Major
    Found in assets/js/jquery.min.js - About 2 hrs to fix

      Function Deferred has 59 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          Deferred: function( func ) {
              var tuples = [
                      // action, add listener, listener list, final state
                      [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],
                      [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],
      Severity: Major
      Found in assets/js/jquery.min.js - About 2 hrs to fix

        Function _buildLayout has 59 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                _buildLayout: function (inst, show, layout, compact, significant, showSignificant) {
                    var labels = inst.options[compact ? 'compactLabels' : 'labels'];
                    var whichLabels = inst.options.whichLabels || this._normalLabels;
                    var labelFor = function (index) {
                        return (inst.options[(compact ? 'compactLabels' : 'labels') +
        Severity: Major
        Found in assets/js/jquery.countdown.js - About 2 hrs to fix

          Consider simplifying this complex logical expression.
          Open

                              if (
                                  (event.which === $.ui.keyCode.COMMA && event.shiftKey === false) ||
                                  event.which === $.ui.keyCode.ENTER ||
                                  (
                                      event.which == $.ui.keyCode.TAB &&
          Severity: Critical
          Found in assets/js/tag-it.js - About 2 hrs to fix

            Consider simplifying this complex logical expression.
            Open

                                    if ( forward && useCache ) {
                                        // Seek `elem` from a previously-cached index
                                        outerCache = parent[ expando ] || (parent[ expando ] = {});
                                        cache = outerCache[ type ] || [];
                                        nodeIndex = cache[0] === dirruns && cache[1];
            Severity: Critical
            Found in assets/js/jquery.min.js - About 2 hrs to fix

              Function refresh has 58 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                          refresh: function () {
                              var imageData = this.currentImage;
                              if (!imageData)
                                  return this;
              
              
              Severity: Major
              Found in assets/js/jquery.galleriffic.js - About 2 hrs to fix

                Function _generateHTML has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        _generateHTML: function (inst) {
                            var self = this;
                            // Determine what to show
                            inst._periods = (inst._hold ? inst._periods :
                                this._calculatePeriods(inst, inst._show, inst.options.significant, new Date()));
                Severity: Major
                Found in assets/js/jquery.countdown.js - About 2 hrs to fix

                  Function _initXHRData has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          _initXHRData: function (options) {
                              var formData,
                                  file = options.files[0],
                                  // Ignore non-multipart setting if not supported:
                                  multipart = options.multipart || !$.support.xhrFileUpload,
                  Severity: Major
                  Found in assets/js/jquery.fileupload.js - About 2 hrs to fix

                    Function _mouseCapture has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            _mouseCapture: function (event) {
                                var o = this.options,
                                    position,
                                    normValue,
                                    distance,
                    Severity: Major
                    Found in assets/js/jquery-ui-1.8.11.custom.js - About 2 hrs to fix

                      Function _open has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          _open: function( event, target, content ) {
                              var tooltipData, tooltip, delayedShow, a11yContent,
                                  positionOption = $.extend( {}, this.options.position );
                      
                              if ( !content ) {
                      Severity: Major
                      Found in assets/js/jqueryui.min.js - About 2 hrs to fix

                        File jquery.fileupload-uix.js has 261 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        /*
                         * jQuery File Upload User Interface Extended Plugin 4.4.1
                         * https://github.com/blueimp/jQuery-File-Upload
                         *
                         * Copyright 2010, Sebastian Tschan
                        Severity: Minor
                        Found in assets/js/jquery.fileupload-uix.js - About 2 hrs to fix

                          Function _generateMonthYearHeader has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
                                      secondary, monthNames, monthNamesShort) {
                          
                                  var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear,
                                      changeMonth = this._get(inst, "changeMonth"),
                          Severity: Major
                          Found in assets/js/jqueryui.min.js - About 2 hrs to fix

                            Function _setContainment has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                _setContainment: function() {
                            
                                    var isUserScrollable, c, ce,
                                        o = this.options,
                                        document = this.document[ 0 ];
                            Severity: Major
                            Found in assets/js/jqueryui.min.js - About 2 hrs to fix

                              Function createWrapper has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  createWrapper: function( element ) {
                              
                                      // if the element is already wrapped, return it
                                      if ( element.parent().is( ".ui-effects-wrapper" )) {
                                          return element.parent();
                              Severity: Major
                              Found in assets/js/jqueryui.min.js - About 2 hrs to fix

                                Function ajaxConvert has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function ajaxConvert( s, response, jqXHR, isSuccess ) {
                                    var conv2, current, conv, tmp, prev,
                                        converters = {},
                                        // Work with a copy of dataTypes in case we need to modify it for conversion
                                        dataTypes = s.dataTypes.slice();
                                Severity: Major
                                Found in assets/js/jquery.min.js - About 2 hrs to fix

                                  Function Countdown has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function Countdown() {
                                          this.regional = []; // Available regional settings, indexed by language code
                                          this.regional[''] = { // Default regional settings
                                              // The display texts for the counters
                                              labels: ['Years', 'Months', 'Weeks', 'Days', 'Hours', 'Minutes', 'Seconds'],
                                  Severity: Major
                                  Found in assets/js/jquery.countdown.js - About 2 hrs to fix

                                    Function _refreshValue has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            _refreshValue: function () {
                                                var oRange = this.options.range,
                                                    o = this.options,
                                                    self = this,
                                                    animate = (!this._animateOff) ? o.animate : false,
                                    Severity: Major
                                    Found in assets/js/jquery-ui-1.8.11.custom.js - About 2 hrs to fix

                                      Method resizeImage has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public function resizeImage()
                                          {
                                              // check file extension
                                              switch ($this->imageMimetype) {
                                                  case'image/png':
                                      Severity: Major
                                      Found in class/Common/Resizer.php - About 2 hrs to fix

                                        Function _setOption has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            _setOption: function( key, value ) {
                                                var i,
                                                    valsLength = 0;
                                        
                                                if ( key === "range" && this.options.range === true ) {
                                        Severity: Major
                                        Found in assets/js/jqueryui.min.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language