Preparing report...

Report for bitbucket.org/avd/go-ipc

(v0.6.1)

A    Great!    Found 39 issues across 126 files

Tweet

gofmt71%

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!


gocyclo99%

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.


golint98%

Golint is a linter for Go source code.

    • mq/mq_sys_linux.go
    • Line 17: warning: don't use underscores in Go names; const cSIGEV_SIGNAL should be cSIGEVSIGNAL (golint)
    • Line 18: warning: don't use underscores in Go names; const cSIGEV_NONE should be cSIGEVNONE (golint)
    • Line 19: warning: don't use underscores in Go names; const cSIGEV_THREAD should be cSIGEVTHREAD (golint)
    • Line 20: warning: don't use underscores in Go names; const cNOTIFY_COOKIE_LEN should be cNOTIFYCOOKIELEN (golint)
    • Line 116: warning: don't use underscores in Go names; type notify_data should be notifyData (golint)
    • Line 117: warning: don't use underscores in Go names; struct field mq_id should be mqID (golint)
    • Line 122: warning: don't use underscores in Go names; struct field sigval_ptr should be sigvalPtr (golint)
    • Line 126: warning: don't use underscores in Go names; struct field sigev_value should be sigevValue (golint)
    • Line 127: warning: don't use underscores in Go names; struct field sigev_signo should be sigevSigno (golint)
    • Line 128: warning: don't use underscores in Go names; struct field sigev_notify should be sigevNotify (golint)
    • Line 129: warning: don't use underscores in Go names; struct field sigev_notify_function should be sigevNotifyFunction (golint)
    • Line 130: warning: don't use underscores in Go names; struct field sigev_notify_attributes should be sigevNotifyAttributes (golint)
    • Line 134: warning: don't use underscores in Go names; func mq_open should be mqOpen (golint)
    • Line 159: warning: don't use underscores in Go names; func mq_timedsend should be mqTimedsend (golint)
    • Line 177: warning: don't use underscores in Go names; func mq_timedreceive should be mqTimedreceive (golint)
    • Line 197: warning: don't use underscores in Go names; func mq_notify should be mqNotify (golint)
    • Line 207: warning: don't use underscores in Go names; func mq_getsetattr should be mqGetsetattr (golint)
    • Line 222: warning: don't use underscores in Go names; func mq_unlink should be mqUnlink (golint)
    • sync/futex_linux.go
    • Line 17: warning: don't use underscores in Go names; const cFUTEX_WAIT should be cFUTEXWAIT (golint)
    • Line 18: warning: don't use underscores in Go names; const cFUTEX_WAKE should be cFUTEXWAKE (golint)
    • Line 19: warning: don't use underscores in Go names; const cFUTEX_REQUEUE should be cFUTEXREQUEUE (golint)
    • Line 20: warning: don't use underscores in Go names; const cFUTEX_CMP_REQUEUE should be cFUTEXCMPREQUEUE (golint)
    • Line 21: warning: don't use underscores in Go names; const cFUTEX_WAKE_OP should be cFUTEXWAKEOP (golint)
    • Line 65: warning: don't use underscores in Go names; func sys_futex should be sysFutex (golint)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!