crowbar/crowbar-core

View on GitHub
crowbar_framework/app/assets/javascripts/installer.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function statusCheck has 69 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function statusCheck() {
    $.ajax({
      type: "GET",
      dataType: "json",
      url: Routes.status_installer_path(),
Severity: Major
Found in crowbar_framework/app/assets/javascripts/installer.js - About 2 hrs to fix

Function success has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      success: function(data) {
        // check for invalid network.json
        $("#network-alert").remove();
        if (!data.network.valid) {
          $(".button_to").find("input").prop("disabled", true);
Severity: Major
Found in crowbar_framework/app/assets/javascripts/installer.js - About 2 hrs to fix

There are no issues that match your filters.

Category
Status