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

starsforkslicenseupdatedrelease
  • Repository: github.com/go-gorm/gorm
  • Commit: b3d3bf219f0283f8e2e985bac509cb643170f729 · HEAD up to date
  • Analyzed: 2026-10-12T18:53:30-03:00 (53.3s)
  • 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

61976

History

DateCommitCombinedAverageFuncsExceededEngine
2026-08-231d6ce9961984.86109.7156588local
2026-10-12b3d3bf261975.68109.6956588local

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