XoopsModules25x/smallworld

View on GitHub

Showing 759 of 1,838 total issues

Function open has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    open: function( event ) {
        var that = this,
            target = $( event ? event.target : this.element )
                // we need closest here due to mouseover bubbling,
                // but always pointing at the same event target
Severity: Minor
Found in assets/js/jqueryui.min.js - About 1 hr to fix

    Function datareturn has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                        datareturn: function (results) {
                            if (!results['og:title'] && results['title'] && results['description'])
                                results['og:title'] = results['title'];
    
                            if (!results['og:title'] && !results['title'])
    Severity: Minor
    Found in assets/js/jquery.oembed.js - About 1 hr to fix

      Function name has 31 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              $.fn[name] = function (options) {
                  var isMethodCall = typeof options === "string",
                      args = Array.prototype.slice.call(arguments, 1),
                      returnValue = this;
      
      
      Severity: Minor
      Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

        Function _initButtonBarEventHandlers has 31 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                _initButtonBarEventHandlers: function () {
                    var fileUploadButtonBar = this.element.find('.fileupload-buttonbar'),
                        filesList = this.options.filesContainer;
                    this._on(fileUploadButtonBar.find('.start'), {
                        click: function (e) {
        Severity: Minor
        Found in assets/js/jquery.fileupload-ui.js - About 1 hr to fix

          Function cancel has 31 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  cancel: function () {
          
                      var self = this;
          
                      if (this.dragging) {
          Severity: Minor
          Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

            Method doCheckUpdate has 31 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function doCheckUpdate()
                {
                    global $pathIcon16;
                    $version  = $this->ModuleInstallVersion();
                    $critical = false;
            Severity: Minor
            Found in class/Admin.php - About 1 hr to fix

              Function Smallworld_attachAvatarOpen has 30 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function Smallworld_attachAvatarOpen() {
                  // Open comment and update avatar imagen in new window on click
                  xoops_smallworld(function () {
                      xoops_smallworld('.smallworld_big_face, .smallworld_small_face, .smallworldAttImg').css('cursor', 'pointer');
                      xoops_smallworld('.smallworld_big_face, .smallworld_small_face, .smallworldAttImg').on('click', function (event) {
              Severity: Minor
              Found in assets/js/smallworld.js - About 1 hr to fix

                Function _determineButtonType has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    _determineButtonType: function() {
                        var ancestor, labelSelector, checked;
                
                        if ( this.element.is("[type=checkbox]") ) {
                            this.type = "checkbox";
                Severity: Minor
                Found in assets/js/jqueryui.min.js - About 1 hr to fix

                  Function stop has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      stop: function( event ) {
                          var that = $(this).resizable( "instance" ),
                              o = that.options,
                              pr = that._proportionallyResizeElements,
                              ista = pr.length && (/textarea/i).test(pr[0].nodeName),
                  Severity: Minor
                  Found in assets/js/jqueryui.min.js - About 1 hr to fix

                    Function handlers has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        handlers: function( event, handlers ) {
                            var sel, handleObj, matches, i,
                                handlerQueue = [],
                                delegateCount = handlers.delegateCount,
                                cur = event.target;
                    Severity: Minor
                    Found in assets/js/jquery.min.js - About 1 hr to fix

                      Function promise has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      jQuery.ready.promise = function( obj ) {
                          if ( !readyList ) {
                      
                              readyList = jQuery.Deferred();
                      
                      
                      Severity: Minor
                      Found in assets/js/jquery.min.js - About 1 hr to fix

                        Function _createButtons has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            _createButtons: function() {
                                var that = this,
                                    buttons = this.options.buttons;
                        
                                // if we already have a button pane, remove it
                        Severity: Minor
                        Found in assets/js/jqueryui.min.js - About 1 hr to fix

                          Function to has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          spaces.hsla.to = function( rgba ) {
                              if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
                                  return [ null, null, null, rgba[ 3 ] ];
                              }
                              var r = rgba[ 0 ] / 255,
                          Severity: Minor
                          Found in assets/js/jqueryui.min.js - About 1 hr to fix

                            Function attr has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                attr: function( elem, name, value ) {
                                    var hooks, ret,
                                        nType = elem.nodeType;
                            
                                    // don't get/set attributes on text, comment and attribute nodes
                            Severity: Minor
                            Found in assets/js/jquery.min.js - About 1 hr to fix

                              Function create has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      create: function (dialog) {
                                          if (this.instances.length === 0) {
                                              // prevent use of anchors and inputs
                                              // we use a setTimeout in case the overlay is created from an
                                              // event that we're going to be cancelling (see #2804)
                              Severity: Minor
                              Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

                                Function _attachments has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                        _attachments: function (input, inst) {
                                            var appendText = this._get(inst, 'appendText');
                                            var isRTL = this._get(inst, 'isRTL');
                                            if (inst.append)
                                                inst.append.remove();
                                Severity: Minor
                                Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

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

                                          drag: function (event, ui) {
                                  
                                              var i = $(this).data("draggable"), o = i.options, scrolled = false;
                                  
                                              if (i.scrollParent[0] != document && i.scrollParent[0].tagName != 'HTML') {
                                  Severity: Minor
                                  Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

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

                                        $.effects.clip = function (o) {
                                    
                                            return this.queue(function () {
                                    
                                                // Create element
                                    Severity: Minor
                                    Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

                                      Function shake has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          $.effects.shake = function (o) {
                                      
                                              return this.queue(function () {
                                      
                                                  // Create element
                                      Severity: Minor
                                      Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

                                        Function pulsate has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            $.effects.pulsate = function (o) {
                                                return this.queue(function () {
                                                    var elem = $(this),
                                                        mode = $.effects.setMode(elem, o.options.mode || 'show');
                                                    times = ((o.options.times || 5) * 2) - 1;
                                        Severity: Minor
                                        Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language