keymetrics/pm2-io-apm

View on GitHub
src/census/instrumentation/plugin-loader.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function loadPlugins has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  loadPlugins (pluginList: PluginNames) {
    if (this.hookState === HookState.UNINITIALIZED) {
      hook(Object.keys(pluginList), (exports, name, basedir) => {
        if (this.hookState !== HookState.ENABLED) {
          return exports
Severity: Minor
Found in src/census/instrumentation/plugin-loader.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status