MaxHalford/eaopt

View on GitHub
ga_config.go

Summary

Maintainability
A
1 hr
Test Coverage

Method GAConfig.NewGA has 10 return statements (exceeds 4 allowed).
Open

func (conf GAConfig) NewGA() (*GA, error) {
    // Check for default values
    if conf.RNG == nil {
        conf.RNG = rand.New(rand.NewSource(time.Now().UnixNano()))
    }
Severity: Major
Found in ga_config.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status