trufflesuite/truffle

View on GitHub
packages/core/lib/debug/mocha.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function printStartTestHook has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  printStartTestHook(method) {
    const formatOperation = ({
      action,
      contract: { contractName },
      abi,
Severity: Minor
Found in packages/core/lib/debug/mocha.js - About 1 hr to fix

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

      async invoke(operation) {
        const method = await this.detectMethod(operation);
        const { action } = method;
    
        switch (action) {
    Severity: Minor
    Found in packages/core/lib/debug/mocha.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status