karma-runner/karma

View on GitHub
lib/file-list.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

  _refresh () {
    const matchedFiles = new Set()

    let lastCompletedRefresh = this._refreshing
    lastCompletedRefresh = Promise.all(
Severity: Minor
Found in lib/file-list.js - About 1 hr to fix

    Function files has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      get files () {
        const served = []
        const included = {}
        const lookup = {}
        this._patterns.forEach((p) => {
    Severity: Minor
    Found in lib/file-list.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status