Dogfalo/materialize

View on GitHub
js/buttons.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function FABtoToolbar has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  var FABtoToolbar = function(btn) {
    if (btn.attr('data-open') === "true") {
      return;
    }

Severity: Major
Found in js/buttons.js - About 2 hrs to fix

    Function toolbarToFAB has 58 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      var toolbarToFAB = function(btn) {
        if (btn.attr('data-open') !== "true") {
          return;
        }
    
    
    Severity: Major
    Found in js/buttons.js - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status