karma-runner/karma

View on GitHub
lib/launcher.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function launchSingle has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  launchSingle (protocol, hostname, port, urlRoot, upstreamProxy, processKillTimeout) {
    if (upstreamProxy) {
      protocol = upstreamProxy.protocol
      hostname = upstreamProxy.hostname
      port = upstreamProxy.port
Severity: Minor
Found in lib/launcher.js - About 1 hr to fix

    Function baseBrowserDecoratorFactory has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      baseLauncherDecorator,
      captureTimeoutLauncherDecorator,
      retryLauncherDecorator,
      processLauncherDecorator,
      processKillTimeout
    Severity: Minor
    Found in lib/launcher.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status