XoopsModules25x/smallworld

View on GitHub

Showing 759 of 1,838 total issues

Function drag has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    drag: function( event, ui, i  ) {

        var o = i.options,
            scrolled = false,
            scrollParent = i.scrollParentNotHidden[ 0 ],
Severity: Minor
Found in assets/js/jqueryui.min.js - About 1 hr to fix

    Function _toggle has 38 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        _toggle: function( data ) {
            var toShow = data.newPanel,
                toHide = this.prevShow.length ? this.prevShow : data.oldPanel;
    
            // handle activating a panel during the animation for another activation
    Severity: Minor
    Found in assets/js/jqueryui.min.js - About 1 hr to fix

      Function each has 38 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          each: function( obj, callback, args ) {
              var value,
                  i = 0,
                  length = obj.length,
                  isArray = isArraylike( obj );
      Severity: Minor
      Found in assets/js/jquery.min.js - About 1 hr to fix

        Function _drawButton has 38 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _drawButton: function() {
                var that = this;
        
                // Associate existing label with the new button
                this.label = $( "label[for='" + this.ids.element + "']" ).attr( "for", this.ids.button );
        Severity: Minor
        Found in assets/js/jqueryui.min.js - About 1 hr to fix

          Function _size has 38 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  _size: function () {
                      /* If the user has resized the dialog, the .ui-dialog and .ui-dialog-content
                   * divs will both have width and height set, so we need to reset them
                   */
                      var options = this.options,
          Severity: Minor
          Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

            Function animateClass has 38 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                $.effects.animateClass = function (value, duration, easing, callback) {
                    if ($.isFunction(easing)) {
                        callback = easing;
                        easing = null;
                    }
            Severity: Minor
            Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

              Function drag has 37 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  drag: function( draggable, event ) {
              
                      // If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
                      if ( draggable.options.refreshPositions ) {
                          $.ui.ddmanager.prepareOffsets( draggable, event );
              Severity: Minor
              Found in assets/js/jqueryui.min.js - About 1 hr to fix

                Function _possibleChars has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    _possibleChars: function (format) {
                        var iFormat,
                            chars = "",
                            literal = false,
                            // Check whether a format character is doubled
                Severity: Minor
                Found in assets/js/jqueryui.min.js - About 1 hr to fix

                  Function destroy has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          destroy: function () {
                              $.Widget.prototype.destroy.call(this);
                  
                              this.element.unbind('.tagit');
                              this.tagList.unbind('.tagit');
                  Severity: Minor
                  Found in assets/js/tag-it.js - About 1 hr to fix

                    Function drop has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    var effectDrop = $.effects.effect.drop = function( o, done ) {
                    
                        var el = $( this ),
                            props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
                            mode = $.effects.setMode( el, o.mode || "hide" ),
                    Severity: Minor
                    Found in assets/js/jqueryui.min.js - About 1 hr to fix

                      Function ajaxHandleResponses has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function ajaxHandleResponses( s, jqXHR, responses ) {
                          var firstDataType, ct, finalDataType, type,
                              contents = s.contents,
                              dataTypes = s.dataTypes;
                      
                      
                      Severity: Minor
                      Found in assets/js/jquery.min.js - About 1 hr to fix

                        Function intersect has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            $.ui.intersect = function (draggable, droppable, toleranceMode) {
                        
                                if (!droppable.offset) return false;
                        
                                var x1 = (draggable.positionAbs || draggable.position.absolute).left, x2 = x1 + draggable.helperProportions.width,
                        Severity: Minor
                        Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

                          Function drag has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                  drag: function (event, ui) {
                          
                                      var inst = $(this).data("draggable"), o = inst.options;
                                      var d = o.snapTolerance;
                          
                          
                          Severity: Minor
                          Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

                            Function _mouseStart has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    _mouseStart: function (event) {
                            
                                        var o = this.options;
                            
                                        //Create and append the visible helper
                            Severity: Minor
                            Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

                              Function add has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      add: function (url, label, index) {
                                          if (index === undefined) {
                                              index = this.anchors.length;
                                          }
                              
                              
                              Severity: Minor
                              Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

                                Function offsetString has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                            var offsetString = function (offset) {
                                                try {
                                                    return $.datepicker.parseDate($.datepicker._get(inst, 'dateFormat'),
                                                        offset, $.datepicker._getFormatConfig(inst));
                                                }
                                Severity: Minor
                                Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

                                  Method handle_file_upload has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      private function handle_file_upload($uploaded_file, $name, $size, $type, $error)
                                      {
                                          $file   = new \stdClass();
                                          $swDB   = new SwDatabase();
                                          $userid = ($GLOBALS['xoopsUser'] && ($GLOBALS['xoopsUser'] instanceof \XoopsUser)) ? $GLOBALS['xoopsUser']->uid() : 0;
                                  Severity: Minor
                                  Found in class/SwUploadHandler.php - About 1 hr to fix

                                    Method rotateImage has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public function rotateImage()
                                        {
                                            // check file extension
                                            switch ($this->imageMimetype) {
                                                case 'image/png':
                                    Severity: Minor
                                    Found in class/Common/Resizer.php - About 1 hr to fix

                                      Function rebuildThumbs has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                                  rebuildThumbs: function () {
                                                      var needsPagination = this.data.length > this.numThumbs;
                                      
                                                      // Rebuild top pager
                                                      if (this.enableTopPager) {
                                      Severity: Minor
                                      Found in assets/js/jquery.galleriffic.js - About 1 hr to fix

                                        Function clip has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        var effectClip = $.effects.effect.clip = function( o, done ) {
                                            // Create element
                                            var el = $( this ),
                                                props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
                                                mode = $.effects.setMode( el, o.mode || "hide" ),
                                        Severity: Minor
                                        Found in assets/js/jqueryui.min.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language