tripal/tripal_galaxy

View on GitHub
theme/js/tripal_galaxy.dashboard.js

Summary

Maintainability
A
0 mins
Test Coverage

Function attach has 61 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

  attach: function (context, settings) {
    
  
    /**
     * Renders the graphs for the Galaxy Admin Dashboard.
Severity: Major
Found in theme/js/tripal_galaxy.dashboard.js - About 2 hrs to fix

    Function dashboard has 57 lines of code (exceeds 25 allowed). Consider refactoring.
    Wontfix

        function dashboard(id, fData){
          
          // Set aside 10 colors
          var c10 = d3.scale.category10();
          
    Severity: Major
    Found in theme/js/tripal_galaxy.dashboard.js - About 2 hrs to fix

      Function barChart has 43 lines of code (exceeds 25 allowed). Consider refactoring.
      Wontfix

            function barChart(fD){
                var chart_width = 600;
                var chart_height = 300;
                var top_margin = 30;
                var left_margin = 300;
      Severity: Minor
      Found in theme/js/tripal_galaxy.dashboard.js - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status