go/processtree/slavenode.go

Summary

Maintainability
A
3 hrs
Test Coverage

SlaveNode has 22 methods (exceeds 20 allowed). Consider refactoring.
Open

type SlaveNode struct {
    ProcessTreeNode
    socket      *unixsocket.Usock
    pid         int
    Error       string
Severity: Minor
Found in go/processtree/slavenode.go - About 2 hrs to fix

    Method SlaveNode.forceKillPid has 6 return statements (exceeds 4 allowed).
    Open

    func (s *SlaveNode) forceKillPid(pid int) error {
        if pid <= 0 {
            return nil
        }
    
    
    Severity: Major
    Found in go/processtree/slavenode.go - About 40 mins to fix

      There are no issues that match your filters.

      Category
      Status