cloudfoundry/dea_ng

View on GitHub
go/src/directoryserver/directoryserver.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func fileSizeFormat(size int64) string {
    if size >= (1 << 40) {
        return fmt.Sprintf("%.1fT", float64(size)/(1<<40))
    }

Severity: Major
Found in go/src/directoryserver/directoryserver.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status