The fantastic ORM library for Golang, aims to be developer friendly
- Repository: github.com/go-gorm/gorm
- Commit:
1d6ce99528060be18a42be09aca8d39efcb47f28· HEAD up to date - Analyzed: 2026-08-19T22:47:33-03:00 (13.9s)
- Engine: local · go-crap 0.5.1
Trend
History
| Date | Commit | Combined | Average | Funcs | Exceeded | Engine |
|---|---|---|---|---|---|---|
| 2026-08-19 | 1d6ce99 | 68211.65 | 120.73 | 565 | 91 | local |
Top offenders
| Crap | Complexity | Coverage | Function | File |
|---|---|---|---|---|
| 8184.94 | 192 | 39.9% | *Field.setupValuerAndSetter | schema/field.go:451 |
| 5700.00 | 75 | 0.0% | ConvertToAssignments | callbacks/update.go:145 |
| 5550.00 | 74 | 0.0% | SaveAfterAssociations | callbacks/associations.go:110 |
| 5112.00 | 71 | 0.0% | Scan | scan.go:126 |
| 4160.00 | 64 | 0.0% | BuildQuerySQL | callbacks/query.go:36 |
| 4160.00 | 64 | 0.0% | *Association.saveAssociation | association.go:384 |
| 3846.32 | 73 | 10.9% | *Statement.BuildCondition | statement.go:292 |
| 2652.00 | 51 | 0.0% | Create | callbacks/create.go:37 |
| 2652.00 | 51 | 0.0% | Migrator.MigrateColumn | migrator/migrator.go:470 |
| 1454.84 | 73 | 36.2% | ConvertToCreateValues | callbacks/create.go:245 |