Preparing report...

Report for github.com/LuaxY/go-monero

A    Great!    Found 75 issues across 87 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!


golint13%

Golint is a linter for Go source code.

    • go-monero/walletrpc/verify.go
    • Line 3: warning: exported type VerifyRequest should have comment or be unexported (golint)
    • Line 14: warning: exported type VerifyResponse should have comment or be unexported (golint)
    • go-monero/walletrpc/query_key.go
    • Line 3: warning: exported type QueryKeyRequest should have comment or be unexported (golint)
    • Line 8: warning: exported type QueryKeyResponse should have comment or be unexported (golint)
    • go-monero/walletrpc/sign.go
    • Line 3: warning: exported type SignRequest should have comment or be unexported (golint)
    • Line 8: warning: exported type SignResponse should have comment or be unexported (golint)
    • go-monero/walletrpc/transfer.go
    • Line 3: warning: exported type TransferRequest should have comment or be unexported (golint)
    • Line 38: warning: exported type TransferResponse should have comment or be unexported (golint)
    • go-monero/walletrpc/refresh.go
    • Line 3: warning: exported type RefreshRequest should have comment or be unexported (golint)
    • Line 8: warning: exported type RefreshResponse should have comment or be unexported (golint)
    • go-monero/walletrpc/parse_uri.go
    • Line 3: warning: exported type ParseUriRequest should have comment or be unexported (golint)
    • Line 8: warning: exported type ParseUriResponse should have comment or be unexported (golint)
    • Line 13: warning: exported type UriPaymentInfo should have comment or be unexported (golint)
    • go-monero/walletrpc/relay_tx.go
    • Line 3: warning: exported type RelayTxRequest should have comment or be unexported (golint)
    • Line 8: warning: exported type RelayTxResponse should have comment or be unexported (golint)
    • go-monero/walletrpc/common.go
    • Line 3: warning: exported type Address should have comment or be unexported (golint)
    • Line 29: warning: exported type SubaddressIndex should have comment or be unexported (golint)
    • Line 37: warning: exported type Destination should have comment or be unexported (golint)
    • Line 45: warning: exported type Payment should have comment or be unexported (golint)
    • Line 74: warning: exported type Transfer should have comment or be unexported (golint)
    • Line 139: warning: exported type SignedKeyImage should have comment or be unexported (golint)
    • Line 144: warning: exported type Entry should have comment or be unexported (golint)
    • go-monero/walletrpc/describe_transfer.go
    • Line 3: warning: exported type DescribeTransferRequest should have comment or be unexported (golint)
    • Line 11: warning: exported type DescribeTransferResponse should have comment or be unexported (golint)
    • Line 16: warning: exported type Description 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!