conveyal/modeify

View on GitHub
client/commute-analysis-page/index.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function View has 94 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var View = view(require('./template.html'), function (view, model) {
  var scorer = new ProfileScorer()

  view.on('rendered', function () {
    try {
Severity: Major
Found in client/commute-analysis-page/index.js - About 3 hrs to fix

    Function exports has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = function (ctx, next) {
      log('render')
    
      var cls = ctx.location.commuterLocations = ctx.commuterLocations
    
    
    Severity: Minor
    Found in client/commute-analysis-page/index.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status