catdad/grandma

View on GitHub
lib/fork.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function decorateTest has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function decorateTest(testFunc, timeout, context) {
    var categories = [];
    var metrics = {};

    function addCategory() {
Severity: Major
Found in lib/fork.js - About 2 hrs to fix

    Function reporter has 46 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    var reporter = (function() {
        function ensureObj(obj) {
            return _.isPlainObject(obj) ? obj : {};
        }
    
    
    Severity: Minor
    Found in lib/fork.js - About 1 hr to fix

      Function TestRunner has 32 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function TestRunner(msg) {
          var filepath = msg.filepath;
          var timeout = msg.timeout;
          var test;
      
      
      Severity: Minor
      Found in lib/fork.js - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status