FunnelEnvy/optimizely-cli

View on GitHub
lib/server/controller.js

Summary

Maintainability
A
1 hr
Test Coverage

Function LocalController has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function LocalController(variation, port) {
  this.variation = variation;
  //assume the directory above the variation
  //maybe move this to Experiment?
  this.experiment = new Experiment({}, path.normalize(variation.baseDir + "/.."));
Severity: Minor
Found in lib/server/controller.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status