Repository Analysis

go-gorm/gorm

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

0.4 Likely human-written View on GitHub
0.4
Adjusted Score
0.4
Raw Score
100%
Time Factor
2026-05-11
Last Push
39,764
Stars
Go
Language
42,685
Lines of Code
179
Files
15
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 1LOW 14

Pattern Findings

15 matches across 2 categories. Click a row to expand file-level details.

Over-Commented Block14 hits · 14 pts
SeverityFileLineSnippet
LOWchainable_api.go21 return
LOWchainable_api.go201// // Find the first user with name jinzhu and age 20
LOWchainable_api.go361}
LOWchainable_api.go401 return
LOWchainable_api.go421 return
LOWfinisher_api.go301 return
LOWfinisher_api.go341 return
LOWmigrator/migrator.go641
LOWcallbacks/preload.go21// "k2.k3": {"arg3"},
LOWinternal/stmt_store/stmt_store.go41 // key: The key representing the SQL query, used for caching and preparing the statement.
LOWinternal/stmt_store/stmt_store.go61 // Set stores the given Stmt object in the store and associates it with the specified key.
LOWinternal/stmt_store/stmt_store.go81 defaultTTL = time.Hour * 24
LOWinternal/stmt_store/stmt_store.go141 PrepareContext(ctx context.Context, query string) (*sql.Stmt, error)
LOWschema/relationship.go181}
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMtests/gorm_test.go26 // This user struct will leverage the existing users table, but override