Semantic-Org/Semantic-UI

View on GitHub

Showing 246 of 804 total issues

Function embed has 511 lines of code (exceeds 25 allowed). Consider refactoring.
Open

$.fn.embed = function(parameters) {

  var
    $allModules     = $(this),

Severity: Major
Found in src/definitions/modules/embed.js - About 2 days to fix

    Function accordion has 507 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    $.fn.accordion = function(parameters) {
      var
        $allModules     = $(this),
    
        time            = new Date().getTime(),
    Severity: Major
    Found in src/definitions/modules/accordion.js - About 2 days to fix

      File api.js has 1000 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /*!
       * # Semantic UI - API
       * http://github.com/semantic-org/semantic-ui/
       *
       *
      Severity: Major
      Found in src/definitions/behaviors/api.js - About 2 days to fix

        File transition.js has 965 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /*!
         * # Semantic UI - Transition
         * http://github.com/semantic-org/semantic-ui/
         *
         *
        Severity: Major
        Found in src/definitions/modules/transition.js - About 2 days to fix

          File modal.js has 940 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /*!
           * # Semantic UI - Modal
           * http://github.com/semantic-org/semantic-ui/
           *
           *
          Severity: Major
          Found in src/definitions/modules/modal.js - About 2 days to fix

            File sidebar.js has 925 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /*!
             * # Semantic UI - Sidebar
             * http://github.com/semantic-org/semantic-ui/
             *
             *
            Severity: Major
            Found in src/definitions/modules/sidebar.js - About 2 days to fix

              File iframe-content.js has 871 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              /*
               * File: iframeResizer.contentWindow.js
               * Desc: Include this file in any page being loaded into an iframe
               *       to force the iframe to resize to the content size.
               * Requires: iframeResizer.js on host page.
              Severity: Major
              Found in examples/assets/library/iframe-content.js - About 2 days to fix

                File sticky.js has 866 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                /*!
                 * # Semantic UI - Sticky
                 * http://github.com/semantic-org/semantic-ui/
                 *
                 *
                Severity: Major
                Found in src/definitions/modules/sticky.js - About 2 days to fix

                  File tab.js has 861 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  /*!
                   * # Semantic UI - Tab
                   * http://github.com/semantic-org/semantic-ui/
                   *
                   *
                  Severity: Major
                  Found in src/definitions/modules/tab.js - About 2 days to fix

                    File progress.js has 855 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    /*!
                     * # Semantic UI - Progress
                     * http://github.com/semantic-org/semantic-ui/
                     *
                     *
                    Severity: Major
                    Found in src/definitions/modules/progress.js - About 2 days to fix

                      File iframe.js has 837 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      /*
                       * File: iframeResizer.js
                       * Desc: Force iframes to size to content.
                       * Requires: iframeResizer.contentWindow.js to be loaded into the target frame.
                       * Doc: https://github.com/davidjbradshaw/iframe-resizer
                      Severity: Major
                      Found in examples/assets/library/iframe.js - About 2 days to fix

                        Function rating has 400 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        $.fn.rating = function(parameters) {
                          var
                            $allModules     = $(this),
                            moduleSelector  = $allModules.selector || '',
                        
                        
                        Severity: Major
                        Found in src/definitions/modules/rating.js - About 2 days to fix

                          Function site has 389 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          $.site = $.fn.site = function(parameters) {
                            var
                              time           = new Date().getTime(),
                              performance    = [],
                          
                          
                          Severity: Major
                          Found in src/definitions/globals/site.js - About 1 day to fix

                            File shape.js has 815 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            /*!
                             * # Semantic UI - Shape
                             * http://github.com/semantic-org/semantic-ui/
                             *
                             *
                            Severity: Major
                            Found in src/definitions/modules/shape.js - About 1 day to fix

                              Function nag has 387 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              $.fn.nag = function(parameters) {
                                var
                                  $allModules    = $(this),
                                  moduleSelector = $allModules.selector || '',
                              
                              
                              Severity: Major
                              Found in src/definitions/modules/nag.js - About 1 day to fix

                                File checkbox.js has 755 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                /*!
                                 * # Semantic UI - Checkbox
                                 * http://github.com/semantic-org/semantic-ui/
                                 *
                                 *
                                Severity: Major
                                Found in src/definitions/modules/checkbox.js - About 1 day to fix

                                  Function iFrameListener has 318 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                    function iFrameListener(event) {
                                      function resizeIFrame() {
                                        function resize() {
                                          setSize(messageData);
                                          setPagePosition(iframeId);
                                  Severity: Major
                                  Found in examples/assets/library/iframe.js - About 1 day to fix

                                    File install.js has 665 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    /*******************************
                                                Set-up
                                    *******************************/
                                    
                                    var
                                    Severity: Major
                                    Found in tasks/config/project/install.js - About 1 day to fix

                                      File dimmer.js has 656 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      /*!
                                       * # Semantic UI - Dimmer
                                       * http://github.com/semantic-org/semantic-ui/
                                       *
                                       *
                                      Severity: Major
                                      Found in src/definitions/modules/dimmer.js - About 1 day to fix

                                        File embed.js has 631 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        /*!
                                         * # Semantic UI - Embed
                                         * http://github.com/semantic-org/semantic-ui/
                                         *
                                         *
                                        Severity: Major
                                        Found in src/definitions/modules/embed.js - About 1 day to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language