yasshi2525/RushHour

View on GitHub
entities/chunk.go

Summary

Maintainability
A
40 mins
Test Coverage
B
89%

Method Chunk.Has has 6 return statements (exceeds 4 allowed).
Open

func (ch *Chunk) Has(raw Entity) bool {
    id := reflect.ValueOf(raw.B().ID)
    switch obj := raw.(type) {
    case Localable:
        fieldName := obj.B().T.String()
Severity: Major
Found in entities/chunk.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status