indexzero/ps-tree

View on GitHub
index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function childrenOfPid has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function childrenOfPid(pid, callback) {
  var headers = null;

  if (typeof callback !== 'function') {
    throw new Error('childrenOfPid(pid, callback) expects callback');
Severity: Minor
Found in index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status