Preparing report...

Report for moul.io/depviz

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


gocyclo92%

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.


golint55%

Golint is a linter for Go source code.

    • /moul.io/depviz/internal/dvstore/query.go
    • Line 18: warning: exported function LastUpdatedIssueInRepo should have comment or be unexported (golint)
    • Line 55: warning: exported type LoadTasksFilters should have comment or be unexported (golint)
    • Line 64: warning: exported function LoadTasks should have comment or be unexported (golint)
    • /moul.io/depviz/internal/dvstore/testing.go
    • Line 38: warning: exported const GoldenFormat should have comment or be unexported (golint)
    • Line 40: warning: exported function TestingGoldenDumpPath should have comment or be unexported (golint)
    • Line 44: warning: exported function TestingGoldenJSONPath should have comment or be unexported (golint)
    • Line 49: warning: exported function TestingGoldenStore should have comment or be unexported (golint)
    • Line 78: warning: exported function TestingStore should have comment or be unexported (golint)
    • /moul.io/depviz/internal/dvcore/airtable.go
    • Line 9: warning: exported type AirtableOpts should have comment or be unexported (golint)
    • Line 17: warning: exported function AirtableSync should have comment or be unexported (golint)
    • Line 22: warning: exported function AirtableInfo should have comment or be unexported (golint)
    • /moul.io/depviz/pkg/chiutil/chi.go
    • Line 15: warning: exported method ErrResponse.Render should have comment or be unexported (golint)
    • Line 20: warning: exported type ErrResponse should have comment or be unexported (golint)
    • Line 29: warning: exported function ErrRender should have comment or be unexported (golint)
    • Line 38: warning: exported function FileServer should have comment or be unexported (golint)
    • /moul.io/depviz/internal/dvcore/run.go
    • Line 23: warning: exported type RunOpts should have comment or be unexported (golint)
    • Line 50: warning: exported function Run should have comment or be unexported (golint)
    • Line 155: warning: exported function PullAndSave should have comment or be unexported (golint)
    • /moul.io/depviz/internal/dvcore/store.go
    • Line 12: warning: exported function StoreDumpQuads should have comment or be unexported (golint)
    • Line 23: warning: exported function GetStoreDump should have comment or be unexported (golint)
    • Line 58: warning: exported function StoreInfo 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!