Preparing report...

Report for github.com/Hochfrequenz/go-bo4e

(v0.0.29)

A+    Excellent!    Found 56 issues across 134 files

Tweet

gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo100%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

No problems detected. Good job!


golint61%

Golint is a linter for Go source code.

    • enum/profiltyp/profiltyp.go
    • Line 10: warning: comment on exported const SLP_SEP should be of the form "SLP_SEP ..." (golint)
    • Line 12: warning: exported const TLP_TEP should have comment (or a comment on this block) or be unexported (golint)
    • bo/businessobject.go
    • Line 23: warning: exported method Geschaeftsobjekt.GetBoTyp should have comment or be unexported (golint)
    • Line 27: warning: exported method Geschaeftsobjekt.GetVersionStruktur should have comment or be unexported (golint)
    • enum/rechnungstyp/rechnungstyp.go
    • Line 9: warning: comment on exported const ENDKUNDENRECHNUNG should be of the form "ENDKUNDENRECHNUNG ..." (golint)
    • Line 11: warning: exported const NETZNUTZUNGSRECHNUNG should have comment (or a comment on this block) or be unexported (golint)
    • enum/fallgruppenzuordnung/fallgruppenzuordnung.go
    • Line 11: warning: don't use underscores in Go names; const GABI_RLMmT should be GABIRLMmT (golint)
    • Line 12: warning: don't use underscores in Go names; const GABI_RLMoT should be GABIRLMoT (golint)
    • Line 12: warning: exported const GABI_RLMoT should have comment (or a comment on this block) or be unexported (golint)
    • enum/titel/titel.go
    • Line 11: warning: exported const PROF should have comment (or a comment on this block) or be unexported (golint)
    • com/messlokationszuordnung.go
    • Line 8: warning: comment on exported type Messlokationszuordnung should be of the form "Messlokationszuordnung ..." (with optional leading article) (golint)
    • enum/botyp/botyp.go
    • Line 11: warning: exported const ANSPRECHPARTNER should have comment (or a comment on this block) or be unexported (golint)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell94%

Misspell Finds commonly misspelled English words

    • com/zaehlwerk.go
    • Line 12: warning: "Identifikation" is a misspelling of "Identification" (misspell)
    • Line 22: warning: "compatability" is a misspelling of "compatibility" (misspell)