Open Source realtime backend in 1 file
- Repository: github.com/pocketbase/pocketbase
- Commit:
5d217ddb50cb144d80a5d0b0bdf11b52b2c3e457· HEAD up to date - Analyzed: 2026-08-19T23:05:02-03:00 (82.9s)
- Engine: local · go-crap 0.5.1
Trend
History
| Date | Commit | Combined | Average | Funcs | Exceeded | Engine |
|---|---|---|---|---|---|---|
| 2026-08-19 | 5d217dd | 25211.93 | 12.90 | 1954 | 101 | local |
Top offenders
| Crap | Complexity | Coverage | Function | File |
|---|---|---|---|---|
| 1640.00 | 40 | 0.0% | migrateOldCollections | migrations/1717233556_v0.23_migrate.go:282 |
| 1246.79 | 49 | 20.7% | areValuesEqual | core/record_model.go:1149 |
| 1190.00 | 34 | 0.0% | Serve | apis/serve.go:61 |
| 1122.00 | 33 | 0.0% | CORS | apis/middlewares_cors.go:129 |
| 870.00 | 29 | 0.0% | *ApiScenario.test | tests/api.go:169 |
| 812.00 | 28 | 0.0% | *driver.ListPaged | tools/filesystem/internal/fileblob/fileblob.go:184 |
| 804.05 | 38 | 19.0% | extractNestedVal | core/record_field_resolver.go:453 |
| 702.00 | 26 | 0.0% | init | migrations/1717233558_v0.23_migrate3.go:22 |
| 552.00 | 23 | 0.0% | init | migrations/1778828400_normalize_indexes.go:13 |
| 506.00 | 22 | 0.0% | escapeKey | tools/filesystem/internal/fileblob/fileblob.go:673 |