Preparing report...

Report for github.com/vdimir/markify

A    Great!    Found 15 issues across 30 files

Tweet

gofmt80%

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


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!


gocyclo96%

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.


golint66%

Golint is a linter for Go source code.

    • markify/view/template_ctx.go
    • Line 18: warning: comment on exported method EditorContext.FileName should be of the form "FileName ..." (golint)
    • Line 41: warning: comment on exported method PageContext.FileName should be of the form "FileName ..." (golint)
    • Line 53: warning: comment on exported method StatusContext.FileName should be of the form "FileName ..." (golint)
    • markify/render/markdown/mdrender.go
    • Line 15: warning: comment on exported type Converter should be of the form "Converter ..." (with optional leading article) (golint)
    • Line 20: warning: exported type Document should have comment or be unexported (golint)
    • Line 26: warning: comment on exported function NewConverter should be of the form "NewConverter ..." (golint)
    • Line 53: warning: comment on exported method Converter.Convert should be of the form "Convert ..." (golint)
    • markify/store/bolt.go
    • Line 40: warning: comment on exported method Bolt.SetBlob should be of the form "SetBlob ..." (golint)
    • Line 58: warning: exported method Bolt.GetBlob should have comment or be unexported (golint)
    • Line 91: warning: exported method Bolt.DeleteBlob should have comment or be unexported (golint)
    • markify/app/app.go
    • Line 41: warning: exported type Store should have comment or be unexported (golint)
    • Line 59: warning: exported type Document should have comment or be unexported (golint)
    • markify/render/render.go
    • Line 10: warning: exported type Document should have comment or be unexported (golint)
    • Line 16: warning: exported type DocConverter should have comment or be unexported (golint)
    • Line 21: warning: exported function NewConverter should have comment or be unexported (golint)
    • Line 28: warning: exported method DocConverter.SupportSyntax should have comment or be unexported (golint)
    • Line 35: warning: exported method DocConverter.Convert should have comment or be unexported (golint)
    • markify/store/s3.go
    • Line 14: warning: exported type S3Config should have comment or be unexported (golint)
    • Line 21: warning: exported type S3Storage should have comment or be unexported (golint)
    • Line 28: warning: exported function NewS3Storage should have comment or be unexported (golint)
    • Line 45: warning: exported method S3Storage.SetBlob should have comment or be unexported (golint)
    • Line 57: warning: exported method S3Storage.GetBlob should have comment or be unexported (golint)
    • Line 73: warning: exported method S3Storage.GetMeta should have comment or be unexported (golint)
    • Line 82: warning: exported method S3Storage.DeleteBlob should have comment or be unexported (golint)
    • markify/util/hash.go
    • Line 47: warning: exported type SignedUIDGenerator should have comment or be unexported (golint)
    • Line 53: warning: exported function NewSignedUIDGenerator should have comment or be unexported (golint)
    • Line 61: warning: exported method SignedUIDGenerator.GetUID should have comment or be unexported (golint)
    • Line 69: warning: exported method SignedUIDGenerator.Validate should have comment or be unexported (golint)
    • markify/app/api.go
    • Line 11: warning: exported type CreatePasteRequest should have comment or be unexported (golint)
    • Line 18: warning: exported function ParseCreatePasteRequest should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell96%

Misspell Finds commonly misspelled English words