ahbeng/NUSMods

View on GitHub
website/src/selectors/planner.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function getAcadYearModules has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function getAcadYearModules(state: State): PlannerModulesWithInfo {
  const { planner, moduleBank } = state;
  const years = getYearsBetween(planner.minYear, planner.maxYear);
  const exemptions = [
    // Normal exemptions
Severity: Minor
Found in website/src/selectors/planner.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status