RackHD/on-core

View on GitHub
lib/common/hook.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

function hookFactory(
    _,
    assert,
    waterline,
    HttpTool,
Severity: Major
Found in lib/common/hook.js - About 2 hrs to fix

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

        _,
        assert,
        waterline,
        HttpTool,
        Promise
    Severity: Minor
    Found in lib/common/hook.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status