crowbar/crowbar-core

View on GitHub

Showing 6,062 of 6,062 total issues

Avoid too many return statements within this function.
Open

            return;
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/jquery/ui.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return false;
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/jquery/ui.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return self.errorMessage(
              'barclamp.node_selector.exclude_platform'.localize().format(
                alias,
                role
              )
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/jquery/nodeList.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return;
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/bootstrap/fileinput.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

  case 19:this.popState(); return 24;
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/misc/handlebars.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

  case 22:yy_.yytext = strip(1,2).replace(/\\'/g,"'"); return 32;
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/misc/handlebars.js - About 30 mins to fix

Avoid too many return statements within this method.
Open

            return $1.to_f * 1024 * 1024 * 1024 * 1024
Severity: Major
Found in chef/cookbooks/barclamp/libraries/barclamp_library.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return [404, "No network data found"]
Severity: Major
Found in crowbar_framework/app/models/network_service.rb - About 30 mins to fix

Avoid too many return statements within this function.
Open

    return false
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/bootstrap/affix.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom'
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/bootstrap/affix.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

              return this.parseError('Lexical error on line '+(this.yylineno+1)+'. Unrecognized text.\n'+this.showPosition(),
                      {text: "", token: null, line: this.yylineno});
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/misc/handlebars.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return fn(context);
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/misc/handlebars.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

  case 20:this.popState(); return 18;
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/misc/handlebars.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

  case 28:yy_.yytext = strip(1,2); return 38;
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/misc/handlebars.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return true;
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/misc/handlebars.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

  case 21:yy_.yytext = strip(1,2).replace(/\\"/g,'"'); return 32;
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/misc/handlebars.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

          return false;
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/misc/handlebars.js - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return [404, "No node found"] if node.nil?
Severity: Major
Found in crowbar_framework/app/models/network_service.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

          return
Severity: Major
Found in crowbar_framework/app/models/api/upgrade.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return [404, "No Address Available"]
Severity: Major
Found in crowbar_framework/app/models/network_service.rb - About 30 mins to fix
Severity
Category
Status
Source
Language