Preparing report...

Report for github.com/roblillack/tack

A    Great!    Found 10 issues across 11 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!


gocyclo90%

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.


golint9%

Golint is a linter for Go source code.

    • tack/main.go
    • Line 10: warning: exported function Fatalf should have comment or be unexported (golint)
    • tack/commands/serve.go
    • Line 24: warning: exported function ServeError should have comment or be unexported (golint)
    • Line 30: warning: exported function Serve should have comment or be unexported (golint)
    • tack/core/files.go
    • Line 13: warning: exported function FindFiles should have comment or be unexported (golint)
    • Line 42: warning: exported function FindDirsWithFiles should have comment or be unexported (golint)
    • Line 75: warning: exported function CopyFile should have comment or be unexported (golint)
    • Line 101: warning: exported function BasenameWithoutExtension should have comment or be unexported (golint)
    • Line 106: warning: exported function DirExists should have comment or be unexported (golint)
    • Line 111: warning: exported function LatestModTime should have comment or be unexported (golint)
    • tack/core/page.go
    • Line 21: warning: exported type Page should have comment or be unexported (golint)
    • Line 40: warning: exported function NewPage should have comment or be unexported (golint)
    • Line 67: warning: exported method Page.Root should have comment or be unexported (golint)
    • Line 71: warning: exported method Page.Permalink should have comment or be unexported (golint)
    • Line 82: warning: exported method Page.TargetDir should have comment or be unexported (golint)
    • Line 93: warning: exported method Page.Ancestors should have comment or be unexported (golint)
    • Line 103: warning: exported method Page.Siblings should have comment or be unexported (golint)
    • Line 115: warning: exported method Page.Init should have comment or be unexported (golint)
    • Line 201: warning: exported method Page.Generate should have comment or be unexported (golint)
    • tack/core/tacker.go
    • Line 17: warning: exported const ContentDir should have comment or be unexported (golint)
    • Line 18: warning: exported const TemplateDir should have comment or be unexported (golint)
    • Line 19: warning: exported const TargetDir should have comment or be unexported (golint)
    • Line 20: warning: exported const AssetDir should have comment or be unexported (golint)
    • Line 22: warning: exported var TemplateExtensions should have comment or be unexported (golint)
    • Line 23: warning: exported var MetadataExtensions should have comment or be unexported (golint)
    • Line 24: warning: exported var MarkupExtensions should have comment or be unexported (golint)
    • Line 26: warning: exported type Tacker should have comment or be unexported (golint)
    • Line 34: warning: exported function NewTacker should have comment or be unexported (golint)
    • Line 57: warning: exported method Tacker.Reload should have comment or be unexported (golint)
    • Line 82: warning: exported method Tacker.Log should have comment or be unexported (golint)
    • Line 89: warning: exported method Tacker.Tack should have comment or be unexported (golint)
    • Line 132: warning: exported method Tacker.FindTemplate should have comment or be unexported (golint)
    • Line 171: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 185: warning: exported function ProcessMetadata should have comment or be unexported (golint)
    • tack/commands/commands.go
    • Line 13: warning: exported type Executor should have comment or be unexported (golint)
    • Line 15: warning: exported type Command should have comment or be unexported (golint)
    • Line 21: warning: exported var List should have comment or be unexported (golint)
    • Line 23: warning: exported function RegisterCommand should have comment or be unexported (golint)
    • tack/core/checkpoint.go
    • Line 14: warning: exported type Checkpoint should have comment or be unexported (golint)
    • Line 18: warning: exported method Checkpoint.Equals should have comment or be unexported (golint)
    • Line 32: warning: exported method Tacker.Checkpoint should have comment or be unexported (golint)
    • Line 57: warning: exported method Tacker.HasChanges should have comment or be unexported (golint)
    • tack/core/template.go
    • Line 10: warning: exported type Template should have comment or be unexported (golint)
    • Line 14: warning: exported function PageValues should have comment or be unexported (golint)
    • Line 37: warning: exported function PageListValues should have comment or be unexported (golint)
    • Line 48: warning: exported method Template.Render 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!