⚠️ Violations Report

astromatrix-engine

Generated on 2/1/2026, 12:00:32 AM

0
🔴 Critical
15
🟠 High
4
🟡 Medium
2
🟢 Low
🔴 Critical Violations 0

No critical priority violations found

🟠 High Priority Violations 15
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: 199 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: 118 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: example/main.go Line: 75 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: 104 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/calcpositions.go Line: 141 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/api.go Line: 161 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/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/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: 176 Suggestion: Always check errors: if err != nil { return err }
🟡 Medium Priority Violations 4
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/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