wgoodall01/wikipath

View on GitHub

Showing 2 of 23 total issues

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

  render() {
    const {to, from, result, status, err} = this.state;
    const {path, duration, touched} = result || {};

    let body = null;
Severity: Minor
Found in web/wikipath-web/src/App.js - About 1 hr to fix

    Avoid deeply nested control flow statements.
    Open

                    if linkPath.Len() < foundPath.Len() {
                        foundPath.Prev = linkPath.Prev
                    }
    Severity: Major
    Found in wp/index.go - About 45 mins to fix
      Severity
      Category
      Status
      Source
      Language