mambax7/extgallery

View on GitHub

Showing 9,653 of 9,653 total issues

Method PclTarHandleExtractByIndex has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        $p_tar,
        &$p_index_current,
        $p_index_start,
        $p_index_stop,
        &$p_list_detail,
Severity: Major
Found in class/pcltar.lib.php - About 1 hr to fix

    Method gal_getWysiwygForm has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    function gal_getWysiwygForm($caption, $name, $value, $rows, $cols, $width, $height, $supplemental)
    Severity: Major
    Found in include/functions0.php - About 1 hr to fix

      Method _raiseError has 8 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              $object,
              $message = null,
              $code = null,
              $mode = null,
              $options = null,
      Severity: Major
      Found in class/pear/PEAR.php - About 1 hr to fix

        Identical blocks of code found in 2 locations. Consider refactoring.
        Open

                showAll : function() {
        
                    self.clearTimer( 'idle' );
        
                    $.each( idle.trunk, function( i, elem ) {
        Severity: Major
        Found in assets/js/galleria/galleria-1.3.3.js and 1 other location - About 1 hr to fix
        assets/js/galleria/galleria-1.3.5.js on lines 2095..2102

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 55.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Identical blocks of code found in 2 locations. Consider refactoring.
        Open

            removePan: function() {
        
                // todo: doublecheck IE8
        
                this.$( 'stage' ).off( 'mousemove' );
        Severity: Major
        Found in assets/js/galleria/galleria-1.3.3.js and 1 other location - About 1 hr to fix
        assets/js/galleria/galleria-1.3.5.js on lines 4434..4443

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 55.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Method getWysiwygForm has 8 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public static function getWysiwygForm($caption, $name, $value, $rows, $cols, $width, $height, $supplemental)
        Severity: Major
        Found in class/Utility.php - About 1 hr to fix

          Identical blocks of code found in 2 locations. Consider refactoring.
          Open

              removePan: function() {
          
                  // todo: doublecheck IE8
          
                  this.$( 'stage' ).off( 'mousemove' );
          Severity: Major
          Found in assets/js/galleria/galleria-1.3.5.js and 1 other location - About 1 hr to fix
          assets/js/galleria/galleria-1.3.3.js on lines 4416..4425

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 55.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Identical blocks of code found in 2 locations. Consider refactoring.
          Open

                  showAll : function() {
          
                      self.clearTimer( 'idle' );
          
                      $.each( idle.trunk, function( i, elem ) {
          Severity: Major
          Found in assets/js/galleria/galleria-1.3.5.js and 1 other location - About 1 hr to fix
          assets/js/galleria/galleria-1.3.3.js on lines 2090..2097

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 55.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 2 locations. Consider refactoring.
          Open

                              pager.append('<a rel="history" href="#'+this.data[nextPage].hash+'" title="'+this.nextPageLinkText+'">'+this.nextPageLinkText+'</a>');
          Severity: Major
          Found in assets/js/galleriffic/jquery.galleriffic.js and 1 other location - About 1 hr to fix
          assets/js/galleriffic/jquery.galleriffic.js on lines 816..816

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 55.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 2 locations. Consider refactoring.
          Open

                              pager.append('<a rel="history" href="#'+this.data[prevPage].hash+'" title="'+this.prevPageLinkText+'">'+this.prevPageLinkText+'</a>');
          Severity: Major
          Found in assets/js/galleriffic/jquery.galleriffic.js and 1 other location - About 1 hr to fix
          assets/js/galleriffic/jquery.galleriffic.js on lines 847..847

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 55.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Each class must be in a namespace of at least one level (a top-level vendor name)
          Open

          class MagnificPopupBlockController extends BlockController

          Each class must be in a namespace of at least one level (a top-level vendor name)
          Open

          class MagnificPopupPackage extends Package

          Each class must be in a namespace of at least one level (a top-level vendor name)
          Open

          class Parsedown

          Each class must be in a namespace of at least one level (a top-level vendor name)
          Open

          class MetaSlider_Widget extends WP_Widget

          Each class must be in a namespace of at least one level (a top-level vendor name)
          Open

          class MetaSliderImageHelper

          Each class must be in a namespace of at least one level (a top-level vendor name)
          Open

          class MetaImageSlide extends MetaSlide

          Each class must be in a namespace of at least one level (a top-level vendor name)
          Open

          class MetaCoinSlider extends MetaSlider

          Each class must be in a namespace of at least one level (a top-level vendor name)
          Open

          class ExtgalleryCorePreload extends \XoopsPreloadItem
          Severity: Minor
          Found in preloads/core.php by phpcodesniffer

          Each class must be in a namespace of at least one level (a top-level vendor name)
          Open

          class MetaSlide

          Each class must be in a namespace of at least one level (a top-level vendor name)
          Open

          class rex_magnific_popup_utils
          Severity
          Category
          Status
          Source
          Language