catarse/catarse.js

View on GitHub
legacy/src/c/explore/explore-filter-select.ts

Summary

Maintainability
B
4 hrs
Test Coverage

Function view has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    view({state, attrs}) {
    
        const isSelected = attrs.isSelected;
        const itemToString = attrs.itemToString;
        const onSelect = attrs.onSelect;
Severity: Minor
Found in legacy/src/c/explore/explore-filter-select.ts - About 1 hr to fix

    Function view has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        view({attrs}) {
            const isSelected = attrs.isSelected;
            const onSelect = attrs.onSelect;
            const itemToString = attrs.itemToString;
            const values = attrs.values;
    Severity: Minor
    Found in legacy/src/c/explore/explore-filter-select.ts - About 1 hr to fix

      Function columnSplit has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      function columnSplit(itemToString : (item : any) => string, values : any[], start : number, finish : number, onSelect : (item : any) => void, isSelected : (item : any) => boolean) {
      Severity: Minor
      Found in legacy/src/c/explore/explore-filter-select.ts - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status