wongjiahau/ttap-web

View on GitHub
src/ts/permutator/findTimetableVisualizer.ts

Summary

Maintainability
A
3 hrs
Test Coverage

Function constructor has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public constructor() {
    this.renderings.push(() => {
      this.cy = Cytoscape({
        elements: [],
        boxSelectionEnabled: false,
Severity: Major
Found in src/ts/permutator/findTimetableVisualizer.ts - About 2 hrs to fix

    Function plotPartition has 42 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      public plotPartition(partition: T[][], partitionHeadings: string[]): void {
        // calculate full search path count
        this.fullSearchPathCount = this.setPartitionCount(
          partition.map((x) => x.length)
        );
    Severity: Minor
    Found in src/ts/permutator/findTimetableVisualizer.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status