mambax7/extgallery

View on GitHub

Showing 701 of 9,653 total issues

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

    add: function(handleObj) {
        var prop = this.propagate;
        if ( Galleria.TOUCH ) {
            $(this).on('touchstart.fast', function start(e) {
                var ev = e.originalEvent,
Severity: Minor
Found in assets/js/galleria/galleria-1.3.5.js - About 1 hr to fix

    Function galleria has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    $.fn.galleria = function( options ) {
    
        var selector = this.selector;
    
        // try domReady if element not found
    Severity: Minor
    Found in assets/js/galleria/galleria-1.3.5.js - About 1 hr to fix

      Function show has 29 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                  show : function( elem, speed, callback ) {
      
                      callback = callback || F;
      
                      var $elem = $(elem);
      Severity: Minor
      Found in assets/js/galleria/galleria-1.3.3.js - About 1 hr to fix

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

            add: function(handleObj) {
                var prop = this.propagate;
                if ( Galleria.TOUCH ) {
                    $(this).on('touchstart.fast', function start(e) {
                        var ev = e.originalEvent,
        Severity: Minor
        Found in assets/js/galleria/galleria-1.3.3.js - About 1 hr to fix

          Function fadeslide has 29 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  fadeslide: function(params, complete) {
          
                      var x = 0,
                          easing = this.getOptions('easing');
          
          
          Severity: Minor
          Found in assets/js/galleria/galleria-1.1.js - About 1 hr to fix

            Function bindControls has 29 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    bindControls: function() {
            
                        carousel.next.bind( CLICK(), function(e) {
                            e.preventDefault();
            
            
            Severity: Minor
            Found in assets/js/galleria/galleria-1.1.js - About 1 hr to fix

              Function fancybox has 29 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  $.fancybox = function(obj) {
                      var opts;
              
                      if (busy) {
                          return;
              Severity: Minor
              Found in assets/js/fancybox/fancybox.js - About 1 hr to fix

                Function getAjax has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        getAjax: function(item) {
                
                            if(_ajaxCur)
                                _body.addClass(_ajaxCur);
                
                
                Severity: Minor
                Found in assets/js/magnific_popup/jquery.magnific-popup.js - About 1 hr to fix

                  Function updateItemHTML has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      updateItemHTML: function() {
                          var item = mfp.items[mfp.index];
                  
                          // Detach and perform modifications
                          mfp.contentContainer.detach();
                  Severity: Minor
                  Found in assets/js/magnific_popup/jquery.magnific-popup.js - About 1 hr to fix

                    Method moduleLastVersionInfo has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function moduleLastVersionInfo()
                    {
                        static $result;
                    
                        if (isset($result)) {
                    Severity: Minor
                    Found in admin/moduleUpdateFunction.php - About 1 hr to fix

                      Method staticPopErrorHandling has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public static function staticPopErrorHandling()
                          {
                              $stack      = &$GLOBALS['_PEAR_error_handler_stack'];
                              $setmode    = &$GLOBALS['_PEAR_default_error_mode'];
                              $setoptions = &$GLOBALS['_PEAR_default_error_options'];
                      Severity: Minor
                      Found in class/pear/PEAR.php - About 1 hr to fix

                        Method _PEAR_call_destructors has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function _PEAR_call_destructors()
                        {
                            global $_PEAR_destructor_object_list;
                            if (is_array($_PEAR_destructor_object_list)
                                && count($_PEAR_destructor_object_list)) {
                        Severity: Minor
                        Found in class/pear/PEAR.php - About 1 hr to fix

                          Method _setErrorHandling has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              protected static function _setErrorHandling(
                                  $object,
                                  $mode = null,
                                  $options = null
                              ) {
                          Severity: Minor
                          Found in class/pear/PEAR.php - About 1 hr to fix

                            Method update_menu_order has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public function update_menu_order()
                                {
                                    $menu_order = 0;
                            
                                    // get the slide with the highest menu_order so far
                            Severity: Minor
                            Found in assets/js/ml-slider/inc/slide/metaslide.class.php - About 1 hr to fix

                              Method checkWpFooter has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  private function checkWpFooter()
                                  {
                                      $current_theme = wp_get_theme();
                                      $theme_name    = $current_theme->Template;
                              
                              
                              Severity: Minor
                              Found in assets/js/ml-slider/inc/metaslider.systemcheck.class.php - About 1 hr to fix

                                Method Create has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    public function Create($sFilename = '')
                                    {
                                        // check for required gd functions
                                        if (!\function_exists('imagecreate') || !\function_exists("image$this->sFileType")
                                            || ('' != $this->vBackgroundImages && !\function_exists('imagecreatetruecolor'))) {
                                Severity: Minor
                                Found in class/PhpCaptcha.php - About 1 hr to fix

                                  Method updateBlock has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      function updateBlock($bid, $btitle, $bside, $bweight, $bvisible, $bcachetime, $bmodule, $options, $groups)
                                  Severity: Major
                                  Found in admin/blocksadmin.php - About 1 hr to fix

                                    Function _getWH has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        _getWH : function() {
                                    
                                            var $container = this.$( 'container' ),
                                                $target = this.$( 'target' ),
                                                self = this,
                                    Severity: Minor
                                    Found in assets/js/galleria/galleria-1.3.3.js - About 1 hr to fix

                                      Function _getWH has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          _getWH : function() {
                                      
                                              var $container = this.$( 'container' ),
                                                  $target = this.$( 'target' ),
                                                  self = this,
                                      Severity: Minor
                                      Found in assets/js/galleria/galleria-1.3.5.js - About 1 hr to fix

                                        Function historyInit has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            historyInit: function(callback, src){
                                                jQuery.historyCallback = callback;
                                                if (src) jQuery.historyIframeSrc = src;
                                                var current_hash = location.hash.replace(/\?.*$/, '');
                                        
                                        
                                        Severity: Minor
                                        Found in assets/js/galleriffic/jquery.history.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language