ali2210/WizDwarf

View on GitHub
other/parser/parser.go

Summary

Maintainability
A
1 hr
Test Coverage

Avoid deeply nested control flow statements.
Open

    } else if strings.Contains(s, ".tif") {
        tags = strings.Split(s, ".tif")
    } else {
        tags = append(tags, " ")
    }
Severity: Major
Found in other/parser/parser.go - About 45 mins to fix

    Function CreateFile has 5 return statements (exceeds 4 allowed).
    Open

    func CreateFile(filename ...string) (*os.File, error) {
    
        if _, err := os.Stat(filename[0]); os.IsExist(err) {
            return &os.File{}, err
        }
    Severity: Major
    Found in other/parser/parser.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status