Preparing report...

Report for github.com/exileed/uptimerobotapi

(v1.0.1)

A+    Excellent!    Found 5 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!


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!


golint54%

Golint is a linter for Go source code.

    • uptimerobotapi/m_window.go
    • Line 7: warning: exported type MWindowService should have comment or be unexported (golint)
    • Line 11: warning: exported type GetMWindowParams should have comment or be unexported (golint)
    • Line 19: warning: exported type NewMWindowParams should have comment or be unexported (golint)
    • Line 27: warning: exported type EditMWindowParams should have comment or be unexported (golint)
    • Line 48: warning: exported type DeleteMWindowWrapper should have comment or be unexported (golint)
    • Line 52: warning: exported type MWindowsResp should have comment or be unexported (golint)
    • Line 58: warning: exported type MWindowResp should have comment or be unexported (golint)
    • Line 66: warning: exported type MWindow should have comment or be unexported (golint)
    • uptimerobotapi/monitors.go
    • Line 7: warning: exported type MonitorService should have comment or be unexported (golint)
    • Line 11: warning: exported type GetMonitorsParams should have comment or be unexported (golint)
    • Line 17: warning: exported type NewMonitorsParams should have comment or be unexported (golint)
    • Line 39: warning: exported type EditMonitorsParams should have comment or be unexported (golint)
    • Line 60: warning: exported type EditMonitorsWrappers should have comment or be unexported (golint)
    • Line 65: warning: exported type DeleteOrResetMonitorsWrappers should have comment or be unexported (golint)
    • Line 69: warning: exported type MonitorsResp should have comment or be unexported (golint)
    • Line 75: warning: exported type MonitorsSingResp should have comment or be unexported (golint)
    • Line 80: warning: exported type MonitorSingle should have comment or be unexported (golint)
    • Line 85: warning: exported type Monitor should have comment or be unexported (golint)
    • Line 106: warning: exported type MonitorLog should have comment or be unexported (golint)
    • uptimerobotapi/response.go
    • Line 4: warning: exported const StatFail should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported type ErrorResponse should have comment or be unexported (golint)
    • Line 18: warning: exported type Error should have comment or be unexported (golint)
    • Line 29: warning: exported type Pagination should have comment or be unexported (golint)
    • uptimerobotapi/account.go
    • Line 7: warning: exported type AccountService should have comment or be unexported (golint)
    • Line 11: warning: exported type AccountResp should have comment or be unexported (golint)
    • uptimerobotapi/alert_contact.go
    • Line 7: warning: exported type AlertContactService should have comment or be unexported (golint)
    • Line 11: warning: exported type AlertContactSingleResp should have comment or be unexported (golint)
    • Line 16: warning: exported type AlertContactEditResp should have comment or be unexported (golint)
    • Line 23: warning: exported type AlertContactSingle should have comment or be unexported (golint)
    • Line 27: warning: exported type AlertContactResp should have comment or be unexported (golint)
    • Line 35: warning: exported type AlertContact 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!