⚠️ Violations Report

astromatrix-engine

Generated on 8/27/2026, 12:00:41 AM

0
🔴 Critical
39
🟠 High
14
🟡 Medium
3
🟢 Low
🔴 Critical Violations 0

No critical priority violations found

🟠 High Priority Violations 39
go-error-handling
high
Missing error check after assignment
File: calculatetransits.go Line: 1574 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: 43 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-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: 189 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: astroutilities/horoscopes.go Line: 247 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: 87 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: 57 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: 222 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: 209 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: cmd/dumpcharts/main.go Line: 96 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: cmd/constellation/main.go Line: 41 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: cmd/compare/main.go Line: 110 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: cmd/realpeople/main.go Line: 40 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: 263 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: cmd/buildsqlite/main.go Line: 45 Suggestion: Always check errors: if err != nil { return err }
go-error-handling
high
Missing error check after assignment
File: cmd/board/main.go Line: 121 Suggestion: Always check errors: if err != nil { return err }
🟡 Medium Priority Violations 14
missing-try-catch
medium
await without try-catch
File: mirror-proxy/mirror.js Line: 126 Suggestion: Wrap async operations in try-catch
missing-try-catch
medium
await without try-catch
File: mirror-proxy/mirror.js Line: 135 Suggestion: Wrap async operations in try-catch
missing-try-catch
medium
await without try-catch
File: mirror-proxy/api-proxy.worker.js Line: 10 Suggestion: Wrap async operations in try-catch
missing-try-catch
medium
await without try-catch
File: mirror-proxy/api-proxy.worker.js Line: 15 Suggestion: Wrap async operations in try-catch
missing-try-catch
medium
await without try-catch
File: mirror-proxy/api-proxy.worker.js Line: 38 Suggestion: Wrap async operations in try-catch
missing-try-catch
medium
await without try-catch
File: mirror-proxy/api-proxy.worker.js Line: 44 Suggestion: Wrap async operations in try-catch
missing-try-catch
medium
await without try-catch
File: mirror-proxy/api-proxy.worker.js Line: 46 Suggestion: Wrap async operations in try-catch
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/planetpositions.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/mirrorproxy/main.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 3
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
console-log-production
low
console.log in production code
File: mirror-proxy/mirror.js Line: 1 Suggestion: Use a logging library with levels