iterative/vscode-dvc

View on GitHub
extension/src/experiments/model/index.ts

Summary

Maintainability
D
3 days
Test Coverage
A
92%

File index.ts has 758 lines of code (exceeds 300 allowed). Consider refactoring.
Open

import { Memento } from 'vscode'
import { SortDefinition, sortExperiments } from './sortBy'
import { FilterDefinition, filterExperiment, getFilterId } from './filterBy'
import { collectFiltered, collectUnfiltered } from './filterBy/collect'
import {
Severity: Major
Found in extension/src/experiments/model/index.ts - About 1 day to fix

    ExperimentsModel has 84 functions (exceeds 30 allowed). Consider refactoring.
    Open

    export class ExperimentsModel extends ModelWithPersistence {
      private workspace = {} as Experiment
      private cliError: undefined | string
      private commits: Experiment[] = []
      private experimentsByCommit: Map<string, Experiment[]> = new Map()
    Severity: Major
    Found in extension/src/experiments/model/index.ts - About 1 day to fix

      There are no issues that match your filters.

      Category
      Status