⚠️ Violations Report

astromatrix-engine

Generated on 6/24/2026, 12:00:35 AM

0
🔴 Critical
34
🟠 High
5
🟡 Medium
2
🟢 Low
🔴 Critical Violations 0

No critical priority violations found

🟠 High Priority Violations 34
go-error-handling
high
Missing error check after assignment
File: calculatetransits.go Line: 1438 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: tests/horoscopes_test.go Line: 23 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: tests/calculatetransits_test.go Line: 20 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: tests/calcpositions_test.go Line: 25 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: example/test_all.go Line: 201 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: example/stress_test_planetary_hours.go Line: 120 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: example/main.go Line: 77 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: example/http_server_example.go Line: 106 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/voc_validate_test.go Line: 21 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/traits.go Line: 44 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/returns.go Line: 20 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/resonance.go Line: 371 Suggestion: Always check errors: if err != nil { return err }
go-unbounded-goroutine
high
Goroutine without lifecycle management
File: astroutilities/queue.go Line: 1 Suggestion: Use WaitGroup or context cancellation
go-error-handling
high
Missing error check after assignment
File: astroutilities/oob_validate_test.go Line: 26 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/oob.go Line: 42 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/moonphase.go Line: 184 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/horoscopes.go Line: 202 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/eventfinder_validate_test.go Line: 61 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/ephemeris.go Line: 57 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/drift_internal_test.go Line: 18 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/datapaths.go Line: 26 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/components.go Line: 56 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/calcpositions.go Line: 95 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/api.go Line: 30 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: tests/swissastro/calculatetransits_test.go Line: 20 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: tests/astroutilities/poolproto_test.go Line: 25 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: tests/astroutilities/horoscopes_test.go Line: 131 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: tests/astroutilities/calcpositions_test.go Line: 25 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: cmd/resonance/main.go Line: 521 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: cmd/graphbuild/main.go Line: 211 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: cmd/genforecast/main.go Line: 137 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: cmd/gallery/main.go Line: 201 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: cmd/astromatrix-engine/router_stub.go Line: 22 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: cmd/astromatrix-engine/main.go Line: 237 Suggestion: Always check errors: if err != nil { return err }
🟡 Medium Priority Violations 5
go-missing-context
medium
HTTP handler should use context
File: example/http_server_example.go Line: 1 Suggestion: Add ctx := r.Context() and pass it down
go-missing-context
medium
HTTP handler should use context
File: astroutilities/api.go Line: 1 Suggestion: Add ctx := r.Context() and pass it down
go-missing-context
medium
HTTP handler should use context
File: cmd/astromatrix-engine/router_stub.go Line: 1 Suggestion: Add ctx := r.Context() and pass it down
go-missing-context
medium
HTTP handler should use context
File: cmd/astromatrix-engine/metrics_http.go Line: 1 Suggestion: Add ctx := r.Context() and pass it down
go-missing-context
medium
HTTP handler should use context
File: cmd/astromatrix-engine/main.go Line: 1 Suggestion: Add ctx := r.Context() and pass it down
🟢 Low Priority Violations 2
console-log-production
low
console.log in production code
File: repair-ephemeris.js Line: 1 Suggestion: Use a logging library with levels
console-log-production
low
console.log in production code
File: build-sqlite.js Line: 1 Suggestion: Use a logging library with levels