Semantic-Org/Semantic-UI

View on GitHub

Showing 246 of 804 total issues

Function invoke has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        invoke: function(query, passedArguments, context) {
          var
            object = instance,
            maxDepth,
            found,
Severity: Major
Found in src/definitions/modules/checkbox.js - About 2 hrs to fix

    Function invoke has 52 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            invoke: function(query, passedArguments, context) {
              var
                object = instance,
                maxDepth,
                found,
    Severity: Major
    Found in src/definitions/modules/dimmer.js - About 2 hrs to fix

      Function invoke has 51 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              invoke: function(query, passedArguments, context) {
                var
                  object = instance,
                  maxDepth,
                  found,
      Severity: Major
      Found in src/definitions/modules/modal.js - About 2 hrs to fix

        Function invoke has 51 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                invoke: function(query, passedArguments, context) {
                  var
                    object = instance,
                    maxDepth,
                    found,
        Severity: Major
        Found in src/definitions/behaviors/form.js - About 2 hrs to fix

          Function invoke has 51 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  invoke: function(query, passedArguments, context) {
                    var
                      object = instance,
                      maxDepth,
                      found,
          Severity: Major
          Found in src/definitions/modules/popup.js - About 2 hrs to fix

            Function invoke has 51 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    invoke: function(query, passedArguments, context) {
                      var
                        object = instance,
                        maxDepth,
                        found,
            Severity: Major
            Found in src/definitions/modules/sticky.js - About 2 hrs to fix

              Function invoke has 51 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      invoke: function(query, passedArguments, context) {
                        var
                          object = instance,
                          maxDepth,
                          found,
              Severity: Major
              Found in src/definitions/modules/shape.js - About 2 hrs to fix

                Function invoke has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        invoke: function(query, passedArguments, context) {
                          var
                            object = instance,
                            maxDepth,
                            found,
                Severity: Major
                Found in src/definitions/modules/search.js - About 2 hrs to fix

                  Function invoke has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          invoke: function(query, passedArguments, context) {
                            var
                              object = instance,
                              maxDepth,
                              found,
                  Severity: Major
                  Found in src/definitions/modules/rating.js - About 2 hrs to fix

                    Function object has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                              object: function(searchTerm, source, searchFields) {
                                var
                                  results      = [],
                                  exactResults = [],
                                  fuzzyResults = [],
                    Severity: Minor
                    Found in src/definitions/modules/search.js - About 2 hrs to fix

                      Function addDerivedValues has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        addDerivedValues: function(config) {
                      
                          config = config || extend(false, {}, defaults);
                      
                          /*--------------
                      Severity: Minor
                      Found in tasks/config/project/config.js - About 1 hr to fix

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

                                  show: function(callback, $subMenu) {
                                    var
                                      $currentMenu = $subMenu || $menu,
                                      start = ($subMenu)
                                        ? function() {}
                        Severity: Minor
                        Found in src/definitions/modules/dropdown.js - About 1 hr to fix

                          Function hide has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                    hide: function(callback, $subMenu) {
                                      var
                                        $currentMenu = $subMenu || $menu,
                                        duration = ($subMenu)
                                          ? (settings.duration * 0.9)
                          Severity: Minor
                          Found in src/definitions/modules/dropdown.js - About 1 hr to fix

                            Function scrollPage has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    scrollPage: function(direction, $selectedItem) {
                                      var
                                        $currentItem  = $selectedItem || module.get.selectedItem(),
                                        $menu         = $currentItem.closest(selector.menu),
                                        menuHeight    = $menu.outerHeight(),
                            Severity: Minor
                            Found in src/definitions/modules/dropdown.js - About 1 hr to fix

                              Function userSuggestion has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                        userSuggestion: function(value) {
                                          var
                                            $addition         = $menu.children(selector.addition),
                                            $existingItem     = module.get.item(value),
                                            alreadyHasValue   = $existingItem && $existingItem.not(selector.addition).length,
                              Severity: Minor
                              Found in src/definitions/modules/dropdown.js - About 1 hr to fix

                                Function selectValues has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                          selectValues: function() {
                                            var
                                              select = {}
                                            ;
                                            select.values = [];
                                Severity: Minor
                                Found in src/definitions/modules/dropdown.js - About 1 hr to fix

                                  Function select has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                            select: function() {
                                              var
                                                selectValues  = module.get.selectValues()
                                              ;
                                              module.debug('Dropdown initialized on a select', selectValues);
                                  Severity: Minor
                                  Found in src/definitions/modules/dropdown.js - About 1 hr to fix

                                    Function openDownward has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                              openDownward: function($subMenu) {
                                                var
                                                  $currentMenu    = $subMenu || $menu,
                                                  canOpenDownward = true,
                                                  onScreen        = {},
                                    Severity: Minor
                                    Found in src/definitions/modules/dropdown.js - About 1 hr to fix

                                      Function createJSON has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        createJSON: function(answers) {
                                          var
                                            json = {
                                              paths: {
                                                source: {},
                                      Severity: Minor
                                      Found in tasks/config/project/install.js - About 1 hr to fix

                                        Function queryRemote has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                queryRemote: function(query, callback) {
                                                  var
                                                    apiSettings = {
                                                      errorDuration : false,
                                                      cache         : 'local',
                                        Severity: Minor
                                        Found in src/definitions/modules/dropdown.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language