conveyal/transitive.js

View on GitHub
lib/renderer/default-renderer.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function focusPath has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  focusPath(path) {
    let pathRenderedSegments = []
    const graph = this.transitive.network.graph

    if (path) {
Severity: Minor
Found in lib/renderer/default-renderer.js - About 1 hr to fix

    Function render has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      render() {
        super.render()
    
        const display = this.transitive.display
        const network = this.transitive.network
    Severity: Minor
    Found in lib/renderer/default-renderer.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status