dotcloud/docker

View on GitHub
pkg/process/process_unix.go

Summary

Maintainability
A
35 mins
Test Coverage

Function Zombie has 5 return statements (exceeds 4 allowed).
Open

func Zombie(pid int) (bool, error) {
    if pid < 1 {
        return false, nil
    }
    data, err := os.ReadFile(fmt.Sprintf("/proc/%d/stat", pid))
Severity: Major
Found in pkg/process/process_unix.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status