Preparing report...

Report for github.com/m1ndgames/mbot_jira

A+    Excellent!    Found 2 issues across 1 files

Tweet

gofmt99%

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.


golint97%

Golint is a linter for Go source code.

    • mbot_jira/main.go
    • Line 40: warning: don't use underscores in Go names; var run_directory should be runDirectory (golint)
    • Line 41: warning: don't use underscores in Go names; var rundirectory_os_string should be rundirectoryOsString (golint)
    • Line 42: warning: don't use underscores in Go names; var rundirectory_os_path should be rundirectoryOsPath (golint)
    • Line 76: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 185: warning: if block ends with a return statement, so drop this else and outdent its block (golint)

license0%

Checks whether your project has a LICENSE file.


ineffassign96%

IneffAssign detects ineffectual assignments in Go code.

    • mbot_jira/main.go
    • Line 16: warning: cannot find package "." in: (ineffassign)
    • Line 17: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: could not import github.com/matrix-org/gomatrix (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/andygrunwald/go-jira (invalid package name: "") (ineffassign)
    • Line 17: warning: could not import github.com/kardianos/osext (invalid package name: "") (ineffassign)
    • Line 83: warning: undeclared name: jira (ineffassign)
    • Line 16: warning: "github.com/andygrunwald/go-jira" imported but not used (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!