department-of-veterans-affairs/vets-website

View on GitHub
src/platform/site-wide/side-nav/components/SideNav.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

  render() {
    const { renderChildItems } = this;
    const { navItemsLookup } = this.props;

    // Derive the parent-most nav item. This is O(n), which isn't great but I'm assuming there won't be 1000s of side nav items.
Severity: Major
Found in src/platform/site-wide/side-nav/components/SideNav.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status