Preparing report...

Report for github.com/DebtsTracker/translations

A+    Excellent!    Found 5 issues across 7 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!


gocyclo85%

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.


golint57%

Golint is a linter for Go source code.

    • translations/trans/consts.go
    • Line 19: warning: exported const EMAIL_INVITE_SUBJ should have comment (or a comment on this block) or be unexported (golint)
    • Line 221: warning: don't use underscores in Go names; const MESSAGE_TEXT_ASK_FOR_FEEDBAСK should be MESSAGETEXTASKFORFEEDBAСK (golint)
    • Line 586: warning: exported const NO_NAME should have comment or be unexported (golint)
    • Line 626: warning: exported const MESSAGE_TEXT_ABOUT_DRAW_SHORT should have comment (or a comment on this block) or be unexported (golint)
    • translations/trans/locales.go
    • Line 13: warning: exported var ErrUnsupportedLocale should have comment or be unexported (golint)
    • Line 24: warning: comment on exported var SupportedLocales should be of the form "SupportedLocales ..." (golint)
    • Line 39: warning: comment on exported var SupportedLocalesByCode5 should be of the form "SupportedLocalesByCode5 ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign85%

IneffAssign detects ineffectual assignments in Go code.


misspell85%

Misspell Finds commonly misspelled English words

    • translations/trans/translations.go
    • Line 253: warning: "successivo" is a misspelling of "succession" (misspell)
    • Line 570: warning: "Contactos" is a misspelling of "Contacts" (misspell)
    • Line 602: warning: "recordarte" is a misspelling of "recorder" (misspell)
    • Line 1015: warning: "contactos" is a misspelling of "contacts" (misspell)
    • Line 1153: warning: "contentos" is a misspelling of "contents" (misspell)
    • Line 1182: warning: "conveniente" is a misspelling of "convenience" (misspell)
    • Line 1184: warning: "invitato" is a misspelling of "invitation" (misspell)
    • Line 1259: warning: "nto" is a misspelling of "not" (misspell)
    • Line 1283: warning: "momento" is a misspelling of "memento" (misspell)
    • Line 1285: warning: "momento" is a misspelling of "memento" (misspell)
    • Line 1509: warning: "Comparte" is a misspelling of "Compare" (misspell)
    • Line 1557: warning: "continuare" is a misspelling of "continue" (misspell)
    • Line 1627: warning: "momento" is a misspelling of "memento" (misspell)
    • Line 2128: warning: "participante" is a misspelling of "participate" (misspell)
    • Line 2227: warning: "participante" is a misspelling of "participate" (misspell)
    • Line 2291: warning: "Importes" is a misspelling of "Imports" (misspell)
    • Line 2339: warning: "Participantes" is a misspelling of "Participants" (misspell)
    • Line 2748: warning: "comando" is a misspelling of "commando" (misspell)
    • Line 2749: warning: "comando" is a misspelling of "commando" (misspell)
    • Line 2924: warning: "momento" is a misspelling of "memento" (misspell)
    • Line 3003: warning: "internacional" is a misspelling of "international" (misspell)
    • Line 3326: warning: "comparte" is a misspelling of "compare" (misspell)
    • Line 3470: warning: "momento" is a misspelling of "memento" (misspell)
    • Line 3472: warning: "momento" is a misspelling of "memento" (misspell)
    • Line 3488: warning: "cancellato" is a misspelling of "cancellation" (misspell)
    • Line 3570: warning: "nto" is a misspelling of "not" (misspell)
    • Line 3697: warning: "recordarte" is a misspelling of "recorder" (misspell)
    • Line 3763: warning: "momento" is a misspelling of "memento" (misspell)
    • Line 3779: warning: "momento" is a misspelling of "memento" (misspell)
    • Line 3819: warning: "invitato" is a misspelling of "invitation" (misspell)
    • Line 3854: warning: "invitato" is a misspelling of "invitation" (misspell)
    • Line 3890: warning: "invitato" is a misspelling of "invitation" (misspell)
    • Line 3953: warning: "registrato" is a misspelling of "registration" (misspell)
    • Line 4018: warning: "registrato" is a misspelling of "registration" (misspell)
    • Line 4018: warning: "associato" is a misspelling of "association" (misspell)
    • Line 4041: warning: "registrato" is a misspelling of "registration" (misspell)
    • Line 4041: warning: "associato" is a misspelling of "association" (misspell)
    • Line 4064: warning: "registrato" is a misspelling of "registration" (misspell)
    • Line 4064: warning: "associato" is a misspelling of "association" (misspell)
    • Line 4094: warning: "invitato" is a misspelling of "invitation" (misspell)
    • Line 4174: warning: "registrato" is a misspelling of "registration" (misspell)
    • Line 4483: warning: "momento" is a misspelling of "memento" (misspell)
    • Line 4486: warning: "momento" is a misspelling of "memento" (misspell)
    • Line 4489: warning: "momento" is a misspelling of "memento" (misspell)