greenelab/adage-server

View on GitHub
interface/src/app/heatmap.service.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function rebuildHeatmapActivity has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      rebuildHeatmapActivity: function() {
        if (!this.mlmodel.id) {
          // ignore "rebuild" requests until a model is specified
          $log.info(
            'rebuildHeatmapActivity: skipping because mlmodel=', this.mlmodel
Severity: Major
Found in interface/src/app/heatmap.service.js - About 2 hrs to fix

    Function updateHeatmapActivity has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            var updateHeatmapActivity = function() {
              // when all promises are fulfilled, we can update vegaData
              var newActivity = [];
              var excludeSamples = [];
    
    
    Severity: Minor
    Found in interface/src/app/heatmap.service.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status