Preparing report...

Report for github.com/forthxu/base64Captcha

(v1.3.5)

A    Great!    Found 41 issues across 42 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!


gocyclo97%

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.


golint2%

Golint is a linter for Go source code.

    • interface_item.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • store_sync_map.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • Line 41: warning: comment on exported method StoreSyncMap.Set should be of the form "Set ..." (golint)
    • Line 47: warning: comment on exported method StoreSyncMap.Get should be of the form "Get ..." (golint)
    • store_memory.go
    • Line 15: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • captcha_test.go
    • Line 17: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • const.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • driver_chinese.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • fonts_embedded_default.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • Line 10: warning: exported var DefaultEmbeddedFonts should have comment or be unexported (golint)
    • item_audio_test.go
    • Line 5: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • item_digit_test.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • driver_math.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • fonts.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • fonts_test.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • util_audio.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • util_audio_test.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • util_test.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • driver_digit.go
    • Line 15: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • item_audio.go
    • Line 5: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • item_char.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • sounds.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • faq_test.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • interface_fonts.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • item_char_test.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • random_math.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • util.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • interface_store.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • item_digit.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • driver_language.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • captcha.go
    • Line 17: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • driver_audio.go
    • Line 5: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • fonts_embedded.go
    • Line 1: warning: don't use MixedCaps in package name; base64Captcha should be base64captcha (golint)
    • Line 10: warning: exported type EmbeddedFontsStorage should have comment or be unexported (golint)
    • Line 14: warning: exported method EmbeddedFontsStorage.LoadFontByName should have comment or be unexported (golint)
    • Line 40: warning: exported function NewEmbeddedFontsStorage should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!