adamgruber/mochawesome

View on GitHub
src/mochawesome.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function Mochawesome has 98 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function Mochawesome(runner, options) {
  // Set the config options
  this.config = conf(options);

  // Ensure stats collector has been initialized
Severity: Major
Found in src/mochawesome.js - About 3 hrs to fix

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

    function done(output, options, config, failures, exit) {
    Severity: Minor
    Found in src/mochawesome.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status