Preparing report...

Report for github.com/jinyeom/neat

A+    Excellent!    Found 3 issues across 15 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!


golint80%

Golint is a linter for Go source code.

    • neat/activation.go
    • Line 8: warning: exported function RandActivationFunc should have comment or be unexported (golint)
    • Line 13: warning: exported type ActivationFunc should have comment or be unexported (golint)
    • Line 18: warning: exported function Linear should have comment or be unexported (golint)
    • Line 27: warning: exported function Sigmoid should have comment or be unexported (golint)
    • Line 36: warning: exported function Tanh should have comment or be unexported (golint)
    • Line 45: warning: exported function Sine should have comment or be unexported (golint)
    • Line 54: warning: exported function Gaussian should have comment or be unexported (golint)
    • Line 63: warning: exported method ActivationFunc.Name should have comment or be unexported (golint)
    • Line 67: warning: exported method ActivationFunc.Activate should have comment or be unexported (golint)
    • neat/genome_new.go
    • Line 7: warning: exported type NodeType should have comment or be unexported (golint)
    • Line 10: warning: exported const Sensor should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported type ActivationFunc should have comment or be unexported (golint)
    • Line 18: warning: exported const Linear should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported type NodeGene should have comment or be unexported (golint)
    • Line 32: warning: exported function NewNodeGene should have comment or be unexported (golint)
    • Line 40: warning: exported method NodeGene.Id should have comment or be unexported (golint)
    • Line 44: warning: exported method NodeGene.Type should have comment or be unexported (golint)
    • Line 48: warning: exported method NodeGene.Activation should have comment or be unexported (golint)
    • Line 82: warning: exported type ConnectionGene should have comment or be unexported (golint)
    • Line 90: warning: exported function NewConnectionGene should have comment or be unexported (golint)
    • Line 104: warning: exported method ConnectionGene.Id should have comment or be unexported (golint)
    • Line 108: warning: exported method ConnectionGene.Src should have comment or be unexported (golint)
    • Line 112: warning: exported method ConnectionGene.Dst should have comment or be unexported (golint)
    • Line 116: warning: exported method ConnectionGene.Weight should have comment or be unexported (golint)
    • Line 120: warning: exported method ConnectionGene.Expressed should have comment or be unexported (golint)
    • Line 124: warning: exported method ConnectionGene.Enable should have comment or be unexported (golint)
    • Line 128: warning: exported method ConnectionGene.Disable should have comment or be unexported (golint)
    • Line 141: warning: exported type Genome should have comment or be unexported (golint)
    • Line 147: warning: exported function NewGenome should have comment or be unexported (golint)
    • Line 168: warning: exported method Genome.NodeGenes should have comment or be unexported (golint)
    • Line 172: warning: exported method Genome.ConnenctionGenes should have comment or be unexported (golint)
    • Line 176: warning: comment on exported method Genome.Push should be of the form "Push ..." (golint)
    • Line 184: warning: comment on exported method Genome.Connect should be of the form "Connect ..." (golint)
    • neat/network.go
    • Line 3: warning: exported type Network should have comment or be unexported (golint)
    • Line 7: warning: exported function NewNetwork 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!