AutoSpotting/AutoSpotting

View on GitHub
core/config.go

Summary

Maintainability
B
4 hrs
Test Coverage

Function ParseConfig has 133 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func ParseConfig(conf *Config) {

    // The use of FlagSet allows us to parse config multiple times, which is useful for unit tests.
    flagSet := flag.NewFlagSet("AutoSpotting", flag.ExitOnError)

Severity: Major
Found in core/config.go - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status