lightweight, idiomatic and composable router for building Go HTTP services
- Repository: github.com/go-chi/chi
- Commit:
8b258c7bb28f97a5f2a856ff7ef962578fec9215· HEAD up to date - Analyzed: 2026-08-19T22:47:08-03:00 (682ms)
- Engine: local · go-crap 0.5.1
Trend
History
| Date | Commit | Combined | Average | Funcs | Exceeded | Engine |
|---|---|---|---|---|---|---|
| 2026-08-19 | 8b258c7 | 757.65 | 4.16 | 182 | 1 | local |
Top offenders
| Crap | Complexity | Coverage | Function | File |
|---|---|---|---|---|
| 37.23 | 37 | 94.4% | *node.findRoute | tree.go:409 |
| 20.00 | 4 | 0.0% | NoCache | middleware/nocache.go:40 |
| 20.00 | 4 | 0.0% | BasicAuth | middleware/basic_auth.go:10 |
| 20.00 | 4 | 0.0% | *compressResponseWriter.Flush | middleware/compress.go:339 |
| 20.00 | 4 | 0.0% | Heartbeat | middleware/heartbeat.go:12 |
| 18.02 | 18 | 96.2% | patNextSegment | tree.go:695 |
| 17.05 | 17 | 94.4% | *Mux.Mount | mux.go:295 |
| 13.02 | 13 | 95.0% | *node.routes | tree.go:628 |
| 12.34 | 12 | 86.7% | ThrottleWithOpts | middleware/throttle.go:44 |
| 12.09 | 11 | 79.2% | walk | tree.go:846 |