Preparing report...

Report for github.com/dReam-dApps/dReams

(v0.11.1)

A+    Excellent!    Found 8 issues across 29 files

Tweet

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!


gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


gocyclo72%

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.

    • cmd/dReams/layout.go
    • Line 241: warning: cyclomatic complexity 18 of function dAppScreen() is high (> 15) (gocyclo)
    • Line 491: warning: cyclomatic complexity 18 of function place() is high (> 15) (gocyclo)
    • menu/market.go
    • Line 610: warning: cyclomatic complexity 41 of function PlaceMarket() is high (> 15) (gocyclo)
    • Line 1737: warning: cyclomatic complexity 37 of function CheckAllNFAs() is high (> 15) (gocyclo)
    • Line 1383: warning: cyclomatic complexity 28 of function GetAuctionDetails() is high (> 15) (gocyclo)
    • Line 1176: warning: cyclomatic complexity 26 of function checkNFAAuctionListing() is high (> 15) (gocyclo)
    • Line 1253: warning: cyclomatic complexity 26 of function checkNFABuyListing() is high (> 15) (gocyclo)
    • Line 1497: warning: cyclomatic complexity 22 of function GetBuyNowDetails() is high (> 15) (gocyclo)
    • Line 1046: warning: cyclomatic complexity 20 of function RunNFAMarket() is high (> 15) (gocyclo)
    • Line 1580: warning: cyclomatic complexity 20 of function GetUnlistedDetails() is high (> 15) (gocyclo)
    • Line 294: warning: cyclomatic complexity 18 of function GetNFAImages() is high (> 15) (gocyclo)
    • Line 1330: warning: cyclomatic complexity 17 of function SearchNFAsBy() is high (> 15) (gocyclo)
    • Line 1670: warning: cyclomatic complexity 17 of function FindNFAListings() is high (> 15) (gocyclo)
    • bundle/theme.go
    • Line 76: warning: cyclomatic complexity 37 of function (dTheme).Color() is high (> 15) (gocyclo)
    • cmd/dReams/functions.go
    • Line 299: warning: cyclomatic complexity 28 of function checkNFAOwner() is high (> 15) (gocyclo)
    • Line 433: warning: cyclomatic complexity 21 of function checkDreamsG45s() is high (> 15) (gocyclo)
    • Line 531: warning: cyclomatic complexity 18 of function gnomonFilters() is high (> 15) (gocyclo)
    • menu/assets.go
    • Line 418: warning: cyclomatic complexity 20 of function PlaceAssets() is high (> 15) (gocyclo)
    • menu/menu.go
    • Line 654: warning: cyclomatic complexity 19 of function listMenu() is high (> 15) (gocyclo)

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!