The fantastic ORM library for Golang, aims to be developer friendly

starsforkslicenseupdatedrelease
  • Repository: github.com/go-gorm/gorm
  • Commit: 1d6ce99528060be18a42be09aca8d39efcb47f28 · HEAD up to date
  • Analyzed: 2026-08-23T23:59:12-03:00 (314ms)
  • Engine: local · go-crap 0.5.1

go-crap command

go-crap scan --format json --no-progress --verbose -o tmp.json --coverage-profile .go-crap-cover.out ./...

Trend

61985

History

DateCommitCombinedAverageFuncsExceededEngine
2026-08-231d6ce9961984.86109.7156588local

Top offenders

CrapComplexityCoverageFunctionFile
8184.9419239.9%*Field.setupValuerAndSetterschema/field.go:451
5700.00750.0%ConvertToAssignmentscallbacks/update.go:145
5550.00740.0%SaveAfterAssociationscallbacks/associations.go:110
4160.00640.0%BuildQuerySQLcallbacks/query.go:36
4160.00640.0%*Association.saveAssociationassociation.go:384
3846.327310.9%*Statement.BuildConditionstatement.go:292
2652.00510.0%Createcallbacks/create.go:37
2652.00510.0%Migrator.MigrateColumnmigrator/migrator.go:470
2349.527123.3%Scanscan.go:126
1454.847336.2%ConvertToCreateValuescallbacks/create.go:245