Preparing report...

Report for github.com/yuriizinets/ssceng

A    Great!    Found 25 issues across 29 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!


golint13%

Golint is a linter for Go source code.

    • ssceng/flags.go
    • Line 5: warning: exported var BENCH_LOWLEVEL should have comment or be unexported (golint)
    • Line 6: warning: exported var BENCH_HANDLERS should have comment or be unexported (golint)
    • ssceng/demo/component.content.go
    • Line 3: warning: exported type ComponentContent should have comment or be unexported (golint)
    • Line 13: warning: exported type ComponentContentLink should have comment or be unexported (golint)
    • ssceng/demo/component.demo.redirect.go
    • Line 5: warning: exported type ComponentDemoRedirect should have comment or be unexported (golint)
    • Line 9: warning: exported method ComponentDemoRedirect.Init should have comment or be unexported (golint)
    • Line 13: warning: exported method ComponentDemoRedirect.Actions should have comment or be unexported (golint)
    • ssceng/demo/component.demo.uuid.go
    • Line 8: warning: exported type ComponentDemoUUID should have comment or be unexported (golint)
    • Line 12: warning: exported method ComponentDemoUUID.Async should have comment or be unexported (golint)
    • ssceng/context.go
    • Line 9: warning: exported function SetContext should have comment or be unexported (golint)
    • Line 20: warning: exported function GetContext should have comment or be unexported (golint)
    • Line 26: warning: exported function DelContext should have comment or be unexported (golint)
    • ssceng/core.go
    • Line 46: warning: comment on exported var RegC should be of the form "RegC ..." (golint)
    • ssceng/demo/page.index.go
    • Line 9: warning: exported type PageIndex should have comment or be unexported (golint)
    • Line 25: warning: exported method PageIndex.Template should have comment or be unexported (golint)
    • Line 29: warning: exported method PageIndex.Init should have comment or be unexported (golint)
    • ssceng/web/component.block.faq.go
    • Line 5: warning: exported type ComponentBlockFAQ should have comment or be unexported (golint)
    • Line 10: warning: exported type ComponentBlockFAQEntry should have comment or be unexported (golint)
    • ssceng/web/component.navbar.go
    • Line 5: warning: exported type ComponentNavbar should have comment or be unexported (golint)
    • Line 10: warning: exported type ComponentNavbarHref should have comment or be unexported (golint)
    • ssceng/funcs.go
    • Line 12: warning: comment on exported function Funcs should be of the form "Funcs ..." (golint)
    • ssceng/demo/component.demo.calc.go
    • Line 9: warning: exported type ComponentDemoCalc should have comment or be unexported (golint)
    • Line 15: warning: exported method ComponentDemoCalc.Init should have comment or be unexported (golint)
    • Line 27: warning: exported method ComponentDemoCalc.Actions should have comment or be unexported (golint)
    • ssceng/demo/component.demo.counter.go
    • Line 5: warning: exported type ComponentDemoCounter should have comment or be unexported (golint)
    • Line 9: warning: exported method ComponentDemoCounter.Actions should have comment or be unexported (golint)
    • ssceng/web/component.block.statistics.go
    • Line 11: warning: comment on exported type ComponentBlockStatistics should be of the form "ComponentBlockStatistics ..." (with optional leading article) (golint)
    • Line 23: warning: exported method ComponentBlockStatistics.Init should have comment or be unexported (golint)
    • Line 29: warning: exported method ComponentBlockStatistics.Async should have comment or be unexported (golint)
    • ssceng/web/component.footer.go
    • Line 5: warning: exported type ComponentFooter should have comment or be unexported (golint)
    • Line 11: warning: exported type ComponentFooterHref should have comment or be unexported (golint)
    • ssceng/types.go
    • Line 10: warning: exported type Action should have comment or be unexported (golint)
    • Line 11: warning: exported type ActionMap should have comment or be unexported (golint)
    • Line 12: warning: exported type TemplateBuilder should have comment or be unexported (golint)
    • Line 26: warning: exported type Hreflang should have comment or be unexported (golint)
    • Line 31: warning: exported type Meta should have comment or be unexported (golint)
    • Line 50: warning: comment on exported type Page should be of the form "Page ..." (with optional leading article) (golint)
    • Line 56: warning: comment on exported type Component should be of the form "Component ..." (with optional leading article) (golint)
    • Line 61: warning: exported type ImplementsInit should have comment or be unexported (golint)
    • Line 65: warning: exported type ImplementsNestedInit should have comment or be unexported (golint)
    • Line 69: warning: exported type ImplementsAsync should have comment or be unexported (golint)
    • Line 73: warning: exported type ImplementsAfterAsync should have comment or be unexported (golint)
    • Line 77: warning: exported type ImplementsActions should have comment or be unexported (golint)
    • Line 81: warning: exported type ImplementsMeta should have comment or be unexported (golint)
    • ssceng/web/component.sponsors.go
    • Line 3: warning: exported type ComponentSponsors should have comment or be unexported (golint)
    • Line 8: warning: exported type ComponentSponsorsEntry should have comment or be unexported (golint)
    • ssceng/web/page.index.go
    • Line 9: warning: exported type PageIndex should have comment or be unexported (golint)
    • Line 23: warning: exported method PageIndex.Template should have comment or be unexported (golint)
    • Line 27: warning: exported method PageIndex.Meta should have comment or be unexported (golint)
    • Line 33: warning: exported method PageIndex.Init 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!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!