pstuifzand/ekster

View on GitHub
cmd/eksterd/incoming.go

Summary

Maintainability
A
2 hrs
Test Coverage

Method incomingHandler.ServeHTTP has 58 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (h *incomingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
    defer r.Body.Close()

    err := r.ParseForm()
    if err != nil {
Severity: Minor
Found in cmd/eksterd/incoming.go - About 1 hr to fix

Method incomingHandler.ServeHTTP has 9 return statements (exceeds 4 allowed).
Open

func (h *incomingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
    defer r.Body.Close()

    err := r.ParseForm()
    if err != nil {
Severity: Major
Found in cmd/eksterd/incoming.go - About 55 mins to fix

There are no issues that match your filters.

Category
Status