keymetrics/pm2-io-apm

View on GitHub
src/census/plugins/mongodb.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

  private getPatchCommand (label: string) {
    const plugin = this
    return (original: Function) => {
      return function (ns: string, command: any, options: any, callback: Function) {
        const resultHandler = typeof options === 'function' ? options : callback
Severity: Minor
Found in src/census/plugins/mongodb.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status