Preparing report...

Report for github.com/dreadl0ck/maltego

A+    Excellent!    Found 7 issues across 16 files

Tweet

gofmt87%

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!


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!


golint62%

Golint is a linter for Go source code.

    • maltego/entities.go
    • Line 19: warning: exported const AS should have comment (or a comment on this block) or be unexported (golint)
    • Line 147: warning: comment on exported type EntityCoreInfoExtended should be of the form "EntityCoreInfoExtended ..." (with optional leading article) (golint)
    • Line 157: warning: exported type ImageInfos should have comment or be unexported (golint)
    • maltego/generate.go
    • Line 31: warning: exported function NewMaltegoEntity should have comment or be unexported (golint)
    • Line 108: warning: exported function NewStringField should have comment or be unexported (golint)
    • Line 121: warning: exported function NewRequiredStringField should have comment or be unexported (golint)
    • Line 134: warning: comment on exported function GenEntity should be of the form "GenEntity ..." (golint)
    • Line 291: warning: exported function PackEntityArchive should have comment or be unexported (golint)
    • maltego/generatetransform.go
    • Line 60: warning: exported type Set should have comment or be unexported (golint)
    • Line 66: warning: exported type XMLTransformProperties should have comment or be unexported (golint)
    • Line 112: warning: comment on exported type TransformCoreInfoExtended should be of the form "TransformCoreInfoExtended ..." (with optional leading article) (golint)
    • Line 123: warning: exported type TransformSettingProperty should have comment or be unexported (golint)
    • Line 131: warning: exported type TransformSettingProperties should have comment or be unexported (golint)
    • Line 147: warning: exported type Server should have comment or be unexported (golint)
    • Line 173: warning: exported type TransformSet should have comment or be unexported (golint)
    • Line 187: warning: comment on exported function ToTransformDisplayName should be of the form "ToTransformDisplayName ..." (golint)
    • Line 221: warning: exported function NewTransformSettings should have comment or be unexported (golint)
    • Line 261: warning: exported function NewTransform should have comment or be unexported (golint)
    • Line 383: warning: exported function GenTransform should have comment or be unexported (golint)
    • Line 434: warning: comment on exported function GenTransformArchive should be of the form "GenTransformArchive ..." (golint)
    • Line 476: warning: exported function PackTransformArchive should have comment or be unexported (golint)
    • Line 508: warning: exported function PackMaltegoArchive should have comment or be unexported (golint)
    • maltego/transform.go
    • Line 35: warning: comment on exported type Entities should be of the form "Entities ..." (with optional leading article) (golint)
    • Line 124: warning: exported function NewDisplayLabel should have comment or be unexported (golint)
    • maltego/utils.go
    • Line 141: warning: comment on exported var NoPluralsMap should be of the form "NoPluralsMap ..." (golint)
    • Line 174: warning: exported function GenServerListing should have comment or be unexported (golint)
    • Line 226: warning: exported function GenTransformSet should have comment or be unexported (golint)
    • Line 263: warning: exported function GenMaltegoArchive should have comment or be unexported (golint)
    • Line 313: warning: exported function GenMachines 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!