Preparing report...

Report for github.com/confused-Techie/GoPage

(v0.0.0-20211223075840-867c73ad38e1)

A+    Excellent!    Found 1 issues across 4 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!


gocyclo75%

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.


golint75%

Golint is a linter for Go source code.

    • apiFunc/apiFunc.go
    • Line 1: warning: don't use MixedCaps in package name; apiFunc should be apifunc (golint)
    • Line 24: warning: exported function Ping should have comment or be unexported (golint)
    • Line 37: warning: exported function HostSettingGet should have comment or be unexported (golint)
    • Line 41: warning: exported function HostOSGet should have comment or be unexported (golint)
    • Line 45: warning: comment on exported type PluginIcon should be of the form "PluginIcon ..." (with optional leading article) (golint)
    • Line 54: warning: exported type AvailablePluginItem should have comment or be unexported (golint)
    • Line 68: warning: exported type AvailablePluginList should have comment or be unexported (golint)
    • Line 72: warning: exported type PluginItem should have comment or be unexported (golint)
    • Line 85: warning: exported type InstalledPlugins should have comment or be unexported (golint)
    • Line 89: warning: exported type InstallItem should have comment or be unexported (golint)
    • Line 93: warning: exported type InstallList should have comment or be unexported (golint)
    • Line 103: warning: exported function AvailablePlugins should have comment or be unexported (golint)
    • Line 113: warning: exported method InstalledPlugins.AddItemToList should have comment or be unexported (golint)
    • Line 118: warning: exported function GetInstalledPluginsList should have comment or be unexported (golint)
    • Line 147: warning: comment on exported type PluginData should be of the form "PluginData ..." (with optional leading article) (golint)
    • Line 153: warning: exported function GetPluginData should have comment or be unexported (golint)
    • Line 160: warning: exported function CmdTest should have comment or be unexported (golint)
    • Line 211: warning: exported function InstallCmd should have comment or be unexported (golint)
    • Line 221: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 233: warning: exported function UninstallCmd should have comment or be unexported (golint)
    • Line 243: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 254: warning: exported type UniversalPluginOptions should have comment or be unexported (golint)
    • Line 259: warning: exported type UniversalPluginIcon should have comment or be unexported (golint)
    • Line 269: warning: exported type UniversalPluginItem should have comment or be unexported (golint)
    • Line 287: warning: exported type UniversalPluginList should have comment or be unexported (golint)
    • Line 291: warning: exported function UninstallUniversal should have comment or be unexported (golint)
    • Line 377: warning: exported function InstallUniversal should have comment or be unexported (golint)
    • Line 548: warning: exported function UniversalAvailableUpdate should have comment or be unexported (golint)
    • Line 646: warning: exported function Unzip 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!