XoopsModules25x/smallworld

View on GitHub

Showing 759 of 1,838 total issues

Function access has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
    var i = 0,
        length = elems.length,
        bulk = key == null;

Severity: Minor
Found in assets/js/jquery.min.js - About 1 hr to fix

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

    var effectPulsate = $.effects.effect.pulsate = function( o, done ) {
        var elem = $( this ),
            mode = $.effects.setMode( elem, o.mode || "show" ),
            show = mode === "show",
            hide = mode === "hide",
    Severity: Minor
    Found in assets/js/jqueryui.min.js - About 1 hr to fix

      Function dispatch has 35 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          dispatch: function( event ) {
      
              // Make a writable jQuery.Event from the native event object
              event = jQuery.event.fix( event );
      
      
      Severity: Minor
      Found in assets/js/jquery.min.js - About 1 hr to fix

        Function effect has 35 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            effect: function( /* effect, options, speed, callback */ ) {
                var args = _normalizeArguments.apply( this, arguments ),
                    mode = args.mode,
                    queue = args.queue,
                    effectMethod = $.effects.effect[ args.effect ];
        Severity: Minor
        Found in assets/js/jqueryui.min.js - About 1 hr to fix

          Function clone has 35 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              clone: function( elem, dataAndEvents, deepDataAndEvents ) {
                  var destElements, node, clone, i, srcElements,
                      inPage = jQuery.contains( elem.ownerDocument, elem );
          
                  if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {
          Severity: Minor
          Found in assets/js/jquery.min.js - About 1 hr to fix

            Function showHide has 35 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function showHide( elements, show ) {
                var display, elem, hidden,
                    values = [],
                    index = 0,
                    length = elements.length;
            Severity: Minor
            Found in assets/js/jquery.min.js - About 1 hr to fix

              Function send has 35 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                              send = function () {
                                  that._sending += 1;
                                  // Set timer for bitrate progress calculation:
                                  options._bitrateTimer = new that._BitrateTimer();
                                  jqXHR = jqXHR || (
              Severity: Minor
              Found in assets/js/jquery.fileupload.js - About 1 hr to fix

                Function _resetButton has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        _resetButton: function () {
                            if (this.type === "input") {
                                if (this.options.label) {
                                    this.element.val(this.options.label);
                                }
                Severity: Minor
                Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

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

                          _possibleChars: function (format) {
                              var chars = '';
                              var literal = false;
                              // Check whether a format character is doubled
                              var lookAhead = function (match) {
                  Severity: Minor
                  Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

                    Function _position has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            _position: function (position) {
                                var myAt = [],
                                    offset = [0, 0],
                                    isVisible;
                    
                    
                    Severity: Minor
                    Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

                      Method eventCoreHeaderAddmeta has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public static function eventCoreHeaderAddmeta()
                          {
                              //Load language if not defined
                              smallworld_isDefinedLanguage('_SMALLWORLD_SYSERROR', 'main.php');
                              
                      Severity: Minor
                      Found in preloads/core.php - About 1 hr to fix

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

                                _createButtons: function (buttons) {
                                    var self = this,
                                        hasButtons = false,
                                        uiDialogButtonPane = $('<div></div>')
                                            .addClass(
                        Severity: Minor
                        Found in assets/js/jquery-ui-1.8.11.custom.js - About 1 hr to fix

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

                              private function handle_file_upload($uploaded_file, $name, $size, $type, $error)
                              {
                                  global $xoopsUser;
                                  $file   = new stdClass();
                                  $db     = new SmallWorldDB;
                          Severity: Minor
                          Found in class/uploadclass.php - About 1 hr to fix

                            Method create_thumbnail has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                private function create_thumbnail($file_name)
                                {
                                    $file_path      = $this->upload_dir . $file_name;
                                    $thumbnail_path = $this->thumbnails_dir . $file_name;
                                    list($img_width, $img_height) = @getimagesize($file_path);
                            Severity: Minor
                            Found in class/SwUploadHandler.php - About 1 hr to fix

                              Method create_thumbnail has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  private function create_thumbnail($file_name)
                                  {
                                      $file_path      = $this->upload_dir . $file_name;
                                      $thumbnail_path = $this->thumbnails_dir . $file_name;
                                      list($img_width, $img_height) = @getimagesize($file_path);
                              Severity: Minor
                              Found in class/uploadclass.php - About 1 hr to fix

                                Function initGalleryEvents has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                        initGalleryEvents: function () {
                                            var $this = this,
                                                modal = this.$element;
                                            modal.find('.modal-image').on('click.modal-gallery', function (e) {
                                                var modalImage = $(this);
                                Severity: Minor
                                Found in assets/js/uploader/bootstrap-image-gallery.js - About 1 hr to fix

                                  Function loadImage has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          loadImage: function () {
                                              var $this = this,
                                                  modal = this.$element,
                                                  index = this.options.index,
                                                  url = this.getUrl(this.$links[index]),
                                  Severity: Minor
                                  Found in assets/js/uploader/bootstrap-image-gallery.js - About 1 hr to fix

                                    Function _slide has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        _slide: function( event, index, newVal ) {
                                            var otherVal,
                                                newValues,
                                                allowed;
                                    
                                    
                                    Severity: Minor
                                    Found in assets/js/jqueryui.min.js - About 1 hr to fix

                                      Function _makeDraggable has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          _makeDraggable: function() {
                                              var that = this,
                                                  options = this.options;
                                      
                                              function filteredUi( ui ) {
                                      Severity: Minor
                                      Found in assets/js/jqueryui.min.js - About 1 hr to fix

                                        Function _eventHandler has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            _eventHandler: function( event ) {
                                                var options = this.options,
                                                    active = this.active,
                                                    anchor = $( event.currentTarget ),
                                                    tab = anchor.closest( "li" ),
                                        Severity: Minor
                                        Found in assets/js/jqueryui.min.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language