pkg/analyze/encode.go

Summary

Maintainability
A
45 mins
Test Coverage

Method Dir.EncodeJSON has 7 return statements (exceeds 4 allowed).
Open

func (f *Dir) EncodeJSON(writer io.Writer, topLevel bool) error {
    buff := make([]byte, 0, 20)

    buff = append(buff, []byte(`[{"name":`)...)

Severity: Major
Found in pkg/analyze/encode.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status