hunterlong/statup

View on GitHub
database/grouping.go

Summary

Maintainability
A
1 hr
Test Coverage

Function ParseQueries has 54 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func ParseQueries(r *http.Request, o isObject) (*GroupQuery, error) {
    fields := parseGet(r)
    grouping := fields.Get("group")
    startField := utils.ToInt(fields.Get("start"))
    endField := utils.ToInt(fields.Get("end"))
Severity: Minor
Found in database/grouping.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status