Preparing report...

Report for github.com/dejavuzhou/ginbro

A+    Excellent!    Found 6 issues across 35 files

Tweet

gofmt91%

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!


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!


golint91%

Golint is a linter for Go source code.

    • ginbro/parser/engine.go
    • Line 6: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 31: warning: comment on exported function NewGuiParseEngine should be of the form "NewGuiParseEngine ..." (golint)
    • Line 57: warning: exported function NewParseEngine should have comment or be unexported (golint)
    • ginbro/boilerplate/tasks/core.go
    • Line 1: warning: package comment should be of the form "Package tasks ..." (golint)
    • Line 34: warning: comment on exported function ChangeLoc should be of the form "ChangeLoc ..." (golint)
    • Line 39: warning: comment on exported const MAXJOBNUM should be of the form "MAXJOBNUM ..." (golint)
    • Line 42: warning: exported type Job should have comment or be unexported (golint)
    • Line 71: warning: comment on exported function NewJob should be of the form "NewJob ..." (golint)
    • Line 112: warning: comment on exported method Job.Do should be of the form "Do ..." (golint)
    • Line 152: warning: comment on exported method Job.At should be of the form "At ..." (golint)
    • Line 229: warning: comment on exported method Job.Second should be of the form "Second ..." (golint)
    • Line 238: warning: comment on exported method Job.Seconds should be of the form "Seconds ..." (golint)
    • Line 244: warning: comment on exported method Job.Minute should be of the form "Minute ..." (golint)
    • Line 253: warning: comment on exported method Job.Minutes should be of the form "Minutes ..." (golint)
    • Line 259: warning: comment on exported method Job.Hour should be of the form "Hour ..." (golint)
    • Line 268: warning: comment on exported method Job.Hours should be of the form "Hours ..." (golint)
    • Line 274: warning: comment on exported method Job.Day should be of the form "Day ..." (golint)
    • Line 283: warning: comment on exported method Job.Days should be of the form "Days ..." (golint)
    • Line 289: warning: comment on exported method Job.Monday should be of the form "Monday ..." (golint)
    • Line 300: warning: comment on exported method Job.Tuesday should be of the form "Tuesday ..." (golint)
    • Line 310: warning: comment on exported method Job.Wednesday should be of the form "Wednesday ..." (golint)
    • Line 320: warning: comment on exported method Job.Thursday should be of the form "Thursday ..." (golint)
    • Line 330: warning: comment on exported method Job.Friday should be of the form "Friday ..." (golint)
    • Line 340: warning: comment on exported method Job.Saturday should be of the form "Saturday ..." (golint)
    • Line 350: warning: comment on exported method Job.Sunday should be of the form "Sunday ..." (golint)
    • Line 360: warning: comment on exported method Job.Weeks should be of the form "Weeks ..." (golint)
    • Line 366: warning: comment on exported type Scheduler should be of the form "Scheduler ..." (with optional leading article) (golint)
    • Line 389: warning: comment on exported function NewScheduler should be of the form "NewScheduler ..." (golint)
    • Line 395: warning: don't use underscores in Go names; method result running_jobs should be runningJobs (golint)
    • Line 412: warning: comment on exported method Scheduler.NextRun should be of the form "NextRun ..." (golint)
    • Line 421: warning: comment on exported method Scheduler.Every should be of the form "Every ..." (golint)
    • Line 429: warning: comment on exported method Scheduler.RunPending should be of the form "RunPending ..." (golint)
    • Line 440: warning: comment on exported method Scheduler.RunAll should be of the form "RunAll ..." (golint)
    • Line 447: warning: comment on exported method Scheduler.RunAllwithDelay should be of the form "RunAllwithDelay ..." (golint)
    • Line 471: warning: comment on exported method Scheduler.Clear should be of the form "Clear ..." (golint)
    • Line 505: warning: comment on exported function Every should be of the form "Every ..." (golint)
    • Line 510: warning: comment on exported function RunPending should be of the form "RunPending ..." (golint)
    • Line 521: warning: comment on exported function RunAll should be of the form "RunAll ..." (golint)
    • Line 526: warning: comment on exported function RunAllwithDelay should be of the form "RunAllwithDelay ..." (golint)
    • Line 535: warning: comment on exported function Start should be of the form "Start ..." (golint)
    • Line 540: warning: comment on exported function Clear should be of the form "Clear ..." (golint)
    • Line 545: warning: comment on exported function Remove should be of the form "Remove ..." (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!