{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"app.document.addEventListener(\u0022alpine:init\u0022) (cyclomatic 1135): app.document.addEventListener(\u0022alpine:init\u0022) has cyclomatic complexity 1135 (threshold 15). Of this number, 982 points are the body\u0027s own statements and 153 belong to 49 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f239b52551a1551a90152673600110dc2192cdae4a5b5cc5f07f1c725b23a2"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.GetAllAircraft (cyclomatic 87): Handler.GetAllAircraft has cyclomatic complexity 87 (threshold 15). Of this number, 85 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"578fff7a6eb324e0528d4bb63225a61ffd3998f62e3a2ac606dfecff2e274d73"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::applyDelta (cyclomatic 64): (anonymous)::applyDelta has cyclomatic complexity 64 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3853}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f79518aadf51aebb473621aa91dbc887c614760c9b7e7277c67a9b7dc93c848"}},{"ruleId":"D1","level":"warning","message":{"text":"updateFlightPaths (cyclomatic 58): updateFlightPaths has cyclomatic complexity 58 (threshold 15). Most of this is not in the body itself: 5 of the 58 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 1332, 1462, 1350, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"86aaa0b560e869b085f7664451854e0132c9ff2b9e941103deefc8601607cebf"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::formatAircraftDetails (cyclomatic 57): (anonymous)::formatAircraftDetails has cyclomatic complexity 57 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a365382ae1b0cdff6deba1c6cb316a14bbbfbe350ff9c3a517f4e7b798b3bb"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::updateMapPerformanceStats (cyclomatic 57): (anonymous)::updateMapPerformanceStats has cyclomatic complexity 57 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21a4cfb4b2d3ef650e08241888a4b48f19b72106ef87e15fd039003d5fcbdc4"}},{"ruleId":"D1","level":"warning","message":{"text":"aircraft-webgl.createAircraftWebGLRenderer.getVectorStyle (cyclomatic 47): aircraft-webgl.createAircraftWebGLRenderer.getVectorStyle has cyclomatic complexity 47 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f3629ab0105839fc74e59089d01c0ecc288a903211959455e2ca6d34c29eb8"}},{"ruleId":"D1","level":"warning","message":{"text":"createAircraftWebGLRenderer.getVectorStyle (cyclomatic 47): createAircraftWebGLRenderer.getVectorStyle has cyclomatic complexity 47 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8384d8917ea48c7bb1db840c15bb8750de3ab58dc76e44d3f4d0ac5723c96a"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.ValidateFlightPhases (cyclomatic 43): Config.ValidateFlightPhases has cyclomatic complexity 43 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1c5f52d56850175aefef1f7b60643c76028896b8ab1b55704acf662268214f"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getATCDerivedMetrics (cyclomatic 43): (anonymous)::getATCDerivedMetrics has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6d5537897b8aa64ccb1c38549fb851100133d5305cfc441ed0a531aa2aec0b"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.fetchAndProcess (cyclomatic 42): Service.fetchAndProcess has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f06f98aaff05562d2989295a78d5a1fe7f06c86c7404585ff266b8b2f74b8d"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.Validate (cyclomatic 41): Config.Validate has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0023ff928ea5e976bd9ab2a00bd55f3abc43f19f72fab1da71e9ff933420c521"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.ProcessRawData (cyclomatic 37): Service.ProcessRawData has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"334c549e5a88fb49247dae4df96591ce28ba21d71712778958642f38f3480fe9"}},{"ruleId":"D1","level":"warning","message":{"text":"templating.formatAirborneAircraft (cyclomatic 34): templating.formatAirborneAircraft has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/formatters.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fa9ff396429fad169860a429a2549c3257f13510a29f9e2cd6d1a893cf5819"}},{"ruleId":"D1","level":"warning","message":{"text":"PostProcessor.processNextBatch (cyclomatic 33): PostProcessor.processNextBatch has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/post_processor.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b2c099233feedad8c526775d03334caec1974dafd5be8ccf1aa12f92917529"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 33): (anonymous) has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1813b6f9b983051bd831a232d5ca9ad2053a7d230168089a0d553a15f8d59384"}},{"ruleId":"D1","level":"warning","message":{"text":"api.parseAircraftFilters (cyclomatic 31): api.parseAircraftFilters has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5367833288e5b165f90f9fe5555a3bdb181a93de0c76292a0e024d25a0bbea"}},{"ruleId":"D1","level":"warning","message":{"text":"templating.formatGroundAircraft (cyclomatic 31): templating.formatGroundAircraft has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/formatters.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3d98c10263cc1971dd0ae5d46bd506bc8ad0a90a39919b637efa35f3e90144"}},{"ruleId":"D1","level":"warning","message":{"text":"Processor.processTranscriptions (cyclomatic 31): Processor.processTranscriptions has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/processor.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"3014885ce9ab5dedbeb0422023e662a64419ca758a65eeedec43b959c49d0596"}},{"ruleId":"D1","level":"warning","message":{"text":"ATCChat.handleWebSocketMessage (cyclomatic 31): ATCChat.handleWebSocketMessage has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b3bca5b202fca16e68119df41d1996f627cfd86785e30e112d7aa39743c65c"}},{"ruleId":"D1","level":"warning","message":{"text":"AircraftAnimationEngine.updateAircraft (cyclomatic 30): AircraftAnimationEngine.updateAircraft has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7acda857b90c619a83f997343021122a79eba91833771192cf22a9e8a0f989"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::handleAircraftPredictedState (cyclomatic 30): (anonymous)::handleAircraftPredictedState has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3783}}}],"partialFingerprints":{"codehealthFindingId/v1":"f684b01629490c818c1ed30ee1dcc82eb5eb9217eb6452f4cf2638bf1f0cd51b"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSocketClient.connect (cyclomatic 28): WebSocketClient.connect has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 156, 104, 125). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/websocket-client.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"624c2a22b12c941a00c2a6c2056d2f1544657174828144782df049ebfb36c267"}},{"ruleId":"D1","level":"warning","message":{"text":"adsb.ValidateSensorData (cyclomatic 27): adsb.ValidateSensorData has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_utils.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d40fdf01b6432a1ef367478a0d6bf5cba2da8f6d27ff6558f6a2c3f15ab92af"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::createLabelContent (cyclomatic 27): (anonymous)::createLabelContent has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"7605f2963e7244f719758cb81f47e13c5dfe39dc399e3f94df7087bfcaecf714"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.evaluatePhaseChange (cyclomatic 26): Service.evaluatePhaseChange has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bff6853ef15befcad3917ae7a79e8a4af40661fa6a02d4bba1b1da17f4041f3"}},{"ruleId":"D1","level":"warning","message":{"text":"AircraftStorage.getAllAircraftInternal (cyclomatic 26): AircraftStorage.getAllAircraftInternal has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"767790befbe74437d41c9d36ac821d9bd28f46febbae86db184eab53edb9680e"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::handleAircraftUpdate (cyclomatic 26): (anonymous)::handleAircraftUpdate has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3680}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f9b850481915deb2d7b0b10c90585422119f61ad9892cf34170868cf76e3bc"}},{"ruleId":"D1","level":"warning","message":{"text":"ChangeDetector.computeDelta (cyclomatic 24): ChangeDetector.computeDelta has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/change_detector.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dc9bdafa71039606a14b33cadca7c46108430b1f9b5118934461775e310ffc"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 22): main.main has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/server/main.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb5369aa10e570b88a98c6ef0374be1d59362a5e8c15fdacdc89750a5e9d951"}},{"ruleId":"D1","level":"warning","message":{"text":"layer-registry.createOpenLayersOverlayRegistry.createLayer (cyclomatic 22): layer-registry.createOpenLayersOverlayRegistry.createLayer has cyclomatic complexity 22 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be840aa2ecfa837ad4e0e01f61a6829612269453589fefa842ec2a8319e33a2"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenLayersMapManager._getAircraftStyle (cyclomatic 22): OpenLayersMapManager._getAircraftStyle has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"1112011e2571b848923aa10beb0f3cd50954a4f65c9aadbdef03bdf57681e5f7"}},{"ruleId":"D1","level":"warning","message":{"text":"aircraft-webgl.getSpecificAircraftIconClass (cyclomatic 22): aircraft-webgl.getSpecificAircraftIconClass has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: aircraft-webgl.getAircraftAssetPath (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd5b815856b1b324191354df4c249d56b65b9cea2c18653c2b710f9fdc11530"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::aircraftPassesFilters (cyclomatic 22): (anonymous)::aircraftPassesFilters has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4061}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee95b3a27312d05c999d30aaf6b8dc0db388c8d933bb5e691d459521ec4b996"}},{"ruleId":"D1","level":"warning","message":{"text":"createOpenLayersOverlayRegistry.createLayer (cyclomatic 22): createOpenLayersOverlayRegistry.createLayer has cyclomatic complexity 22 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd75c264f611d408f6c3b9d0e88ad9054d30cb21d473b3993bf9e134703c99b4"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.detectGroundStateTransitions (cyclomatic 21): Service.detectGroundStateTransitions has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b62e18259e4b4341985fefc7bf2690d34769c9475b26e9f19475a972497ac1f"}},{"ruleId":"D1","level":"warning","message":{"text":"minimap-feature.updateTracksMiniMap (cyclomatic 21): minimap-feature.updateTracksMiniMap has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/minimap-feature.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c033b0136aef7b4bfdcce3959d68a80c970d1fb72b933fda2c60ea0b22c27571"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenLayersMapManager._updateLiveTrailForAircraft (cyclomatic 21): OpenLayersMapManager._updateLiveTrailForAircraft has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaf474db3ffdf97f5ebd8b2fde873500aa92f275af5e5d8079caaf39f89edd2"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenLayersMapManager.cleanup (cyclomatic 21): OpenLayersMapManager.cleanup has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"b019eccc1b1b3b495c0f43fd8afd1167da74a39290040de151929d793a1d7322"}},{"ruleId":"D1","level":"warning","message":{"text":"aircraft-webgl.getAircraftLabelParts (cyclomatic 21): aircraft-webgl.getAircraftLabelParts has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: aircraft-webgl.getAircraftAssetPath (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"099188e095bbdebd6889698ae0aeaf82b6f8c15aed33f73f4de22981335ac133"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getSortValue (cyclomatic 21): (anonymous)::getSortValue has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c1aeb95c77d1f879ed362bdb15961a2c76ce5c890c3371737ca38c6a878a51"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.HandleBulkRequest (cyclomatic 20): Service.HandleBulkRequest has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d4e560e4fb6d53185c2960b90dbc6d47474dfd3c0f98649df117b37c5ff176"}},{"ruleId":"D1","level":"warning","message":{"text":"TrajectoryTracker.singlePointPhase (cyclomatic 20): TrajectoryTracker.singlePointPhase has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory_phase.go"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9975af9a97b6e0c2134b8bf85047272869f342af3204e30126615f30f5b09736"}},{"ruleId":"D1","level":"warning","message":{"text":"ATCChatHandlers.forwardOpenAIToClient (cyclomatic 20): ATCChatHandlers.forwardOpenAIToClient has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb9e84ba54aaf9624328aa821c927c1399d9e841b576d0cbd55f7845bf6d2d7"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.GetAircraftTracks (cyclomatic 20): Handler.GetAircraftTracks has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2e08bfe9f285b338004783b08ea1a894747c3890c4aed5cce154814dea6a0b"}},{"ruleId":"D1","level":"warning","message":{"text":"AircraftStorage.getPositionHistory (cyclomatic 20): AircraftStorage.getPositionHistory has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8460bf5c263b00a7e0310ffd01f50066aff9c44941c701294052a208123b952"}},{"ruleId":"D1","level":"warning","message":{"text":"AircraftStorage.GetByHex (cyclomatic 20): AircraftStorage.GetByHex has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3d1359499dd00c382379c2350a3b8531b4ef7c50e2f8e868e3cc3ed8568f2f"}},{"ruleId":"D1","level":"warning","message":{"text":"interactions-feature.registerOpenLayersInteractions::onPointerMove (cyclomatic 20): interactions-feature.registerOpenLayersInteractions::onPointerMove has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (interactions-feature.registerOpenLayersInteractions::onSingleClick) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/interactions-feature.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17f315f1d79e9c2c9ac1b47aaf5b7732da0a4de80f2da3b8f5ad18177f54966"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::aircraftDetailsGetAltitudeTrendClass (cyclomatic 20): (anonymous)::aircraftDetailsGetAltitudeTrendClass has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d3e7f9dab3f06440ed6c0aa8ba462b3868c5c7f6a247bba8c1cc666bb9d40e"}},{"ruleId":"D1","level":"warning","message":{"text":"connect::_boundMessageHandler (cyclomatic 20): connect::_boundMessageHandler has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/websocket-client.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2363599b60201048436da5b24d5d6f0b302a7c9fc74a4c23a810dda71d58d989"}},{"ruleId":"D1","level":"warning","message":{"text":"TrajectoryTracker.fewPointsAirbornePhase (cyclomatic 19): TrajectoryTracker.fewPointsAirbornePhase has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory_phase.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"200568729629eef4fb7fb631b1afa6575f5dd797492642f13bc9775636337dc8"}},{"ruleId":"D1","level":"warning","message":{"text":"CentralAudioProcessor.processSRTOutput (cyclomatic 19): CentralAudioProcessor.processSRTOutput has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/central_processor.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"546d700659cf36565999f5a8aac9aafd9f35e24f103c1745f39e17c66dcc28be"}},{"ruleId":"D1","level":"warning","message":{"text":"AircraftStorage.GetAllPositionHistory (cyclomatic 19): AircraftStorage.GetAllPositionHistory has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72006f2a5591cc244101ed6fc2d5b5ea951d8b066318192faf70ad82223184a"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenLayersMapManager._renderRunways (cyclomatic 19): OpenLayersMapManager._renderRunways has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 533, 567, 554, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a42562935e2cfd55c4ca32ad969fa32c8980c471e41b0ffe50daae2ae7aa073"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getAdsbStatsSummary (cyclomatic 19): (anonymous)::getAdsbStatsSummary has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4718}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db41e45810982cdf8dd8a557990641b7ccc471d05d068b09323c733ac3d62df"}},{"ruleId":"D1","level":"warning","message":{"text":"RunwayInUseTracker.recompute (cyclomatic 18): RunwayInUseTracker.recompute has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/runway_tracker.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef527c8cf3e948a5e49fbcbd8ab29fea2ab9c856dacd285e9dddcc7c36ca32e"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.detectSignalLostLandings (cyclomatic 18): Service.detectSignalLostLandings has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"8551c5f04a325b54492b7ee565de45454224f79a9a04b984efde8b78b4a6d3de"}},{"ruleId":"D1","level":"warning","message":{"text":"RealtimeClient.CreateSession (cyclomatic 18): RealtimeClient.CreateSession has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/atcchat/realtime_client.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdda24f50c49eb30a4b420e3618cee9c80bbf5fd16569991481a243a30478460"}},{"ruleId":"D1","level":"warning","message":{"text":"Processor.processAudio (cyclomatic 18): Processor.processAudio has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/processor.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0559d32f0679e36144f04697d2697220410a0ceac3997166f8f8762a79b0d276"}},{"ruleId":"D1","level":"warning","message":{"text":"interactions-feature.registerOpenLayersInteractions::onSingleClick (cyclomatic 18): interactions-feature.registerOpenLayersInteractions::onSingleClick has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (interactions-feature.registerOpenLayersInteractions::onPointerMove) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/interactions-feature.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2790ba55a809817f99daae3172885f8e59448bf9bc3f14e9d1ab522669d8523f"}},{"ruleId":"D1","level":"warning","message":{"text":"adsb.interpolateLivePredictionFromForecast (cyclomatic 17): adsb.interpolateLivePredictionFromForecast has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bad3db6ecb31b151280148071d75320b75d94569c26dce52b9070dbe665b499"}},{"ruleId":"D1","level":"warning","message":{"text":"TrajectoryTracker.computeDerivedState (cyclomatic 17): TrajectoryTracker.computeDerivedState has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"335fc98c6c0cadad3a38e9a9ec62128fce145fe2f8eb4ad51f69bf75b68f3bb1"}},{"ruleId":"D1","level":"warning","message":{"text":"TrajectoryTracker.ruleClimb (cyclomatic 17): TrajectoryTracker.ruleClimb has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory_phase.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"165c49ade26bbae0e303c8fa6e8419e2dc4aca8e6471171b717245b87c555a7f"}},{"ruleId":"D1","level":"warning","message":{"text":"CentralAudioProcessor.startMonitoring (cyclomatic 17): CentralAudioProcessor.startMonitoring has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 539). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/central_processor.go"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed103df5f9bf362b08b03bd9775b91540ccc7091afaeef0f111841ca635d7ae8"}},{"ruleId":"D1","level":"warning","message":{"text":"multiReaderClient.Read (cyclomatic 17): multiReaderClient.Read has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/multireader.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b52951892af620b9fd2ff4ce96aa5ce2709bbdcd66a089c84fa2319c490c18"}},{"ruleId":"D1","level":"warning","message":{"text":"AircraftStorage.upsertOnce (cyclomatic 17): AircraftStorage.upsertOnce has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7f9b495191ab9a122d2f28dc1b1d92607b3ff4627e3434299d359dd8cb9384"}},{"ruleId":"D1","level":"warning","message":{"text":"visibility-rules.matchesSearch (cyclomatic 17): visibility-rules.matchesSearch has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/visibility-rules.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bd9e565c6f88c8e23472b5942cc17c613f32b97831cf194beea7b120d1ceed"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenLayersMapManager._renderRangeRings (cyclomatic 17): OpenLayersMapManager._renderRangeRings has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6b0a6887cf9aac1e5d42fea39ae528d904821f95078c24ddcfc34f49651df1"}},{"ruleId":"D1","level":"warning","message":{"text":"_extractSnapshotFromAircraft (cyclomatic 17): _extractSnapshotFromAircraft has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52fc0aa4799d39864f090900d79ae1eb1cedd4f249a094c872430982079a8eb"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::aircraftDetailsLoadTracks (cyclomatic 17): (anonymous)::aircraftDetailsLoadTracks has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0468c4e667333e901815205b3168fb4e82512b8299be4eec24d6c211a74a46"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::aircraftDetailsGetAltitudeTrend (cyclomatic 17): (anonymous)::aircraftDetailsGetAltitudeTrend has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df949fe01e2568e372626b432da863af32fe8e06118b3c8cbb6466069b10373"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::handleTranscriptionMessage (cyclomatic 17): (anonymous)::handleTranscriptionMessage has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f503bc29e229aa9fb6a6017883158f76d308e0b0428e167ced2ce17adca99a9b"}},{"ruleId":"D1","level":"warning","message":{"text":"connectToFrequency (cyclomatic 17): connectToFrequency has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/audio-client.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bbf72f18cd34e1a096f8c4bfccfcc9d6f22aed862207a42aedce90f635134d"}},{"ruleId":"D1","level":"warning","message":{"text":"toggleMute (cyclomatic 17): toggleMute has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/audio-client.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"08845ed7479f02aff1a96ff76a8d0790341f56eab290b1b4ad4be686a89bf927"}},{"ruleId":"D1","level":"warning","message":{"text":"adsb.computeATCDerivedMetrics (cyclomatic 16): adsb.computeATCDerivedMetrics has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_derived.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18eaf2478d6faa531dc6132ebd25d2ecf23d414548c8473560030852bd791d7"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.StreamAudio (cyclomatic 16): Handler.StreamAudio has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"362063bdd70fff9bc0b97388df3016183b9a95b28d65fb60a2b4feb1e18ebb67"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.ValidateFrequencies (cyclomatic 16): Config.ValidateFrequencies has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9a0d34d5b6e2ee8c73769be978fce9ef1fe6bbc80924acaba128984063942a"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioClient.startVisualization (cyclomatic 16): AudioClient.startVisualization has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (renderFrame). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/audio-client.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4add6946e491ee6bbc5e0c11ff9a4697f7bd97d19aa3b2328a69560e83ba80b"}},{"ruleId":"D1","level":"warning","message":{"text":"layer-registry.createOpenLayersOverlayRegistry.createSource (cyclomatic 16): layer-registry.createOpenLayersOverlayRegistry.createSource has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1a5f38a3f5a79f091ce40e8f295643886aa8cfc3420cc0d9b23409afd45f0e"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenLayersMapManager._initOverlayRegistry (cyclomatic 16): OpenLayersMapManager._initOverlayRegistry has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0af25c56b4cf8c9bea4bf8bcebd75c008e14317833bd42fcfd2a1b6f0eee48f"}},{"ruleId":"D1","level":"warning","message":{"text":"createOpenLayersOverlayRegistry.createSource (cyclomatic 16): createOpenLayersOverlayRegistry.createSource has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"450d6ca5a3218d431182a7a5bbbd897405c86ff4ed27f2ab7acd937954359593"}},{"ruleId":"D2","level":"warning","message":{"text":"app.document.addEventListener(\u0022alpine:init\u0022) (cognitive 1218): app.document.addEventListener(\u0022alpine:init\u0022) has cognitive complexity 1218 (threshold 15). Drivers by points: if/else 562 (700 pts), boolean chains 330, ternaries 124 (151 pts), error handling 17, loops 11 (15 pts), match/switch 5 (nesting depth added 169). Of this number, 1068 points are the body\u0027s own statements and 150 belong to 49 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9146d6d871db302004a5433a7cb9c7a4428a7d31564d7540b671aeb94f32da31"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.GetAllAircraft (cognitive 187): Handler.GetAllAircraft has cognitive complexity 187 (threshold 15). Drivers by points: if/else 55 (156 pts), boolean chains 17, loops 8 (14 pts) (nesting depth added 107). Of this number, 181 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b3b8138e53809cde7eef6b935edb0267e8da7da6ad07e084081c7dfd4f07e7"}},{"ruleId":"D2","level":"warning","message":{"text":"Processor.processTranscriptions (cognitive 120): Processor.processTranscriptions has cognitive complexity 120 (threshold 15). Drivers by points: if/else 26 (109 pts), match/switch 3 (9 pts), boolean chains 1, loops 1 (nesting depth added 89). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/processor.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb9fc31dd784a93a797e767ec1152378776f4c6e97f9dc2c0540da22a16b31b"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenLayersMapManager.updateFlightPaths (cognitive 107): OpenLayersMapManager.updateFlightPaths has cognitive complexity 107 (threshold 15). Drivers by points: ternaries 14 (42 pts), if/else 19 (41 pts), boolean chains 21, loops 1 (3 pts) (nesting depth added 52). Most of this is not in the body itself: 4 of the 107 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 1332, 1462, 1350, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd0dda58c413494f7b9b3ab3ee28af8f313d060195bece755978e90cd8962c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.fetchAndProcess (cognitive 87): Service.fetchAndProcess has cognitive complexity 87 (threshold 15). Drivers by points: if/else 29 (64 pts), loops 10 (18 pts), boolean chains 5 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed67c2276fe476e9c3cfd0cd7d571629a8c56ace30e6add8b02f0ab42061c94"}},{"ruleId":"D2","level":"warning","message":{"text":"ATCChatHandlers.forwardOpenAIToClient (cognitive 85): ATCChatHandlers.forwardOpenAIToClient has cognitive complexity 85 (threshold 15). Drivers by points: if/else 13 (75 pts), match/switch 2 (8 pts), boolean chains 1, loops 1 (nesting depth added 68). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48984a20e739adee47cdfc6d73ab2512f70f1b4e00094f90b11513c0938adc0"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.ProcessRawData (cognitive 73): Service.ProcessRawData has cognitive complexity 73 (threshold 15). Drivers by points: if/else 20 (56 pts), boolean chains 10, loops 3 (7 pts) (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21fda8e886e70d7f2571ce1ec0d2b8367f0f83b3557d1190fb6bae50b1ab3d8"}},{"ruleId":"D2","level":"warning","message":{"text":"Processor.processAudio (cognitive 68): Processor.processAudio has cognitive complexity 68 (threshold 15). Drivers by points: if/else 14 (59 pts), loops 2 (5 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 49). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/processor.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb85517f91590ca8428f477e1983e1371be619f22f4c832f042433a3da7ce41e"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::applyDelta (cognitive 61): (anonymous)::applyDelta has cognitive complexity 61 (threshold 15). Drivers by points: boolean chains 32, if/else 25 (29 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3853}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d68b275546fd9291f0307e4865f8c78190eafc8e373640383017016d8f9e5d"}},{"ruleId":"D2","level":"warning","message":{"text":"PostProcessor.processNextBatch (cognitive 60): PostProcessor.processNextBatch has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (42 pts), loops 9 (16 pts), boolean chains 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/post_processor.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"79144a8a12c601862b25aff448b9741aa1570cdc66ffede9d440ac69bc017008"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getATCDerivedMetrics (cognitive 56): (anonymous)::getATCDerivedMetrics has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 15 (26 pts), if/else 12 (14 pts), boolean chains 13, other 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece6982a5a562cc0e01dc05c1a4a4c76960efc20686b57df438dedaa739ceb0e"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.detectGroundStateTransitions (cognitive 55): Service.detectGroundStateTransitions has cognitive complexity 55 (threshold 15). Drivers by points: if/else 13 (48 pts), boolean chains 6, loops 1 (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"977697d3b5e546ae62a7007a214be453c0686da30e5fce3ca4045c9ebf2bc5cf"}},{"ruleId":"D2","level":"warning","message":{"text":"CentralAudioProcessor.processSRTOutput (cognitive 55): CentralAudioProcessor.processSRTOutput has cognitive complexity 55 (threshold 15). Drivers by points: if/else 13 (50 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 38). Of this number, 43 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/central_processor.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9fc9dceecbb80557edc68c009d3ee0017abc63bc58452e486a7b7c530f80a5"}},{"ruleId":"D2","level":"warning","message":{"text":"AircraftStorage.getAllAircraftInternal (cognitive 55): AircraftStorage.getAllAircraftInternal has cognitive complexity 55 (threshold 15). Drivers by points: if/else 24 (42 pts), loops 7 (13 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"67eca25b065b57d2848290db35a4108a28b8790796b9fb1b3fdc8c1b93a0206d"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::formatAircraftDetails (cognitive 54): (anonymous)::formatAircraftDetails has cognitive complexity 54 (threshold 15). Drivers by points: other 30, boolean chains 17, if/else 6, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b46bfe8e74f894e550bad0e66f926acd5af6d3f6d1d4ad05edd1839cb4c3c6f"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.Validate (cognitive 51): Config.Validate has cognitive complexity 51 (threshold 15). Drivers by points: if/else 26 (41 pts), match/switch 4 (5 pts), boolean chains 4, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"376229157ddebfac4913fe5280ae591cdb5dcfc35d3aebaa74da523f2c999b15"}},{"ruleId":"D2","level":"warning","message":{"text":"createAircraftWebGLRenderer.getVectorStyle (cognitive 50): createAircraftWebGLRenderer.getVectorStyle has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 26 (31 pts), boolean chains 11, if/else 7 (8 pts) (nesting depth added 6). Of this number, 47 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"893b5a6b26c34c3a1d4a06cb8ea03da8fce5d30f0adcaf35db04b79637f77e5b"}},{"ruleId":"D2","level":"warning","message":{"text":"aircraft-webgl.createAircraftWebGLRenderer.getVectorStyle (cognitive 48): aircraft-webgl.createAircraftWebGLRenderer.getVectorStyle has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 20 (27 pts), boolean chains 13, if/else 7 (8 pts) (nesting depth added 8). Of this number, 45 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab575ec12184ccd24db16ab3b38e5adcfe48e2295ada302f1f69f94fd346d58"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::updateMapPerformanceStats (cognitive 47): (anonymous)::updateMapPerformanceStats has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 28, boolean chains 18, if/else 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c884cdf0663b341aedb8147a237aaf089f12598291e5e67e877bc5920a72288"}},{"ruleId":"D2","level":"warning","message":{"text":"AircraftAnimationEngine.updateAircraft (cognitive 45): AircraftAnimationEngine.updateAircraft has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (20 pts), ternaries 7 (17 pts), boolean chains 8 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b46da59caad0c7244adeded3ccd66952afbffc9b255f60a240ef23c66f3421e"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.evaluatePhaseChange (cognitive 44): Service.evaluatePhaseChange has cognitive complexity 44 (threshold 15). Drivers by points: if/else 20 (35 pts), boolean chains 7, match/switch 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"631ddf59a0e23306a3ef7db8b1495ed99b7d2175695735c2b2abeb7b8647894d"}},{"ruleId":"D2","level":"warning","message":{"text":"api.parseAircraftFilters (cognitive 43): api.parseAircraftFilters has cognitive complexity 43 (threshold 15). Drivers by points: if/else 27 (39 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"1832a273b4fb07f2b2408f38def1b3af0afff9656f0f923641b65d29bde2b287"}},{"ruleId":"D2","level":"warning","message":{"text":"CentralAudioProcessor.startMonitoring (cognitive 43): CentralAudioProcessor.startMonitoring has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (36 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 27). None of this is in the body itself: all 43 points belong to one function literal inside it that branches (line 539). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/central_processor.go"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"667b330754df1b0912049fef0bcbd83bb99d771ed706d3a9aed3fe01cc1ce6c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.ValidateFlightPhases (cognitive 42): Config.ValidateFlightPhases has cognitive complexity 42 (threshold 15). Drivers by points: if/else 40, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b1c7787b275834313d52ebfa046805df57c34c9d5a4bcbd4eb6c92604acf34"}},{"ruleId":"D2","level":"warning","message":{"text":"CentralAudioProcessor.processFFmpegOutput (cognitive 39): CentralAudioProcessor.processFFmpegOutput has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (35 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 26). Of this number, 27 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/central_processor.go"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda2fc6195729f6928fbf59b2ac9181e9ac279d85dac826e564a69e199609a09"}},{"ruleId":"D2","level":"warning","message":{"text":"templating.FormatWeatherData (cognitive 39): templating.FormatWeatherData has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (37 pts), boolean chains 2 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/formatters.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b895ba1907b755be1fc9a190cca596730f6fa25ecce1d54bcad18bef03a39e"}},{"ruleId":"D2","level":"warning","message":{"text":"templating.formatAirborneAircraft (cognitive 38): templating.formatAirborneAircraft has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (30 pts), boolean chains 8 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/formatters.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e11d8faa8b47c2028aea835ada52c89052ef583866b55e97ab297fe0c05bc70"}},{"ruleId":"D2","level":"warning","message":{"text":"templating.formatGroundAircraft (cognitive 36): templating.formatGroundAircraft has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21 (29 pts), boolean chains 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/formatters.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"941abb01e1262a0fdf618d3ab169c9db9111f3ff968fde050c0f6035678f0a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::handleAircraftUpdate (cognitive 36): (anonymous)::handleAircraftUpdate has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (25 pts), ternaries 4 (6 pts), boolean chains 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3680}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce5e7627d73cf2f079143cdbae0fe14136dfb50fbbe995b888380eef18dc8dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.Run (cognitive 35): Server.Run has cognitive complexity 35 (threshold 15). Drivers by points: if/else 5 (21 pts), loops 3 (8 pts), match/switch 2 (6 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/websocket/server.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cc49a2d61a83d64df25dfe1ec3441500bef6f599598750e49aaaa9735bfaaf"}},{"ruleId":"D2","level":"warning","message":{"text":"ChangeDetector.computeDelta (cognitive 34): ChangeDetector.computeDelta has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (31 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/change_detector.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d79a822b110df7dec5c861febf07e382b7c73a10825dac0817774bdee6c967"}},{"ruleId":"D2","level":"warning","message":{"text":"AircraftStorage.getPositionHistory (cognitive 32): AircraftStorage.getPositionHistory has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 3, loops 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1eb8d3b8ab9bc6f2c7d942574bd98d99c1d2098e564527bff5ccd815305ed4f"}},{"ruleId":"D2","level":"warning","message":{"text":"AircraftStorage.GetAllPositionHistory (cognitive 31): AircraftStorage.GetAllPositionHistory has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 3, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e098b77018cd37eb815158ee2b72648ace796ef9fc963145259e01fbd799215"}},{"ruleId":"D2","level":"warning","message":{"text":"AircraftStorage.GetByHex (cognitive 31): AircraftStorage.GetByHex has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"448ab249c9e38d276ee9762316a6ef83d6f4f1ee11bd7ccf5324199341515d12"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenLayersMapManager._updateLiveTrailForAircraft (cognitive 31): OpenLayersMapManager._updateLiveTrailForAircraft has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 4 (11 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"c214e97e355d3f69c2dbf369f50cc656bbc91fb36ea8fc17e2a35e33b48cd5db"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 30): main.main has cognitive complexity 30 (threshold 15). Drivers by points: if/else 23 (27 pts), loops 2, boolean chains 1 (nesting depth added 4). Of this number, 24 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/server/main.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"650b65cf841102568539e9eed4673166f46afa16e7e974ee91cf75c78e4d1f70"}},{"ruleId":"D2","level":"warning","message":{"text":"ATCChat.handleWebSocketMessage (cognitive 30): ATCChat.handleWebSocketMessage has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 2, error handling 1, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc59e974148503e76cb6e3c08aeee25982a03037da460d38a8b8dfbac06763a1"}},{"ruleId":"D2","level":"warning","message":{"text":"adsb.ValidateSensorData (cognitive 29): adsb.ValidateSensorData has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 13 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_utils.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8ec44e07b2dd7b53c3cbd8cd918406ee0afb8e6452e8b1a992c2db71fefdb1"}},{"ruleId":"D2","level":"warning","message":{"text":"adsb.DetectRunwayDeparture (cognitive 29): adsb.DetectRunwayDeparture has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (26 pts), loops 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_utils.go"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"964afe086cc530e41d9ea03922656099f33048225fa9cb455d6580c71cf65a54"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.StreamAudio (cognitive 29): Handler.StreamAudio has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (25 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"55740dfae329704c7132382e95dd4a9b7b32d79b91bfed7c9ce92d004d8264ea"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 29): (anonymous) has cognitive complexity 29 (threshold 15). Drivers by points: if/else 568 (707 pts), boolean chains 353, ternaries 147 (178 pts), other 52, error handling 18, loops 11 (15 pts), match/switch 6 (nesting depth added 174). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b812be0319d1b784d3798ce5f313aaab54605c020c5f091747997cd97d71889"}},{"ruleId":"D2","level":"warning","message":{"text":"RunwayInUseTracker.recompute (cognitive 28): RunwayInUseTracker.recompute has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 5 (7 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/runway_tracker.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23f112f7525227d4cfc3beaf9e712d2f379d4659517cb40d84d0c040c3d082e"}},{"ruleId":"D2","level":"warning","message":{"text":"reference.NewService (cognitive 28): reference.NewService has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (24 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/service.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"86643a1f0cec35d27d4cf1b319ecf3c28f61e7ba6cde50944cf291f7d15ced0f"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.detectSignalLostLandings (cognitive 27): Service.detectSignalLostLandings has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 6, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"782ab6f2e170eda93d569398b3df23fbe591a98c4bb76d2abfc2c8ea86e103c5"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::createLabelContent (cognitive 27): (anonymous)::createLabelContent has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 8, if/else 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09328ff1e1b449e7e8fea6e39bf566b8b30cd7950c4db9f72b614a9724be6d4"}},{"ruleId":"D2","level":"warning","message":{"text":"layer-registry.createOpenLayersOverlayRegistry.createLayer (cognitive 26): layer-registry.createOpenLayersOverlayRegistry.createLayer has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 11, if/else 2 (3 pts) (nesting depth added 7). Most of this is not in the body itself: 11 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 97). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9d8ab786979b0af9bb955f5eef9a37fcb87097c683daf89921c96344cb021b"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::handleAircraftPredictedState (cognitive 26): (anonymous)::handleAircraftPredictedState has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14, boolean chains 7, ternaries 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3783}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a13f918c837a5c1cfb8cbd74f3bfb032d32bdc72fee0c43528eeb07d863e62d"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.HandleBulkRequest (cognitive 25): Service.HandleBulkRequest has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (19 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1609bc89ab92f947cd97d8f29e94e7694522ea59ce3f97aef50ec5d2b66b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.filterByAirGroundAndPhases (cognitive 25): Service.filterByAirGroundAndPhases has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58e23aaed450892405ac2bc86589611b9caf380ba8135e5d8787b0f7dc28e2e"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::aircraftDetailsGetAltitudeTrendClass (cognitive 25): (anonymous)::aircraftDetailsGetAltitudeTrendClass has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 10 (16 pts), if/else 6, boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5d899060fd43fda42dd1bed82ec92c5998b2d0664c87cfd72f1d80df07f25b"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::fetchReferenceData (cognitive 25): (anonymous)::fetchReferenceData has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (24 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4767}}}],"partialFingerprints":{"codehealthFindingId/v1":"3001c8d4b563e190060c24c9e890b745d8994186b652a7574a3a2ecddfc9bd13"}},{"ruleId":"D2","level":"warning","message":{"text":"toggleMute (cognitive 25): toggleMute has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6, error handling 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 8). Of this number, 15 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/audio-client.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfddd286b2cf9f1abfc74a763ef485e4be4517f542335296cd9ad4bc93c22ae"}},{"ruleId":"D2","level":"warning","message":{"text":"TrajectoryTracker.singlePointPhase (cognitive 24): TrajectoryTracker.singlePointPhase has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory_phase.go"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbdeeaff74a782be5c4d2902d92c9d6f7840b87636f4a2da28386763dd17542"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.GetAircraftTracks (cognitive 24): Handler.GetAircraftTracks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ada39a8284db5866d0aaa779c2996ba383937fd2e7ce97f31837bd188d59c2"}},{"ruleId":"D2","level":"warning","message":{"text":"RealtimeClient.CreateSession (cognitive 24): RealtimeClient.CreateSession has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (20 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/atcchat/realtime_client.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb34b4e3e4f4105e5f47f83e712688769837c04f7e8a7ac14c6a9d3779e0e228"}},{"ruleId":"D2","level":"warning","message":{"text":"AircraftStorage.upsertOnce (cognitive 24): AircraftStorage.upsertOnce has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 1 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe95695d5e8a74308e4e7520e008cc7b21660a1cdedf218301ebe470c61d52c"}},{"ruleId":"D2","level":"warning","message":{"text":"minimap-feature.updateTracksMiniMap (cognitive 24): minimap-feature.updateTracksMiniMap has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 6, ternaries 3 (5 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/minimap-feature.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7330d7fe9683fd1955794e7ae24b21bfb253af99cb742546b82e766f4e5526fd"}},{"ruleId":"D2","level":"warning","message":{"text":"createOpenLayersOverlayRegistry.createLayer (cognitive 24): createOpenLayersOverlayRegistry.createLayer has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, ternaries 6 (10 pts), if/else 2 (3 pts) (nesting depth added 5). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 97). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9d62ba5ebdfc0abc58198cdeb7df8cee8e5db835eedbd3ef0604e3f44bb792"}},{"ruleId":"D2","level":"warning","message":{"text":"adsb.DetectRunwayApproach (cognitive 23): adsb.DetectRunwayApproach has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_utils.go"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb28e8f36d9b45500c00896420285700f0b42411ee3b2237a67ecda3baf70588"}},{"ruleId":"D2","level":"warning","message":{"text":"adsb.interpolateLivePredictionFromForecast (cognitive 23): adsb.interpolateLivePredictionFromForecast has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7486033ab63c85699e9fa147b6eaeb3f548c17b21b96f666a97b07ef852f88"}},{"ruleId":"D2","level":"warning","message":{"text":"StaticFileHandler.ServeHTTP (cognitive 23): StaticFileHandler.ServeHTTP has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (23 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/static.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a700d03d106a1555c75acd2c4a094571fad99ca817164c9918fe97465d9ba72f"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.ValidateFrequencies (cognitive 23): Config.ValidateFrequencies has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0eb865144ab739309d05813c766b95368deaee4a139715ea82a7e85c2f0367"}},{"ruleId":"D2","level":"warning","message":{"text":"AircraftStorage.GetPositionHistoryWithLimit (cognitive 23): AircraftStorage.GetPositionHistoryWithLimit has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"22948b9197387b6ca0950b58bcb9cfd8a64fb74fbb170028b715dd17aae0f83d"}},{"ruleId":"D2","level":"warning","message":{"text":"connect::_boundMessageHandler (cognitive 23): connect::_boundMessageHandler has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 4, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/websocket-client.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"285f5fb37b67bb76950f215f5d0cb2ec3d5b262a8d4d9f386da17ac8cdcab2df"}},{"ruleId":"D2","level":"warning","message":{"text":"interactions-feature.registerOpenLayersInteractions::onSingleClick (cognitive 22): interactions-feature.registerOpenLayersInteractions::onSingleClick has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/interactions-feature.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1e6abf9fa137dfca93f2bd2d5aab8cfced19d15af63fff7a160145c3cf48b4"}},{"ruleId":"D2","level":"warning","message":{"text":"aircraft-webgl.getSpecificAircraftIconClass (cognitive 21): aircraft-webgl.getSpecificAircraftIconClass has cognitive complexity 21 (threshold 15). Drivers by points: if/else 21. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a54d9531c0aab38fcccbd544c18fc55a43a11e841f21c5db6a2f5c6697a1d7c"}},{"ruleId":"D2","level":"warning","message":{"text":"aircraft-webgl.getAircraftLabelParts (cognitive 21): aircraft-webgl.getAircraftLabelParts has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (7 pts), ternaries 6 (7 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"55214bc6006f569ad4f7bf5d44ae898bd6d60cd4252771372eb1ba718c6c9815"}},{"ruleId":"D2","level":"warning","message":{"text":"connectToFrequency (cognitive 21): connectToFrequency has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, error handling 1 (3 pts), ternaries 1 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/audio-client.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30c7a6b0c3bd1ccfa7baa775a47034218836417a423955029d3f31b337592bd"}},{"ruleId":"D2","level":"warning","message":{"text":"_getAircraftStyle (cognitive 21): _getAircraftStyle has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, ternaries 6, if/else 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf73cfccab119820b8e2dd372223dd88846de7531431d472bd608b73f1281eb"}},{"ruleId":"D2","level":"warning","message":{"text":"registerOpenLayersInteractions::onPointerMove (cognitive 21): registerOpenLayersInteractions::onPointerMove has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 4 (5 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/interactions-feature.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d04e8bd7fcce18be46b194c5af45fa2c3551d5b6db4b638810c43ccc275d59"}},{"ruleId":"D2","level":"warning","message":{"text":"adsb.computeForecast (cognitive 20): adsb.computeForecast has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory_prediction.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21e83e3a693cb71522598ef7f4ff17446196898d4948e2cd90a325d19e18f61"}},{"ruleId":"D2","level":"warning","message":{"text":"TrajectoryTracker.ruleClimb (cognitive 20): TrajectoryTracker.ruleClimb has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory_phase.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf9b4a1434757618556dee6694b74773dc1167b1115ff19660e63a6928df33f"}},{"ruleId":"D2","level":"warning","message":{"text":"TrajectoryTracker.fewPointsAirbornePhase (cognitive 20): TrajectoryTracker.fewPointsAirbornePhase has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory_phase.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"084b82d6371fd68fd0298a78436681f7309b709cd282476801753f52663433ab"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamProcessor.removeInactiveClients (cognitive 20): StreamProcessor.removeInactiveClients has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/frequencies/service.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6c9f3fe0183f0f2480f08a45e1015bfaa779f15a9881d7f3d81b3737dcd5ed"}},{"ruleId":"D2","level":"warning","message":{"text":"AircraftStorage.GetStaleActiveAircraft (cognitive 20): AircraftStorage.GetStaleActiveAircraft has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8826b80bc55aa630d41d437361ce50e1f8a5c34df54ddea1c00eca51ff66d42"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenLayersMapManager.toggleLayerVisibility (cognitive 20): OpenLayersMapManager.toggleLayerVisibility has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (7 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b798eaf439646337831604a9f832dca5c52aaf3c9c2be9ea351832789dd27b"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenLayersMapManager.cleanup (cognitive 20): OpenLayersMapManager.cleanup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, boolean chains 7. Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce07db7f90346585ad49ebce1b6218b46eb4dd923d2c4138bb75a0721a3ffb2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::selectAircraftByHex (cognitive 20): (anonymous)::selectAircraftByHex has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f119bb6d652df74644dd13f17af0e3e37fc722f0d926218361230ee7483f35f9"}},{"ruleId":"D2","level":"warning","message":{"text":"TrajectoryTracker.computeDerivedState (cognitive 19): TrajectoryTracker.computeDerivedState has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 3 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"41565bc542f1bc9445182e980336fa5732b3f9f13a7f6613aed22cc3fe7ebea2"}},{"ruleId":"D2","level":"warning","message":{"text":"reference.loadAircraftCSV (cognitive 19): reference.loadAircraftCSV has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4141b2340b65d5a1ab6ddf3632c0b6e63b9f2e8bff201700e7b0b9d96d46d0c2"}},{"ruleId":"D2","level":"warning","message":{"text":"reference.loadRunwaysCSV (cognitive 19): reference.loadRunwaysCSV has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"11daa985b70b5d3bd887eca77bbbea2d276cf699f79aea118d5181caea3d8208"}},{"ruleId":"D2","level":"warning","message":{"text":"DataAggregator.getAircraftData (cognitive 19): DataAggregator.getAircraftData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/aggregator.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6fed46ff721d69ea98c654274715fc5a1e06d0989e59263e2dc55fe0d35467"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.writePump (cognitive 19): Client.writePump has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/websocket/server.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"93dcc02cb379cf5673f8579394b9847fa7f78bfe7629c7a3964b1c5e6fc27a54"}},{"ruleId":"D2","level":"warning","message":{"text":"layer-registry.createOpenLayersOverlayRegistry.createSource (cognitive 19): layer-registry.createOpenLayersOverlayRegistry.createSource has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d50a6c57ba655414628c302c7ebef15494c2b786b4c95b7ef36957305b9ef3"}},{"ruleId":"D2","level":"warning","message":{"text":"_renderRunways (cognitive 19): _renderRunways has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 9 (nesting depth added 2). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 533, 567, 554, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0add4b13eec80bb648d38e05c5f5a14a3b2f2d7405a1255abcf8645f084d246"}},{"ruleId":"D2","level":"warning","message":{"text":"createOpenLayersOverlayRegistry.createSource (cognitive 19): createOpenLayersOverlayRegistry.createSource has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1cf5a4b00a1c7e957994f01335758e3f71922c54638ef9f286cf34b9b744fc"}},{"ruleId":"D2","level":"warning","message":{"text":"AircraftStorage.GetFiltered (cognitive 18): AircraftStorage.GetFiltered has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5945090b0d35e3136adce01806fa2abf3995602e0a131dff49d392dae14eb0a"}},{"ruleId":"D2","level":"warning","message":{"text":"AircraftAnimationEngine._computePose (cognitive 18): AircraftAnimationEngine._computePose has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 6 (7 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"b975891af74a436fe5cbf7061aefd29a516ea80ae50459b44297680b4f50adb0"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::aircraftDetailsGetAltitudeTrend (cognitive 18): (anonymous)::aircraftDetailsGetAltitudeTrend has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, ternaries 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4817bbac10116c409dc0a171f31505c41c61a11547be3b2b4dec8d93be2766e7"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::handleTranscriptionMessage (cognitive 18): (anonymous)::handleTranscriptionMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"61edf04b8b86abccd3f3a1996efc1c8f215cf16032118312a2e2f65616fb487d"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::aircraftPassesFilters (cognitive 18): (anonymous)::aircraftPassesFilters has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (6 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4061}}}],"partialFingerprints":{"codehealthFindingId/v1":"66558e6f896e8cb9074f5b1d65d484cef073e637512e3809fd016d13917dc944"}},{"ruleId":"D2","level":"warning","message":{"text":"startAIAudioVisualization::renderFrame (cognitive 18): startAIAudioVisualization::renderFrame has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"c550f066ebc307c4c10d246a950e7e8d24d9fb01857976cbe7fbde70a1d07823"}},{"ruleId":"D2","level":"warning","message":{"text":"createAircraftWebGLRenderer.upsertAircraftFeature (cognitive 18): createAircraftWebGLRenderer.upsertAircraftFeature has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b4659f9dea8a3dd77fd7f3ff02d4ebca30c534f2d7100a6980b1572cdd36e7"}},{"ruleId":"D2","level":"warning","message":{"text":"main.cleanupOldDailyDatabases (cognitive 17): main.cleanupOldDailyDatabases has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/server/main.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"a304a5406fc45fa01ffe449453e30dfb4efd93b48b15de22a77eb674a4218b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.GetAudioStream (cognitive 17): Service.GetAudioStream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/frequencies/service.go"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9a48a3c30b53c7408c758a100339b15eee65eaadd39eddfe86bf36fa5c0d82"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIClient.CreateSession (cognitive 17): OpenAIClient.CreateSession has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/openai.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ee005225b13f153984c8a9c6c27590ca6c689caa89ec39ef5aa39a69cd9dca"}},{"ruleId":"D2","level":"warning","message":{"text":"aircraft-webgl.createAircraftWebGLRenderer.upsertAircraftFeature (cognitive 17): aircraft-webgl.createAircraftWebGLRenderer.upsertAircraftFeature has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e0dac1d3349ecf9f1d38e54bdc5f418075e5befdbc484a2e9d88e98bfcd630"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getSortValue (cognitive 17): (anonymous)::getSortValue has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 4, if/else 1 (2 pts), other 2, match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"3800d1157da699e2eee2594cf44d2978eb852ed8d87b3fbc5d80b26592ccdd37"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::aircraftDetailsLoadTracks (cognitive 17): (anonymous)::aircraftDetailsLoadTracks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 7, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec8269861daf02a8857c4661b3b21b950e6b9b84c7e8ffcad17a4582679abb6"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::fetchStationData (cognitive 17): (anonymous)::fetchStationData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 1, error handling 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4576}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f78118f0c6860c969f7a417e98da21cd276aa653eb68c584a5ea8c62e7c92ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.sendPhaseChangeAlerts (cognitive 16): Service.sendPhaseChangeAlerts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"426caf200cc58e4ef5930efd09aca20afd22c174a50134f53dccfd95154547bf"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.sendImmediateGroundTransitionAlerts (cognitive 16): Service.sendImmediateGroundTransitionAlerts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1756}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5422dd7e0aef3d9718c728ae73480696c315787f82acdea30b368278e553b53"}},{"ruleId":"D2","level":"warning","message":{"text":"multiReaderClient.Read (cognitive 16): multiReaderClient.Read has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/multireader.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2feac5932cbc78c1226534aa318ba394d179ae4f520cc659d6cfbd541d4581d"}},{"ruleId":"D2","level":"warning","message":{"text":"reference.loadAirlineDAT (cognitive 16): reference.loadAirlineDAT has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8b02610b67c8b00367be0de592c15463bff5ea78c3fc12d3e2aa4b3fca488f"}},{"ruleId":"D2","level":"warning","message":{"text":"reference.loadAirportsCSV (cognitive 16): reference.loadAirportsCSV has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a61c81173a3ad6894f792b96d552e5863789834dee0b82ef6f61ebc6d98a76"}},{"ruleId":"D2","level":"warning","message":{"text":"Cache.Update (cognitive 16): Cache.Update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/weather/cache.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"676e22c480caf41da69bba0131914f104e93da7368ee02daaabab5d2efdb1a65"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.readPump (cognitive 16): Client.readPump has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/websocket/server.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e251e29b76e9d8c017fdeacbb1357935081d2a47cf804c7b4c4997a879cd344"}},{"ruleId":"D2","level":"warning","message":{"text":"AircraftAnimationEngine._processFrame (cognitive 16): AircraftAnimationEngine._processFrame has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b6eb3d136885086944c429899f0919aac76d7bf78ab099db0683135ab7fb6e"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::setupAircraftDetailsPanel (cognitive 16): (anonymous)::setupAircraftDetailsPanel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f249eb7cd520d3d257525bbf17556a258c211d95bc25e2cdf2aa0813255155"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::_purgeStaleAircraft (cognitive 16): (anonymous)::_purgeStaleAircraft has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3950}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea4650c7c2a8dad0bec4e60b732cc0d35f0c46fa3abfa5f98871543c3ec8a79"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getAdsbStatsSummary (cognitive 16): (anonymous)::getAdsbStatsSummary has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10, boolean chains 5, if/else 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4718}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2317aa51fa289d3b168980f6d53fbeb1b2b1195c3e54eb07ea20758cd501c8"}},{"ruleId":"D2","level":"warning","message":{"text":"playQueuedAudio (cognitive 16): playQueuedAudio has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 4, error handling 2 (3 pts), boolean chains 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 1 belongs to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"662352dbb12b06e5c4eab67febc555b7dca87063152321012083fabfc2f66b97"}},{"ruleId":"D2","level":"warning","message":{"text":"startVisualization::renderFrame (cognitive 16): startVisualization::renderFrame has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5, ternaries 4 (5 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/audio-client.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92bcea37af6e1dcc542c4d79b7659221687ab416b491bc95a9641388a5fbe65"}},{"ruleId":"D2","level":"warning","message":{"text":"_renderRangeRings (cognitive 16): _renderRangeRings has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 4, ternaries 3. Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8a2c878bdcf3568a38e69e700b66fd76701b98ff7758c366a7699a9480fa4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: www/app.js: FileTooLong \u2014 3315 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 1815 over it, 2.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62a303237469621644cea3da03a0320ea9d7fb8fdfec09e2515a7b6837a0ae2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aircraft-webgl.createAircraftWebGLRenderer: FunctionTooLong \u2014 createAircraftWebGLRenderer runs 406 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 306 over it, 4.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf088e5384b8c5d58401d13cb00b12c865aa820b945b30a81d4a9c0f1e43f1f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenLayersMapManager: TooManyMethods \u2014 90 methods. The bar is 30 methods; this is 60 over it, 3.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"448a66fe8167cffa29fc061dcc9c1c8be5993ac602ac0fafa232230dbf71a556"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Handler: ClassTooLong \u2014 1087 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods, 39 blocks, lines 29-2157. The bar is 400 significant lines; this is 687 over it, 2.72\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27d8424f27acd85f2651c8f1afa1da97335656e6b795e85db09f996f7ffbd86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: map/openlayers-map-manager.js: FileTooLong \u2014 1353 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 853 over it, 2.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2262419d5917683235f2915f7f574825f3c22fb3b6ac028185bde83c1a59e4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/handlers.go: FileTooLong \u2014 1308 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: Handler (39 blocks, 29-2157). The bar is 500 significant lines; this is 808 over it, 2.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1808711a92b69a9ecc1b6a8adf0f0a8652d18c8ec2e009123531d5ea14579020"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Service: ClassTooLong \u2014 991 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods, 47 blocks, lines 209-1987. The bar is 400 significant lines; this is 591 over it, 2.48\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2d48c9f257c69317333b6a725f159945c05bebc09fbc2e2e9ebb6e04a9a9da"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AircraftStorage: ClassTooLong \u2014 970 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods, 34 blocks, lines 23-2111. The bar is 400 significant lines; this is 570 over it, 2.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6f1336847a81a48285ba1f1ec45db8cdc512faa4cb03710bff0c3589402684"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Handler.GetAllAircraft: MethodTooLong \u2014 GetAllAircraft runs 238 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 138 over it, 2.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f69cb0a2fe641e8255b3e943721d10edd5199bb3bd2090e95a1dc50714ab6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adsb/service.go: FileTooLong \u2014 1173 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: Service (47 blocks, 209-1987). The bar is 500 significant lines; this is 673 over it, 2.35\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b9e15e69f60670b018123357d9b10bb287479e39e952324c87078af0efca91"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sqlite/aircraft.go: FileTooLong \u2014 1072 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: AircraftStorage (34 blocks, 23-2111). The bar is 500 significant lines; this is 572 over it, 2.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf46f91d5eec72a2d3efd6356b43a325515387d25b86f6efcb9136e61c2e03d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.main: FunctionTooLong \u2014 main runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/server/main.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"391997151094f959599ec52881756d4e825f5c93bb18d2b7f4b70205b4aab42b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: layer-registry.createOpenLayersOverlayRegistry: FunctionTooLong \u2014 createOpenLayersOverlayRegistry runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54eb04627fabee3805a9e709576f178773df7cd98dd31e56518c86c30883a53"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: map-engine.createOpenLayersEngine: FunctionTooLong \u2014 createOpenLayersEngine runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/map-engine.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd965ffcb53b2df2ad3c20e594766aa3d6022caa55ceb72aad28532d1dc9542"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ADSBTarget: TooManyFields \u2014 53 stored fields beside 2 methods. The bar is 30 stored fields; this is 23 over it, 1.77\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/models.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4ded674265f1394f191b4bc01844195b0fc096f9a55abf9285e766c134a1db"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ExternalADSBTarget: TooManyFields \u2014 50 stored fields beside 1 method. The bar is 30 stored fields; this is 20 over it, 1.67\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/external.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f013a051ac687d62ae01fda3d678958965f7fdf4c8345b9046e015c06e21705"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ATCChat: ClassTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 242 over it, 1.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"954ca1839ea4e41e25cf86fb76d9e15df21769269f4d46290a6436af8b745fa9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostProcessor.processNextBatch: MethodTooLong \u2014 processNextBatch runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/post_processor.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b50d9f4b60d13b8325e58b21d287816152c6bded231f1e2359d9e76da1bfda3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Service: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7501770bc8afa88f69a75d9777c0d86362d2337532245660a1391799ac7e0b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Handler: TooManyMethods \u2014 44 methods, declared across 2 files: api/handlers.go (38), api/transcription_handlers.go (6). The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf60b016663ce0291297cd1e1d6ef106ef839bfb3180f79c806bef4dbeeddd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderers/aircraft-webgl.js: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 212 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9067ace28b077727eedfbec98e2a9e4d4f345369891e2f52a887f8663c6ced"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenLayersMapManager.updateFlightPaths: MethodTooLong \u2014 updateFlightPaths runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e623d53610cf4eab6ad2835190628963c03a79a4d7f0b85f00c0236b47f0ffd1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Processor.processTranscriptions: MethodTooLong \u2014 processTranscriptions runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/processor.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d78ac789271c8a22109042f89e0045cad1e63aacae65ef11e1ebcfcfff0cd70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: frequencies/service.go: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 181 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/frequencies/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd76d678aac26d1dac249afaec237d07d475a924b0b8dc8ccadd53f249ef120"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Service.fetchAndProcess: MethodTooLong \u2014 fetchAndProcess runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e6b7b46ff132f9fcdf1799a8abe7464b29041076d2f515f1d5ae22315551f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: interactions-feature.registerOpenLayersInteractions: FunctionTooLong \u2014 registerOpenLayersInteractions runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/interactions-feature.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d065ac46a44c26499058938557c87f2f91c85f6b1a722f78133c698cdd576a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: www/atc-chat.js: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ATCChat (2-1078). The bar is 500 significant lines; this is 159 over it, 1.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b703421c806a4a53732b8c6059b93a3a663839aa853a4efff7460222c8e896b3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: FlightPhasesConfig: TooManyFields \u2014 37 stored fields. The bar is 30 stored fields; this is 7 over it, 1.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cba4e27b717820e13caacf4ddff23d3c56ed4559eab505627b0b43e290a817"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AircraftAnimationEngine: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 83 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"080544f9e480326d955f198a83e3b442ef8c844db3b34e2c928e7deff9c1d4e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aircraft-webgl.createAircraftWebGLRenderer.getVectorStyle: FunctionTooLong \u2014 createAircraftWebGLRenderer.getVectorStyle runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3e96dc634bcb70a2c15706ac4c57adc9c38879baa11069f3e1caaab8e6add0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ATCChat: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e598094da1a6d51dd521b8492696cecd8263f0f3843e51ed6b4efcbfa4b249"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adsb/trajectory.go: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 77 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6bce71311d33650b198b10f9b9aaf1304183e548143897f8e7c9f70c91d677"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AircraftStorage: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d713264e63d087a8b8df82215423d8343d5e413cc034804ed010a2fe5bcdf3a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Handler.StreamAudio: MethodTooLong \u2014 StreamAudio runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"182cec5e9cfe2764f3508dc1d3836ef1caa68b3950b2805d496746177160a664"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adsb/client.go: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: Client (20 blocks, 46-798). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc7bb4f8ca76d3e3d10824b4140e056c2e0c49d48c233d08e98209a5b535a4d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AircraftAnimationEngine: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"45770e9f5ba2e29cbb9dd6d2dc4e6ebb1caa7f5b6a63076ea2e6d611a6683dbf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AircraftStorage.getAllAircraftInternal: MethodTooLong \u2014 getAllAircraftInternal runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5e9a5d96c631218c7714162495cc7f3b2c031e23deefccbe41d336cc386ff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 58 shared lines): internal/api/handlers.go:1106-1183 | internal/api/handlers.go:1186-1263 | internal/api/handlers.go:1266-1343 \u2014 These 3 members are variants of one another: a block of 58 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"055269fd386b26c6731dac79222162fd49973f0066bd1c4db30bc8857a51a818"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (63 shared lines): internal/storage/sqlite/aircraft.go:700-797 | internal/storage/sqlite/aircraft.go:800-891 \u2014 These two members are variants of one another: 63 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"4491772af6a841f103bac8a4a9deffe93f82095e713961491c931e55322a7874"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): internal/storage/sqlite/aircraft.go:1898-1948 | internal/storage/sqlite/aircraft.go:1951-2001 \u2014 These two members are variants of one another: 39 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed9f3483e5cc6f9c3632740d20b3afd273a718fde7bddad6c8bd62e542fc736"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): internal/storage/sqlite/transcriptions.go:128-185 | internal/storage/sqlite/transcriptions.go:188-246 | internal/storage/sqlite/transcriptions.go:249-307 | internal/storage/sqlite/transcriptions.go:310-368 | internal/storage/sqlite/transcriptions.go:371-429 | internal/storage/sqlite/transcriptions.go:432-490 | internal/storage/sqlite/transcriptions.go:515-573 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/transcriptions.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2dbab9001ea03d29a3aba65c17faba0e2ea5d588a71b2602be7a83217abec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/adsb/atc_utils.go:191-207 | internal/adsb/atc_utils.go:636-654 | internal/api/handlers.go:1064-1078 | internal/reference/geo.go:30-41 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_utils.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"614cb5336d36a51302f3b57a224130673596d63ae272d9e2ba223531107fc265"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (100 corresponding lines): internal/templating/formatters.go:75-181 | internal/templating/formatters.go:184-283 \u2014 These two members are one piece of code written twice and then edited apart: 100 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/formatters.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ce729f3bb7b73804954a5b902b83dae517be2116c4e5ab04bdc7107d29ca86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): internal/audio/central_processor.go:271-372 | internal/audio/central_processor.go:450-533 \u2014 These two members are one piece of code written twice and then edited apart: 84 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/central_processor.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83df36c9d90e54f1089b6f94ea3b09bc3b1a3c16cd4b2e6ba3108078c21387d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): internal/reference/loaders.go:124-190 | internal/reference/loaders.go:316-372 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c114c8b0f5d124e632a2ac18aadb93f936acc35ee965eb7f45dad30693d4f33c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): internal/storage/sqlite/aircraft.go:569-639 | internal/storage/sqlite/aircraft.go:1730-1791 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3812a3ccc869f609b5c08600855603e0a5accb957dc9303b584a0da2943a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): internal/storage/sqlite/aircraft.go:1794-1844 | internal/storage/sqlite/aircraft.go:2074-2111 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b75def94e8a074647d5091d75b5858f38dfb6a878af1b051d23d654c2b9ab93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): internal/adsb/atc_utils.go:673-740 | internal/adsb/atc_utils.go:806-872 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_utils.go"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"07be064577339ac29795a41a7e07595c4dd5f012c8c6d5db542c773eaba5c740"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): internal/transcription/file_logger.go:103-140 | internal/transcription/file_logger.go:143-184 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/file_logger.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eeba987640195a61448d9c12d9bd62037070ad0d0e0a80e27385bc9e055111d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): internal/api/atc_chat_handlers.go:94-116 | internal/api/atc_chat_handlers.go:327-349 | internal/api/handlers.go:1862-1889 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8290bbb6067b28bb40f3f71f8d944ddfcb0cc34c79a36ee1c558a2569ae6fdd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): internal/api/atc_chat_handlers.go:141-169 | internal/api/handlers.go:1806-1835 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b270cc0fa362482075f97d70871d323f2c65a86fc90165bae7fd7c52803d886a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): internal/storage/sqlite/aircraft.go:1509-1556 | internal/storage/sqlite/aircraft.go:1559-1594 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a83fa6a8e13d4e29d6bdd71923ec37b5f11c2df601da2b0908f065da4ab0f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 30\u002B corresponding lines): internal/api/transcription_handlers.go:46-75 | internal/api/transcription_handlers.go:78-108 | internal/api/transcription_handlers.go:111-146 | internal/api/transcription_handlers.go:149-178 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/transcription_handlers.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9d1f23244bacf18be39aa7c1c2234eaece27fe962fa4bcc3e5c2d4240097e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/api/handlers.go:1081-1103 | internal/reference/geo.go:44-57 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee81fff8f02513736da2423346df08821333450ab92384a32e84792366ae2d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): internal/adsb/atc_utils.go:171-187 | internal/reference/geo.go:14-27 | internal/templating/aggregator.go:312-331 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_utils.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c2dd44c6a40c7d46378ae990cf6ffdb41009bba455760ae8a227c7696a51da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): internal/storage/sqlite/clearances.go:73-102 | internal/storage/sqlite/transcriptions.go:96-125 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/clearances.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b815fee31321bca92b9526b709b62d43bf95a5092e1ee9e6cb65a50eced4dd99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/api/handlers.go:1892-1912 | internal/api/handlers.go:1915-1929 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18e774dcf4251af967307737ef48c2df5e36a92ee81eef33f852b5d31c6a394"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): internal/storage/sqlite/aircraft.go:1597-1621 | internal/storage/sqlite/aircraft.go:1624-1648 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d08250689be3ae948189a6ec96f4c03b2bf27e74f6ba24d7aff1f5a425a146"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/audio/central_processor.go:588-608 | internal/audio/central_processor.go:611-630 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/central_processor.go"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e59807b060daf9474d6bf7357a8985fe41d52047f16f2949e90fe71e4d3953d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): internal/adsb/external.go:60-84 | internal/adsb/external.go:106-131 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/external.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ec92a9cf2ab3306b61339d722638fb79840986d241a00b2e02c8371893be87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/adsb/service.go:1175-1190 | internal/adsb/service.go:1193-1208 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae72b278fb613344b94dc5b390c557df85051bcee4b7e57b9e40826aeeac239a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/api/handlers.go:1697-1709 | internal/api/handlers.go:1712-1724 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e579248c196ed1698220f1d25af620adad51fa07dd6f3148516e9cab2d6b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/adsb/trajectory.go:357-370 | internal/adsb/trajectory_phase.go:519-540 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74164b43256241522c105aced4b7d63e63564def7fa1949f0dfd36400b0e31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/storage/sqlite/clearances.go:18-30 | internal/storage/sqlite/transcriptions.go:37-49 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/clearances.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6814b45bc02c72786c10da83fa864821a40608f0ea6c65c782316884e2a4fec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/transcription/openai.go:321-332 | internal/websocket/server.go:362-373 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/openai.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d850f6d7e21f16582fe041a5bd9c8543f055ac9cb270c659c79fc30f260921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 7): internal/storage/sqlite/transcriptions.go:140-185 | internal/storage/sqlite/transcriptions.go:201-246 | internal/storage/sqlite/transcriptions.go:262-307 | internal/storage/sqlite/transcriptions.go:323-368 | internal/storage/sqlite/transcriptions.go:384-429 | internal/storage/sqlite/transcriptions.go:445-490 | internal/storage/sqlite/transcriptions.go:528-573 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/storage/sqlite/transcriptions.go:140\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060s *TranscriptionStorage) GetTranscriptionsByFrequency(frequencyID\u0060 in one and \u0060s *TranscriptionStorage) GetTranscriptionsBySpeaker(speakerType\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/transcriptions.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8da5cd69ba73e424f29e3388aa1d2d6b9536dbd91b16055443efa6c462dfb75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (77 lines \u00D7 2): internal/templating/formatters.go:76-152 | internal/templating/formatters.go:185-261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/formatters.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4dd1e9777e210cd67e1dc17d726a1bf90a93608e077fa051c400f3c68c8fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): internal/transcription/openai.go:346-382 | internal/transcription/openai.go:454-490 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060systemPrompt\u0060 in one and \u0060userInput\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/openai.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"285efb4d981bc5e364615b30c21120f3381c017721c301e9807ae8cec4e9bc3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): internal/transcription/openai.go:385-420 | internal/transcription/openai.go:503-538 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060systemPrompt\u0060 in one and \u0060userInput\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/openai.go"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5d033dc77a393844d4c7d8000a23f6479f356ea2e237740ec7529993c411d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): internal/storage/sqlite/aircraft.go:759-789 | internal/storage/sqlite/aircraft.go:858-888 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/storage/sqlite/aircraft.go:759\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"390bf7e078f9cc6aed90b0433ab5a62cba8edf1f1cebc770c2f3d6a01062b5f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): internal/atcchat/models.go:43-66 | internal/templating/models.go:43-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/atcchat/models.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7795bf6a8d31e05e698deefff67a766006fa10e3ee3a0aaf69b37abfed5fb71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): internal/storage/sqlite/aircraft.go:734-756 | internal/storage/sqlite/aircraft.go:931-953 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/storage/sqlite/aircraft.go:955\u0060 calls \u0060nullFloatPtr\u0060 and \u0060internal/storage/sqlite/aircraft.go:759\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73d8029d39574baf9cbbc2c0aeec9972732f45b55a0793838f18c628c6f199b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 3): internal/storage/sqlite/aircraft.go:725-746 | internal/storage/sqlite/aircraft.go:826-846 | internal/storage/sqlite/aircraft.go:922-943 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/storage/sqlite/aircraft.go:725\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"906210fe3d4ff8a6b7e56e4141592fab7948cb4cd10064a7d46159cee34f6530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): internal/adsb/atc_utils.go:686-707 | internal/adsb/atc_utils.go:820-838 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/adsb/atc_utils.go:686\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_utils.go"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e65f9c283db1699c7e96179f1ec9262059ee1d0d4bf1fef75dd088e1d619b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): internal/transcription/file_logger.go:104-125 | internal/transcription/file_logger.go:144-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/transcription/file_logger.go:168\u0060 calls \u0060Format\u0060, \u0060Sprintf\u0060 and \u0060internal/transcription/file_logger.go:128\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/file_logger.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bc088648d12c95f4d4b04a80a29bc53833bd11909b88fa99536e7430ad0870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): internal/websocket/server.go:134-155 | internal/websocket/server.go:222-242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/websocket/server.go:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/websocket/server.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d3bd2b8152938c4f821f70a44825dd645ca26dd9ff05c1506a16a2ec6446a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): internal/adsb/trajectory.go:791-809 | internal/adsb/trajectory.go:840-860 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory.go"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3bdf01c4360455272f30764649493ecd0591570483771f7fc3ffc3b64da4d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): internal/adsb/service.go:1710-1728 | internal/adsb/service.go:1780-1799 | internal/adsb/service.go:1810-1829 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dda74d7cb6ee6341cf19c79598c6be53db0a58e88f0254516edddfe76e4262b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): internal/storage/sqlite/aircraft.go:845-864 | internal/storage/sqlite/aircraft.go:946-965 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7ebe57162abb4e20e46f1ae761c718627a1cd5f673cdafcdd77e637b6378e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): internal/templating/formatters.go:162-181 | internal/templating/formatters.go:264-283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/templating/formatters.go:162\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/formatters.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"080cdfe5c5b5049f09e2bb5927b8a6a141388a1a8cd46df5fe91db3932c08bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): internal/reference/loaders.go:144-162 | internal/reference/loaders.go:334-352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/reference/loaders.go:144\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed9cd8ccf2c5f21d7c0ce941525e1a1196be518b977f99daa9398575694c20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): internal/api/handlers.go:2037-2053 | internal/api/handlers.go:2091-2108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/handlers.go:2037\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"2230aa688ececb02e050f499477173b402eaa6684090cb920cc7eddb9c074a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/api/atc_chat_handlers.go:153-167 | internal/api/handlers.go:1959-1973 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/atc_chat_handlers.go:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f21df554af6a2a577f331a565571ff2150fef5864eb192eeb44fe159efb8d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/audio/central_processor.go:589-603 | internal/audio/central_processor.go:612-626 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/central_processor.go"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cf54bdff43394ecd0af1f8b5049b08976794c9b2006a3c210589e86b2b8e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/transcription/manager.go:99-113 | internal/transcription/manager.go:199-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/transcription/manager.go:99\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/manager.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f2c2f0aa82feabc910f8c0d997cec87d0f2c46a3405941b1b9005aef73d9fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): internal/api/handlers.go:1110-1123 | internal/api/handlers.go:1190-1203 | internal/api/handlers.go:1270-1283 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/handlers.go:1110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c61b68fb6decf8324ffafd222714ac7bc87df23f9cf18502b9569fa3fd3b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): internal/api/handlers.go:1136-1148 | internal/api/handlers.go:1216-1228 | internal/api/handlers.go:1296-1308 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/handlers.go:1136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1342085326210cfa6876dae06b225e597d4c86ca2cf0e5f76fc756590f6e14f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): internal/adsb/trajectory.go:799-811 | internal/adsb/trajectory.go:823-834 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/adsb/trajectory.go:799\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory.go"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7553435974989d803e351bcb0cddbef3982bff1ebbc2e4360418299c0c57609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/transcription/file_logger.go:128-140 | internal/transcription/file_logger.go:172-184 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/transcription/file_logger.go:128\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/transcription/file_logger.go:168\u0060 calls \u0060Format\u0060, \u0060Sprintf\u0060 and \u0060internal/transcription/file_logger.go:125\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/file_logger.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb3a588d736151cddf1862da99dfb80112feffbc1ee233549bb03f79be43272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): internal/storage/sqlite/aircraft.go:710-720 | internal/storage/sqlite/aircraft.go:812-822 | internal/storage/sqlite/aircraft.go:907-917 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/storage/sqlite/aircraft.go:710\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060s *AircraftStorage) getPositionHistory(hex\u0060 in one and \u0060s *AircraftStorage) GetPositionHistoryWithLimit(hex\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee134ff3c5eb7dfa8bee409139b8fb192a96b31eb6a6a5f8bca74a9a04e57695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/storage/sqlite/aircraft.go:1540-1550 | internal/storage/sqlite/aircraft.go:1581-1591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"837fbb25e1ba66078fa5b60c145007a8574f89f58a788e8acf6dd60b2bdc91ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/storage/sqlite/aircraft.go:1899-1909 | internal/storage/sqlite/aircraft.go:1952-1962 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"1233253129fb14d417d3135ddffa5deac0c487aeb117b17b7716e316b1abd22b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): internal/websocket/server.go:116-126 | internal/websocket/server.go:210-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/websocket/server.go:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/websocket/server.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc879b43ecb30dd2263bad200893088b44d7f68030c5e9f8713b5cabf543240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): internal/api/handlers.go:1125-1134 | internal/api/handlers.go:1205-1214 | internal/api/handlers.go:1285-1294 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/handlers.go:1125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f649ed81c378dbf643b126d3fad3b5ec815b760fc0bd813ce76139b00c21ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/api/atc_chat_handlers.go:340-349 | internal/api/handlers.go:1880-1889 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/atc_chat_handlers.go:340\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"76727bd06ba4e68f564a6c7ae2a0d0afaefd9c23cc7fb2351f43cee7c0aedae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/audio/central_processor.go:303-312 | internal/audio/central_processor.go:483-492 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/audio/central_processor.go:303\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/central_processor.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"271eb4df1f2d834522f350f37b2300c24c818a39cdda61cffbd00725d6f61978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/storage/sqlite/aircraft.go:688-697 | internal/storage/sqlite/aircraft.go:788-797 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/storage/sqlite/aircraft.go:688\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43fa825738b4f2d10d7ab249698ac29a3a4b88ad2c2eefca59765564df16501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/api/handlers.go:1150-1158 | internal/api/handlers.go:1230-1238 | internal/api/handlers.go:1310-1318 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/handlers.go:1150\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff3e5b48d1bdbfd69853b2873e9d14e5f735aeb422e7e71b1527747209da4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/templating/engine.go:52-60 | internal/templating/engine.go:80-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/engine.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe451f78c0ccd9a2ac849b1602f1d7008cceed620ede377772541800364cf9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): internal/adsb/service.go:749-755 | internal/adsb/service.go:1940-1947 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/adsb/service.go:749\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"21434495783051e0edcedfd1b41915fd1338ab874c4e152eb01b107abfe296cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/adsb/service.go:1337-1344 | internal/adsb/service.go:1478-1485 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/adsb/service.go:1337\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faf8b7db4380b1593b3f115cfcdebcba86c779cac5bd56ef01f76e6e9e8a680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/api/atc_chat_handlers.go:79-86 | internal/api/atc_chat_handlers.go:107-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/atc_chat_handlers.go:79\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc66d9bb5effc7e89753e20b0917b6137c6104407d28fba8fcd765f5c3194b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/api/atc_chat_handlers.go:529-536 | internal/api/atc_chat_handlers.go:561-568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/atc_chat_handlers.go:529\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"52840d98e653b0940de5fe34c9e288d0d2a011a06a995d2912af78f3e93ec192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): internal/storage/sqlite/aircraft.go:499-505 | internal/storage/sqlite/aircraft.go:1736-1742 | internal/storage/sqlite/aircraft.go:1800-1806 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c7354eeb4ff0bfd3d9347116e13b397a17afe6327982e3982e61cb97479793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 4): internal/adsb/atc_utils.go:199-200 | internal/adsb/atc_utils.go:638-644 | internal/api/handlers.go:1066-1072 | internal/reference/geo.go:36-37 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/adsb/atc_utils.go:644\u0060 calls \u0060Sin\u0060, \u0060Cos\u0060 and \u0060internal/adsb/atc_utils.go:200\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_utils.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdabbdb6992636475e2bb52afcade5d3b10f7bb159c52bd58bfe6417250a746d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/storage/sqlite/aircraft.go:1924-1930 | internal/storage/sqlite/aircraft.go:1977-1983 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/storage/sqlite/aircraft.go:1924\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cd7ece7cbf5b5d7823a032088c3828a26139ee23b2f88c7c8404f3ce919f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): internal/api/atc_chat_handlers.go:82-87 | internal/api/atc_chat_handlers.go:110-115 | internal/api/handlers.go:1797-1802 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/api/handlers.go:1794\u0060 calls \u0060Info\u0060, \u0060String\u0060 and \u0060internal/api/atc_chat_handlers.go:80\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a29cb55846ecfaad50c864a58e1842e317e52b6f3ce1dc56bbc1157b7bbfa29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/adsb/service.go:1350-1354 | internal/adsb/service.go:1397-1402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/adsb/service.go:1350\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a2551f16c8501bd05b3ec8ee9b93aaaf54c77443696aefc95d5ba842272ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/adsb/service.go:1691-1695 | internal/adsb/service.go:1702-1707 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/adsb/service.go:1691\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/adsb/service.go:1700\u0060 calls \u0060String\u0060 and \u0060internal/adsb/service.go:1689\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1691}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f64603365ae7776da947e1e3050b23eddafa082d65a0cb7004fe88aa9e47cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): internal/storage/sqlite/aircraft.go:510-528 | internal/storage/sqlite/aircraft.go:1745-1758 | internal/storage/sqlite/aircraft.go:1809-1822 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/storage/sqlite/aircraft.go:510\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ddd9885dffcbb4c285b09faa0795dd97be0cb5b66502734188b202b1ceeab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): internal/storage/sqlite/aircraft.go:1906-1921 | internal/storage/sqlite/aircraft.go:1959-1974 | internal/storage/sqlite/aircraft.go:2081-2091 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/storage/sqlite/aircraft.go:1906\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dc3304eec26b4f21955e7cb352381a36238ba2de28425838af766317878782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): internal/api/transcription_handlers.go:61-75 | internal/api/transcription_handlers.go:132-146 | internal/api/transcription_handlers.go:164-178 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/transcription_handlers.go:61\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/transcription_handlers.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77402afb74862255f604391a6a7ddaa0f418d7014cb43185d21fa52e16e094b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/transcription/post_processor.go:231-243 | internal/transcription/post_processor.go:256-268 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/transcription/post_processor.go:231\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/post_processor.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bf04b928328ead8f6eb5f8a25fa413aaf966443b6a94c6b00e33bcd95687e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/api/atc_chat_handlers.go:98-108 | internal/api/atc_chat_handlers.go:191-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/atc_chat_handlers.go:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"801cba54c1a0facd14051154372338f5229ff182eee16fc86afea5892c7e7076"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): internal/api/handlers.go:1164-1175 | internal/api/handlers.go:1244-1255 | internal/api/handlers.go:1324-1335 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/handlers.go:1164\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2695db264b65dea09c0ceb0cd5423e04f589926ab9b45ecc1725e4d0abdec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/reference/loaders.go:125-135 | internal/reference/loaders.go:238-247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d735f79cc83f50b637fbd1b91b9ece40eae4672a83dc01d4af10d3201e79e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/api/atc_chat_handlers.go:544-554 | internal/api/atc_chat_handlers.go:643-653 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/atc_chat_handlers.go:544\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6f653e91df60340c63040b0befa728123fe8707450f5fd07e00d648e93b43c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): internal/transcription/post_processor.go:231-241 | internal/transcription/post_processor.go:256-266 | internal/transcription/post_processor.go:275-285 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/transcription/post_processor.go:231\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/post_processor.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6dbbdcb0fd285e1b0f46095f5cc00db8b52e3a6323e653baa25eb9006f332c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/api/handlers.go:1623-1631 | internal/api/handlers.go:1636-1644 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/handlers.go:1623\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bb2697d2f72f7909e6dd3e506a26e8392514467583baa9750219d4c6238250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/audio/central_processor.go:292-300 | internal/audio/central_processor.go:472-480 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/audio/central_processor.go:292\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/central_processor.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6048cb86166bb60e96b1e38d92e3133dc9743f6d27177400ff40536ba0ce9780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/adsb/service.go:970-978 | internal/adsb/service.go:989-997 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/adsb/service.go:970\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"905306bf436453b5ec75f8812103e1e93350bef68453a64c7fc5a80a13d7dcd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/api/handlers.go:1593-1601 | internal/api/handlers.go:1656-1664 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/handlers.go:1593\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d51b24440f7596f2938540969d53775c75391c5c657ddc46a8426561b63283"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/storage/sqlite/aircraft.go:1935-1943 | internal/storage/sqlite/aircraft.go:1988-1996 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/storage/sqlite/aircraft.go:1935\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f5455a82e9789120b23df67ee1da5ea0fe40bbdbe552343f294f067eb03e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/storage/sqlite/aircraft.go:1607-1615 | internal/storage/sqlite/aircraft.go:1634-1642 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1c8440308ddef800e4d4d15ba3848ccf19c1d918e640d94df703d11a4d18a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/adsb/service.go:1321-1328 | internal/adsb/service.go:1382-1389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/adsb/service.go:1321\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecfa998ef4b915ae6b2c87bb778d6a8e92963d6cf0d1ce7623082f9e66754d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/adsb/service.go:1734-1738 | internal/adsb/service.go:1744-1751 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/adsb/service.go:1734\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73393f0db794388bde2d059a3d3616a33bfed887889afe2f35614b262d77323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/weather/client.go:71-77 | internal/weather/client.go:98-104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/weather/client.go:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/weather/client.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f92ac871381d0bdfc62b456364ce9a42bc80923fa642881b421050d9ac6802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/atcchat/realtime_client.go:151-157 | internal/transcription/openai.go:145-151 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/atcchat/realtime_client.go:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/atcchat/realtime_client.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b85e39e1061104f35b89990c30c853c725a7f40758bb6e7ffefb8ef9baf5f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/api/atc_chat_handlers.go:610-616 | internal/api/atc_chat_handlers.go:625-630 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/atc_chat_handlers.go:610\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ccb185e9358af07b677dfcee158a8b516dec7e360c25c6bebb7c51c301e578"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): internal/api/atc_chat_handlers.go:82-87 | internal/api/atc_chat_handlers.go:110-115 | internal/api/atc_chat_handlers.go:343-348 | internal/api/handlers.go:1797-1802 | internal/api/handlers.go:1883-1888 | internal/api/handlers.go:1906-1911 | internal/api/handlers.go:1923-1928 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/api/handlers.go:1794\u0060 calls \u0060Info\u0060, \u0060String\u0060 and \u0060internal/api/atc_chat_handlers.go:80\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f676deb8f84589badc1dd71499ac7fb3219333edd9f64a098169615f7cc94d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/api/handlers.go:1092-1096 | internal/reference/geo.go:50-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"974472fa6d67baab13a578a0dd870dc61ae68eea92a44d99de57568fb17fd5d0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Service (LCOM4 4): Service\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/service.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dfaa89e2b4f6e2f221ea819627c5083eec6bb4cd97e271c6e833b154ea3d05"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/server/main.go: 0.0% line coverage (0/353)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/server/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8952e56e117e2b41c9da3258e83d53c00970a46f2364ff67637404741744b76e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/adsb/atc_derived.go: 0.0% line coverage (0/114)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_derived.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96603b103601d34f8e548dd665d890c60ed6cf4560df5a41c8cf7a346ce8fb2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/adsb/atc_utils.go: 2.2% line coverage (10/452)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"645b2276572c95d91d5ed839ffa769adfb7760fc5bf5a0851795e664e144d4c3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/adsb/change_detector.go: 0.0% line coverage (0/124)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/change_detector.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf361645f83770514519d301868c2efacb4cf4078d817a219fd0daf7c527c351"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/adsb/client.go: 0.0% line coverage (0/554)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"239db3d0a9ee13e4ce3b9f1d2782c6959fb00ca1f22b24213a93e5826e1f2b67"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/adsb/external.go: 0.0% line coverage (0/151)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/external.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3a9d85efe91453704eb143bc10ee42214bc5973f338a73d4a65cf25dc3316e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/adsb/models.go: 0.0% line coverage (0/62)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/models.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58336a39e7bd91ad8039854e2ce3b2f8c9ac3df0512a7af4c72854ccbc7cbd60"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/adsb/runway_tracker.go: 0.0% line coverage (0/199)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/runway_tracker.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"348ebb1b888632c5690c178b7a6dfa77945f0025f492824801bd0c29bc8f3fba"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/adsb/service.go: 0.0% line coverage (0/1245)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1dfe612f50a5917d59f9a35a31289582e7462be42507627dec99fef9811463"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/adsb/trajectory.go: 0.0% line coverage (0/517)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31d76fee3bc0e779f14adae0612b2142de8d60e95116680391da38b753e2d5b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/adsb/trajectory_phase.go: 0.0% line coverage (0/257)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory_phase.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da68be76b0f5f0e6a3b31659dfd681ef4eb959cc23144ebb7e214e5b5c10704e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/adsb/trajectory_prediction.go: 0.0% line coverage (0/182)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory_prediction.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82197fea0c5983c46513d4ed6f89519012f82bf6c70b673781cfb704537aaef1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/adsb/websocket_handler.go: 0.0% line coverage (0/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/websocket_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96456d51968c543f0d2a5e0e4b3a32642c98b07cee7e64fe6c1898069810541f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/api/atc_chat_handlers.go: 0.0% line coverage (0/428)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/atc_chat_handlers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca014bddbc412b64b11533eb8596e16285bee68b10042b71eb37c06d99214e17"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/api/handlers.go: 0.0% line coverage (0/1503)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b896f77ef0ca8a4dd04ff7dc463354c92e30111ec60f0f7e7cb87592926dd8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/api/middleware.go: 0.0% line coverage (0/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/middleware.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60cdec5a3ee0f5ff42654df69dc88b5dfc54b40ef288db1078af7dea7815a53"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/api/routes.go: 0.0% line coverage (0/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/routes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0601866f64a5fa6f34f4d19c4bfaac99182e024580e02fc5e863ebc0a7aa829f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/api/static.go: 0.0% line coverage (0/70)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/static.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a47f72c4c93f8fbccd213fe16aaff4c114e1398ddb8a0be192accd6f75d5b66"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/api/transcription_handlers.go: 0.0% line coverage (0/132)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/transcription_handlers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcbf70f765143af56eb53188bd73a5788e7c6a433cea275287ac06b3fc19d6d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/atcchat/realtime_client.go: 0.0% line coverage (0/199)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/atcchat/realtime_client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"294cbe9dc1476e6e43ca7dc6dc0c99de2be7c5c166b288faf79647785272b4aa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/atcchat/service.go: 0.0% line coverage (0/405)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/atcchat/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b705b83ad322f7907ab9c317cc2a89602ff1e5ca37d3984e2de27f95f9aacc2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/audio/central_processor.go: 0.0% line coverage (0/395)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/central_processor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e8d091566f2386b3baf64bcc66cd7b4db61a8e584121e7b136be6032bab519"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/audio/chunker.go: 0.0% line coverage (0/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/chunker.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3a16bdde65596552c5a6cc3a94ad9d1ab6303802ab81249ca5997266e8409d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/audio/multireader.go: 0.0% line coverage (0/152)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/multireader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17fe5993177a565aaad1fb163d203573fa8c2929ffc3e0e853dc87d3f5fe6d6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/audio/srt_reader.go: 0.0% line coverage (0/115)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/srt_reader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf4d220f5b8fbc27bb29c50388894bd0cddbf59e0d8190a79b82df55f5baea7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/audio/wavreader.go: 0.0% line coverage (0/68)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/audio/wavreader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e7c246f3b43db19fbdbc3897bacc7735685122740670e33c07c4d84afeab70"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/config/config.go: 0.0% line coverage (0/355)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec22633959bd43b036dd93a43cdc4cb97a527124531cbecdd20ac42f10e94373"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/frequencies/client.go: 0.0% line coverage (0/97)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/frequencies/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b085c1b32dfe54fbf412a77cdfe5acacb93a0acaff790a1c82479a60691d576"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/frequencies/service.go: 0.0% line coverage (0/697)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/frequencies/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7e5cdb2a4705e466822e83deba659580cc34b09dd9bb34a67afc7566c78f25"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/physics/physics.go: 0.0% line coverage (0/95)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/physics/physics.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e16e9e7d0173d60f1c6539cbed915d7394850c0e2c27789fb5bff5d49fd58d9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/reference/geo.go: 0.0% line coverage (0/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/geo.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a55a52911981e665c30f77c49035265f65021e0f7b64930ea2e1de4219a341"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/reference/loaders.go: 0.0% line coverage (0/296)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5287d82efa29a2c63fcdabcacc980f8fff631220e101c1da4e7986d77941e267"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/reference/service.go: 0.0% line coverage (0/174)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c183fb60ce9336670b2cb09d9abd5f9c9777e98e926be4bf5a77bc4fb02042"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/simulation/service.go: 0.0% line coverage (0/134)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/simulation/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"108c50168e31c66918278e6babd554702a811a5b64ba42dd7faf6e3a41ad1f3c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/storage/sqlite/aircraft.go: 0.0% line coverage (0/1550)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f6be78f3f5b4e2abc89d96ae12ab3b2c8ca44ef430ab2fa63d80a0ce49d412"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/storage/sqlite/clearances.go: 0.0% line coverage (0/163)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/clearances.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fe0dd8cb0bf35e90a45a24380ddd60ee64aab99b6e693f50a8fb2d7cd2bee5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/storage/sqlite/transcriptions.go: 0.0% line coverage (0/416)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/transcriptions.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b630913bf66e40b0b6f781b7f260a3d9a71ac2eb1d1aa1df23870c2252ca6f1f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/storage/sqlite/write_guard.go: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/write_guard.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea36c02119b75b639c9419067938cb614888d3cd1d26fd422876a502de4c180"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/templating/aggregator.go: 0.0% line coverage (0/204)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/aggregator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"113702ef20e7891e6ee7bea49a5d0c1a1b486689945bb40c49e008d999ca8401"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/templating/engine.go: 0.0% line coverage (0/168)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/engine.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f5c0bdcd899fe4fbfd68654261a5118651f37adf4675fb603205a53d35c1f8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/templating/formatters.go: 0.0% line coverage (0/302)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/formatters.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c35e6864b471996664985acfeba85eb552c36e531f0a8d167df5f9382ebc11"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/templating/models.go: 0.0% line coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/models.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c7a5ad938a6ee435f12d6495f1cc906a7193d603ac5474920931f253710ed3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/templating/templating.go: 0.0% line coverage (0/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/templating.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e4fa1e885a46d25eb91c18b8d6f4920de93141528b3fd7bd3fb81d62fd3a07"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/transcription/file_logger.go: 0.0% line coverage (0/142)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/file_logger.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f18a2d29f4813976d51722cb317be4df6420f2faf6b11d28977a48ac33cbc21"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/transcription/manager.go: 0.0% line coverage (0/224)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"005872f0e88f09511975e56724b56b2e49e9ba9a6cbe55214c73c2646a1bc33e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/transcription/openai.go: 3.8% line coverage (15/399)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/openai.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb70fcf0d65201573ab80db9e0d2fae11e0976356e9599d9fafc89e17765d57b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/transcription/post_processor.go: 0.0% line coverage (0/290)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/post_processor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e14e1204f200eb53848f100f4767bd62c950c562604571c8557310660638837"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/transcription/processor.go: 4.3% line coverage (19/446)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/processor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bdafcb15a56ebff401014c9a0ce26e860f2b56eeb6eb9f19239384a270dcbc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/weather/cache.go: 0.0% line coverage (0/110)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/weather/cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67a5cd2adcaf401c6efe1bda80f6f96145e863e4516fae3db4796a972c2133d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/weather/client.go: 0.0% line coverage (0/99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/weather/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e326a54cffdb465fcbfc673bb614336e2e6b749aa7564fdc8c8d980327dd15"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/weather/models.go: 0.0% line coverage (0/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/weather/models.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5f680b40967c3cc9d3c9665c28afbd14ee4f78c92a981457efc92baa00ba8c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/weather/service.go: 0.0% line coverage (0/131)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/weather/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"579a8db6b01107bb4c9e28cb0b16b6bb9c01ac8adabee1db796b9e603b44b5a0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/websocket/server.go: 0.0% line coverage (0/211)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/websocket/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a2bbdf13e89ae976a66f508d9b73ebdd234adf3f2d87b965f3f0dc94ec733e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/logger/logger.go: 0.0% line coverage (0/77)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/logger/logger.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b808fbcaf4842fc83e3ea627a05aabccd434d36eae28e25b3ce455248536329f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: www/app.js: www/app.js changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 1135 in app.document.addEventListener(\u0022alpine:init\u0022) at line 161. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-02..2026-05-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-02 16:44:04 -04:00\u0027 --until=\u00272026-05-03 16:44:04 -04:00\u0027 --full-history --no-merges -- www/app.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0427d4a35f95762bfd040fd314296c10a064557d7d60e91d05c16f33c345fa2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/api/handlers.go: internal/api/handlers.go changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in Handler.GetAllAircraft at line 61. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-02..2026-05-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-02 16:44:04 -04:00\u0027 --until=\u00272026-05-03 16:44:04 -04:00\u0027 --full-history --no-merges -- internal/api/handlers.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/handlers.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a04a41960acbe3e50137d57e9c988487e36ca0ba27534a0a9120949ddef7113"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/adsb/service.go: internal/adsb/service.go changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in Service.fetchAndProcess at line 541. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-02..2026-05-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-02 16:44:04 -04:00\u0027 --until=\u00272026-05-03 16:44:04 -04:00\u0027 --full-history --no-merges -- internal/adsb/service.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"577f638d97ab10c0f82b8430e3a9baecf563889d45da7ceb603239d48e52b336"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/config/config.go: internal/config/config.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in Config.ValidateFlightPhases at line 576. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-02..2026-05-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-02 16:44:04 -04:00\u0027 --until=\u00272026-05-03 16:44:04 -04:00\u0027 --full-history --no-merges -- internal/config/config.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc13cc9df78dffd7f9663d3d6315b5a7b6a30ad2cf7851b5452a6dd3ec33be7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/storage/sqlite/aircraft.go: internal/storage/sqlite/aircraft.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in AircraftStorage.getAllAircraftInternal at line 273. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-02..2026-05-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-02 16:44:04 -04:00\u0027 --until=\u00272026-05-03 16:44:04 -04:00\u0027 --full-history --no-merges -- internal/storage/sqlite/aircraft.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"516f777a7aaa4ec43d1852cb0e98d30036bf0482256e3b8dff8d5dabb7dcfc61"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: www/aircraft-animation.js: www/aircraft-animation.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in AircraftAnimationEngine.updateAircraft at line 130. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-02..2026-05-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-02 16:44:04 -04:00\u0027 --until=\u00272026-05-03 16:44:04 -04:00\u0027 --full-history --no-merges -- www/aircraft-animation.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8becff7eee28084cd69747d9d684b80f29e727f3b314547808240d9a639ed0ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/server/main.go: cmd/server/main.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in main.main at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-02..2026-05-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-02 16:44:04 -04:00\u0027 --until=\u00272026-05-03 16:44:04 -04:00\u0027 --full-history --no-merges -- cmd/server/main.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/server/main.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"280240d7789fd822bdd63a32263c4a0c60dda532595cfc548c6879b3207d5f46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: www/websocket-client.js: www/websocket-client.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in WebSocketClient.connect at line 78. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-02..2026-05-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-02 16:44:04 -04:00\u0027 --until=\u00272026-05-03 16:44:04 -04:00\u0027 --full-history --no-merges -- www/websocket-client.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/websocket-client.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"74eff0ae122aa09f8b0020b97f22ac1e7f37251d2837804e46bf67c81cf873e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/adsb/change_detector.go: internal/adsb/change_detector.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ChangeDetector.computeDelta at line 78. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-02..2026-05-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-02 16:44:04 -04:00\u0027 --until=\u00272026-05-03 16:44:04 -04:00\u0027 --full-history --no-merges -- internal/adsb/change_detector.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/change_detector.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9597e4946b45a5d83e8ea0b91e9605abcfecadb43a4af34ab74ee9b2fa97d0d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/templating/formatters.go: internal/templating/formatters.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in templating.formatAirborneAircraft at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-02..2026-05-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-02 16:44:04 -04:00\u0027 --until=\u00272026-05-03 16:44:04 -04:00\u0027 --full-history --no-merges -- internal/templating/formatters.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/templating/formatters.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"930c7201fe1ec583bda2e4627f973668c62174ee6d38686b3650df437e8d47c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/adsb/trajectory.go: internal/adsb/trajectory.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in adsb.interpolateLivePredictionFromForecast at line 453. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-02..2026-05-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-02 16:44:04 -04:00\u0027 --until=\u00272026-05-03 16:44:04 -04:00\u0027 --full-history --no-merges -- internal/adsb/trajectory.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0102f4648754689f80446d794fd4159fe56cb74d27860d6fea169da7444faf4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/adsb/trajectory_phase.go: internal/adsb/trajectory_phase.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TrajectoryTracker.ruleClimb at line 235. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-02..2026-05-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-02 16:44:04 -04:00\u0027 --until=\u00272026-05-03 16:44:04 -04:00\u0027 --full-history --no-merges -- internal/adsb/trajectory_phase.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/trajectory_phase.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ed5ae70945d5f7f905f7a01196a53419c587f3c560fbce1372bfab528ba787"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add date filters using JOINs to phase_changes table for T/O and T/D phases \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f50a8e68438a86f498964dc4f63493a52313b93b36fe58e3cd787c6e0933505"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060cmd/server/main.go\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/server/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58e34eeb91cf3254cf9afbafaf07cab5290eef9716ec7fede1ce3bfee6be6a7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 26 comments in this file only repeat the code they sit on (lines 761, 1605, 1637, 1898, 1981, 2017, 2031, 3095, 3104, 3109, 3131, 3165, 3434, 3614, 3675, 3943, 4122, 4176, 4210, 4220, 4278, 4322, 4332, 4402, 4417, 5495), for example \u0022Add new aircraft\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"5407c376bd64eb3374f586c33345cf42052b3f9d1de6d36260202495763c84e3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 8 comments in this file only repeat the code they sit on (lines 295, 302, 328, 396, 651, 740, 818, 867), for example \u0022Connect WebSocket\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"68975ce15d9b431515fdcc876dc1978ae9af45b87247d3c6a420988cfe3df6fe"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78b0d22c82710face98e3fab6cef537df9945cd24c0f5219edfe47d56104a99d"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"571770828a6ea374ed02e948557db4c2d6cfd9f655c6671751231bfa2c55a6a7"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c7c29eb03d18155e76753df1050747f2206f9b7bdc3549fe5e149cfdcf5dd730"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b85ff82420e80d753eb50004ce7140856e8cc3e75095935205fe4e4cb0f83f4"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0db97fae8fc3d1c820bc001606587f9bac60266b1c3e926a67c7c1dd23c6b1c0"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b07cc106647e054077a45b4cb4939cafaf205fd435b49e1553ad5d79484d9cf9"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85917dca86c83b08e642ba8dbbfd8231b8a73f9042d4391c5f0fff10f7c64893"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26e8a9331c558cd9800f4268575f1d659f5c2ad2ed2dabfefc95e1cd37ee16a5"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce0cc0ff7d9bfc04a12caf6d3368c9462e0b701a44a1cf931ccaf5fd6481946b"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26313359190c99127b24124913bed77a77dfb6a677ce08099d435d667c433484"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"000dc129ce6edab2375967684b8dadc39a88e414f1a6192f8cc9da2152f25891"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0aff2fea1b31ab2067e8df36ba5fbd622cd2c4909be5e001fab00b05b1a941dc"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c1529065a92ffd21361a4c6f6f5b715bfaae9ea5f1b4f3b079c394417e4768c"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58520b7977a5873bc333ffd7e5f56dc442b6df40404b9a2bc0254d7376d652c7"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.36.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2025-4116","GO-2025-4134","GO-2025-4135","GO-2026-5005","GO-2026-5006","GO-2026-5013","GO-2026-5014","GO-2026-5015","GO-2026-5016","GO-2026-5017","GO-2026-5018","GO-2026-5019","GO-2026-5020","GO-2026-5021","GO-2026-5023","GO-2026-5033","GO-2026-5932","GO-2026-6303","GO-2026-6354","GO-2026-6355"],"severity":"critical","fixedVersion":"0.52.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"669085b434dedcfee28d2bfd81a0cbb6a1150f81cf6fddbec655eb919be5f13f"},"properties":{"dependency":{"package":"stdlib","version":"1.23.2","advisory":"GO-2025-3373","aliases":["BIT-golang-2024-45336","BIT-golang-2024-45341","BIT-golang-2025-0913","BIT-golang-2025-22866","BIT-golang-2025-22871","BIT-golang-2025-22873","BIT-golang-2025-4673","BIT-golang-2025-47906","BIT-golang-2025-47907","BIT-golang-2025-47912","BIT-golang-2025-58183","BIT-golang-2025-58185","BIT-golang-2025-58186","BIT-golang-2025-58187","BIT-golang-2025-58188","BIT-golang-2025-58189","BIT-golang-2025-61723","BIT-golang-2025-61724","BIT-golang-2025-61725","BIT-golang-2025-61726","BIT-golang-2025-61727","BIT-golang-2025-61728","BIT-golang-2025-61729","BIT-golang-2025-61730","BIT-golang-2025-68121","BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2025-3420","GO-2025-3447","GO-2025-3503","GO-2025-3563","GO-2025-3750","GO-2025-3751","GO-2025-3849","GO-2025-3956","GO-2025-4006","GO-2025-4007","GO-2025-4008","GO-2025-4009","GO-2025-4010","GO-2025-4011","GO-2025-4012","GO-2025-4013","GO-2025-4014","GO-2025-4015","GO-2025-4155","GO-2025-4175","GO-2026-4337","GO-2026-4340","GO-2026-4341","GO-2026-4342","GO-2026-4403","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.23.5","relation":"direct","declaredRange":"1.23.2","reachability":{"kind":"production","file":"cmd/server/main.go","line":125,"symbol":"os.MkdirAll"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15cc4dbfa064d3582ddecbd6ba31a8d45dfa464a1950e72c588a664cbf72ffbc"},"properties":{"dependency":{"package":"github.com/go-chi/chi/v5","version":"5.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2025-3770","GO-2026-5774","GO-2026-5775","GO-2026-5777"],"severity":"medium","fixedVersion":"5.3.0","relation":"direct","declaredRange":"5.2.1","reachability":{"kind":"production","file":"internal/api/middleware.go","line":7}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"362d19fbc20680c130f6d3f829465778e97203407075f4ceb76a4cf0cc41a027"},"properties":{"dependency":{"package":"golang.org/x/sys","version":"0.31.0","advisory":"GO-2026-5024","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.44.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"456d2c3f511799653c765ed1632fec68481d07b1aa9db4d76a6f5dab8c714fd8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b09b72c3ebbe1a0fd4b5b82f02046db0bb8df33944176d96c070415ac6b2c1c2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ef14b9d65b17e86d62a0a638cbec5ee877e0a15ca6197883758fbfc7605c24"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef52f094c5e501493bab23a8eb63a58398f500c246b91c5cfa393ee51390b4b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"779e5d01cf344d5de934f9f0ed7d215cf7452d9ebaaf73573b2bd84f791c3ea0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c8e74f7f9019faeba1f71458a9d85ce3e46a0ff631557fdf455c2d21dbd2e0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f254b3925016d5bfd3a08c1c8fba7cffbcadeb174d953667dcce3d79c4bb974a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ec33d5e01f7790bd9da0b3dd6fbca8f9627bedc8bd8c88180d2f4f6dc22bc6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac45cab0e683b06e35ec86c9b5c55bd6ae96b1deb1f3c99e80361a4da0a2f31"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a88f8524cc936981c9e0449bd1222fcb81f2f469b499f9e794041811ec50f0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d8b17e9a58558afaedef8948f9f7e3e5918581ae69076c1f617057bd5e5f80"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57210065d78822e6f4d00d33003e6eefffdeca2b987c3c4eeebc9bc63609bd3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb220941cca5afa076d9a8f7d537481e89bc79deff54759d5a6c9685d291ad7c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"f071bb77f8bec1e78df5bced226463c97c9ecb4c34c483a5720f24d5956c45ff"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f927f4f9cee256470f0d5ba292a10fe66614dec558eb999047c883554cc2f4e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b7418cfda81474c0e287c79eb182a02fad01bad9eb29c5342b032f733a015b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"3daf2f0582d6506d63b31b1afef31d666b02afc484c761f1fc5f23bbd8e90352"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"917165c32ea3a7108a6613402bc32337a5def819a34562b30c757d2cc5fcb5aa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0115109640a59db69ece31ab87dea383dcfc3d0aca7f8f41aed2c934f0011c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2b49419bf3e31e9a4268a97a06fdd73cac569c4ebda46fcc3f6181f4e91b52"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1e369464d944c59100ec78076ce2be672983e4350fdb99ae3f6e45872db34b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"25998932e959027f480fee58ec68cbf9f3d73b0d3f3b299e90cf446c65c5bc04"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf990739c37a3ac80015d31ef8d4a56bc8c8f5876c2ac7f1918d06c5911754aa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eb58adb74c67e96c5239c81890ab7a6c1e7ca4ab674818a3200f6396000a67"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce3954284d31500bd37f5854ca629aca5252c2f6fc9afd8d7afe398458eacc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb7a9decdb7a41a986f1f9a1e18e0cc36da998829da2947cd66499a5fa29432"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2187}}}],"partialFingerprints":{"codehealthFindingId/v1":"010d267e07ba58219489967431988901ad862e04f9c4b8de2ca6cc6061f25e34"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d7061b6638ca44e4d0b61bc0abada337ef353eb70e6bd144ddc6485ecbad52"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6151a0bf5cdc065260b4b247e6951fadd5f091d2ed7ae4f5efc168bd56bbdef"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2196}}}],"partialFingerprints":{"codehealthFindingId/v1":"33babc1720f0bc3f1ef4a8a1e268af971184ea3144e30298073169c5473031df"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a580ffdf12cedb68ce3eb64fef420309d5d1f12fec6e4a3366c956ebb4606646"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3747d7817bdbf2eb6c338040a5eae4c515f5df07b68b133e251f30e2909bcd2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0d34223164afd0b87b8f7bf08b61d4d72cbfa8417e672eae32733bed5f32d5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4502b93b3577f6a6799091a0a57b764e76b13f0b20bd22a2f3757303388e27"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b138d5a752c4c4f57bd6b6fa475c85f65a6a30a05aefbd04341886a071738407"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75529323f92a8d3abcbb9eeb34b05b770a555e717588f4fa7189805ff9c1537"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af7fc05e27403bce2ffcaada9940a1741d31b4bb5325a17697f14cdf3a1a11a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01fbdf7be458e2bd2c05e77b0156dbb55ae999abd108eeb3c5df1c9845d766f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4221}}}],"partialFingerprints":{"codehealthFindingId/v1":"5806d1ab0c2dcdc52022413c84ac20bda35ab8ae206c17c34f93dd314ef5a816"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4333}}}],"partialFingerprints":{"codehealthFindingId/v1":"516a5e42a1ec7730cbceda621f2be98c8bc5244c0ac7e48efb44e0fecbe9a1bb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf626ea7688065e4a29e711871004e99434c255251f5e88badc526c9b28fa92"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"983375284b476cbc481aad9039429dd58607d13b99be0aabf57f40c9fa6fe940"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"71643960a2bae4b59905e5ec128e8d1bf49948af95a4bd547da6f6b2dd818983"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060input[type=range].dual-range-min:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/style.css"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2d3631eb6ea610aba99de55b944c06a3ce3765f1073b820dec6f02735032ec"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.aircraft-row\u0060 moves (\u0060transition: opacity 0.3s ease, transform 0.3s ease, border-color 0s ease, background-color 0s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/style.css"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c98f0c0e7d99328cd896e8cbb863cdc8bc3b1ec0022006ddc70d9413184633"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.splash-content\u0060 moves (\u0060animation: slideUp 0.6s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/style.css"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"034ec87647390c3d516b89cc50b8d563e5e07e9ae6b62253e82def13e262f25c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.takeoff-landing-highlight\u0060 moves (\u0060animation: takeoffLandingGlow 2s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/style.css"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3a98979298ffe58572875d31613ffe14665711aabf984c5b94f445d03a8efe"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.takeoff-landing-label-highlight\u0060 moves (\u0060animation: takeoffLandingLabelPulse 2s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/style.css"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"253ab83d70aaa6170b4365fd20428802c8f752abc8aa8e4af5dc5599ca3e2f7d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.aircraft-icon-container\u0060 moves (\u0060transition: transform 0.1s linear\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/style.css"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9fb0a1013b81964bc00a3e1c2716dba5b2ea73f3d8c717185d6c72419100c7"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful handler dependency: Service: \u0060Service\u0060 is shared by every request (\u0060buildStreamInfo\u0060 is called per request from the net/http handler \u0060Handler.GetAllFrequencies\u0060, on the one \u0060Service\u0060 value that handler\u0027s shared receiver holds) but writes its fields outside any lock (streamPortIndex; e.g. \u0060streamPortIndex\u0060 in \u0060buildStreamInfo\u0060 at line 1067). Unsynchronised concurrent writes are a data race in Go: an update is lost or a value tears, and a concurrent map write aborts the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/frequencies/service.go"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"725f25703a59beab0f169050fe7c65ec7021122fb14a71fe16d5041d54d06dc8"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Storage (23 methods): \u0060Storage\u0060 declares 23 methods: \u0060GetAll\u0060, \u0060GetAllWithLastSeenFilter\u0060, \u0060GetAllMinimal\u0060, \u0060GetByHex\u0060, \u0060GetFiltered\u0060, \u0060Upsert\u0060, \u0060Count\u0060, \u0060GetAllPositionHistory\u0060, \u0060GetPositionHistoryWithLimit\u0060, \u0060InsertPhaseChange\u0060, \u0060GetPhaseHistory\u0060, \u0060GetCurrentPhase\u0060, \u0060GetLatestTakeoffTime\u0060, \u0060GetLatestLandingTime\u0060, \u0060GetLatestADSBTargetID\u0060, \u0060GetCurrentPhasesBatch\u0060, \u0060GetLatestADSBTargetIDsBatch\u0060, \u0060InsertPhaseChangesBatch\u0060, \u0060GetAircraftOnGroundBatch\u0060, \u0060GetLatestADSBDataBatch\u0060, \u0060GetLatestTakeoffTimesBatch\u0060, \u0060GetLatestLandingTimesBatch\u0060, \u0060GetStaleActiveAircraft\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8a920612315e01046f6de6cf9f60fa949267742bac56cddbba11d2350d999b"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README.md names Go 1.21 or later, but go.mod:3 requires \u0060go 1.23.2\u0060: the code does not build on Go 1.21. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85864071a30ab325207b0475304e4f6aa1b79c8e2996b50e4173a6d35a328ea"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add gosec / govulncheck (or golangci-lint) (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060go.mod\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go.mod"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a2e1d4ec30322a872affe28883b4491a6c0e2043ba24bdb2e79623c819f5b0"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 16 plain JS \u2014 the untyped files are www/aircraft-animation.js, www/app.js, www/atc-chat.js, www/audio-client.js, www/map/core/event-bus.js, www/map/core/layer-registry.js (\u002B10 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): www/app.js:4881 \u00B7 www/app.js:4912 \u00B7 www/app.js:4943 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4881}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3e36d7c589ce134afe103a0c3d32e790953f2d2b264abb5311259b0cc0651b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): www/app.js:2847 \u00B7 www/app.js:2912 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2847}}}],"partialFingerprints":{"codehealthFindingId/v1":"a621dc59b7bacdd15edb325e73f31b91291ab391c345a4ee4b93908190f21af7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): www/map/features/minimap-feature.js:160 \u00B7 www/map/features/minimap-feature.js:190 \u00B7 www/map/features/minimap-feature.js:215 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/minimap-feature.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"30516d3ee4132ae7f2b7c23e2a237b6fbd7a041f2bbd3993075ab778636fa94d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): www/map/openlayers-map-manager.js:333 \u00B7 www/map/openlayers-map-manager.js:366 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9d666fe2aeec28cf0928bf2c18589fd7057b4af538d7f8f26de2c900ff4742"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): www/map/openlayers-map-manager.js:1376 \u00B7 www/map/openlayers-map-manager.js:1444 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03f7a3fdc7637b9264e3561359428cae9d2062c02a3b8f7c70ed9c7462516d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): www/app.js:682 \u00B7 www/app.js:4069 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c0f69dc26470ac9f2ec95b26ebeb0bb8352e6deb2c43b74e33c0a59862cca9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): www/app.js:4123 \u00B7 www/app.js:4177 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfc58048f0c116d09b5e7a815c392493f27042fd50e32d0ef1c20ddd490e09e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): www/app.js:3645 \u00B7 www/app.js:3750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3645}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6993d2352ae1fe9747eafefcbdcf8d095c96ca63c79b953cb833cbab263184"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): www/atc-chat.js:506 \u00B7 www/atc-chat.js:523 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b65da00ceff72442fd4facf7fa8e26525a284de212c2fa0a523c107feb24f54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): www/app.js:2626 \u00B7 www/app.js:2640 \u00B7 www/app.js:2654 \u00B7 www/app.js:2668 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2626}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3be35b6bb7753be2c9e165cfc078fecf06eaceff31036cb8c1c3d32535f8cd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): www/app.js:3365 \u00B7 www/app.js:3384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3365}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0cdbe8b836eea5922d5d585246dd2f4c8a80f2aaad3cbb2d7e16c666442109"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): www/map/renderers/aircraft-webgl.js:900 \u00B7 www/map/renderers/aircraft-webgl.js:923 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8192be5649aa37bbeb00bcd8bafc5ab1fa6799b02504c5cbed2a6690caac32a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): www/app.js:4207 \u00B7 www/app.js:4319 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4207}}}],"partialFingerprints":{"codehealthFindingId/v1":"215c1fe94490a8dc305d912ff1895c4b7194e40b402bea21b240373a337d7be1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): www/app.js:4223 \u00B7 www/app.js:4420 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4223}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5030151f7db33de650112fed97eada43c2fcd8d4548212fe6c4dc6f69ee933"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): www/app.js:4536 \u00B7 www/atc-chat.js:986 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4536}}}],"partialFingerprints":{"codehealthFindingId/v1":"556a5648f96608afa73c316415101a2ef188491a7ceac30dad88e07096144f92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): www/atc-chat.js:161 \u00B7 www/atc-chat.js:179 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d661cf88918c8c7b96646571094a4e6f0b0e00a6949165ea2c2091300b61eef9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): www/map/core/layer-registry.js:163 \u00B7 www/map/core/layer-registry.js:191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a8d42f2c8c492f4b4708148824206eab10ca82883c76643985157fadd47bc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): www/atc-chat.js:932 \u00B7 www/audio-client.js:261 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b0f087a3f1f69e811b29621338847d47535e60e3f8c919ae31833f0bb2472d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): www/map/core/layer-registry.js:36 \u00B7 www/map/core/layer-registry.js:46 \u00B7 www/map/core/layer-registry.js:56 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a010f704d3abf4b9b7ff3c52de568cace6612a7a301cc2353276b7bab6854a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): www/map/features/interactions-feature.js:79 \u00B7 www/map/features/interactions-feature.js:150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/interactions-feature.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9a80931188de09c9e2457b68d2a67e7376336a3faafc97e49ceddcc9f6874a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): www/map/openlayers-map-manager.js:604 \u00B7 www/map/openlayers-map-manager.js:633 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccd99239e916762247bd7697808d0dbf6e25c2ea24d2ca1bd8d790cc3fb9e9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): www/app.js:378 \u00B7 www/app.js:386 \u00B7 www/app.js:394 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a200259363d4a3cee2bd66bd459a2612cea1b97f1dc8344b6e060b7287b7ea4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): www/app.js:1046 \u00B7 www/app.js:1056 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8ab577833a94e9793a04d17cd88c61f7faedae4ab2f0a4b8f71171f7d42c5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): www/app.js:1120 \u00B7 www/app.js:1130 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96fc9e385550c889415924a0f3dd15069321f511f830ead22364d4769e1e905"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): www/app.js:1972 \u00B7 www/app.js:1990 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"970db59fbbe530a31749e57638fba0b40b12c240e87ca3f76c22df120aea3533"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): www/app.js:2969 \u00B7 www/app.js:2987 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2969}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcca5560ae3740bd7f26826feb184838351d02e8918e50f7a938d33214943b5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): www/map/core/layer-registry.js:108 \u00B7 www/map/openlayers-map-manager.js:510 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf765a7ec1724147259d41b5704f4129725d8ff1a3f397fb87492758d33cebe3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): www/app.js:1107 \u00B7 www/app.js:1116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cb374294e01f02e8d3a312cfcdeed8e6814141657aef4202b6ca492d57b3bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): www/map/openlayers-map-manager.js:725 \u00B7 www/map/openlayers-map-manager.js:732 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5664bfb70075684d9e4fa01ae31b30b30e7ff97d6f7076d9e624c526dfabd86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): www/map/openlayers-map-manager.js:871 \u00B7 www/map/openlayers-map-manager.js:890 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca984435e1904e487673179fe0012158773e728aaafeee7b3f0054db1657e8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): www/aircraft-animation.js:644 \u00B7 www/app.js:4046 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41bb4fbeafcbd7b5e68f0f512354605a567a64509350f12abc611f255610f1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): www/app.js:1034 \u00B7 www/app.js:1042 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8d7b8e1226a91d8bab5708e0f829f860b3097c6c9dc53a5e5f3cd4970fb3c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): www/app.js:2978 \u00B7 www/app.js:2984 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2978}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd14ed8b57fc1d4b0e16fa937f106f1a7894f84e5e99d4db3d428e8be7df3e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): www/map/core/map-engine.js:136 \u00B7 www/map/core/map-engine.js:143 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/map-engine.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"de27050e9cfee38a9de0023530ce121ba8ecb23b9c4ce79636ab46f2dc7b644b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): www/map/openlayers-map-manager.js:420 \u00B7 www/map/openlayers-map-manager.js:427 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"472da023f6ccc3f1789d79f93b86450a847e2febaf06ef31fbec3b9543914327"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): www/map/openlayers-map-manager.js:790 \u00B7 www/map/renderers/aircraft-webgl.js:819 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd69685fdd4811c87d9064c7f9399c0dfd766a31459fa4459d2566c4b5409a60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): www/map/openlayers-map-manager.js:1409 \u00B7 www/map/openlayers-map-manager.js:1470 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94099d41ef663a6ec1c1d65a8f86121194dc834e34466a71a77dda3dc95f5d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): www/map/openlayers-map-manager.js:414 \u00B7 www/map/openlayers-map-manager.js:437 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"762b83c02e5a6f32a850ee2e6f0f2aaaf03506edfa1c8b2782ca3c3d9102f431"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyDelta (cyclomatic 64, cognitive 61): applyDelta has cyclomatic complexity 64 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3853}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e38a730ac2d8db340b4a63f67b9af0157399de239ed25b8c5978baec7c7bee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatAircraftDetails (cyclomatic 57, cognitive 54): formatAircraftDetails has cyclomatic complexity 57 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f88734db2dc757201006ace110e916c3e594e8fa00caf710a73fb7a1125efaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateMapPerformanceStats (cyclomatic 57, cognitive 47): updateMapPerformanceStats has cyclomatic complexity 57 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"151e7ae92a77203f555921e36200e5a8db056728c809ca0c80cadb548bd9fe45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getVectorStyle (cyclomatic 44, cognitive 47): getVectorStyle has cyclomatic complexity 44 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fa2e08d228d620ca3842eb502cc40611a36d2779b2cf58fa11c7295bdfe4c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getATCDerivedMetrics (cyclomatic 43, cognitive 56): getATCDerivedMetrics has cyclomatic complexity 43 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c2ee0ed625933c03c46fc7f4b4ab124aac2ab3fad63ae95eef060c5eba12d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 63): (anonymous) has cyclomatic complexity 33 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41a7a1b461a3277bd897c42e463522ef30261723c91a60c7fb9cec6d8002ce4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 29): (anonymous) has cyclomatic complexity 33 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7584e25c767533e2fd74a962158da277f4f3bd04d20dceb18720d59255c42af3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWebSocketMessage (cyclomatic 31, cognitive 30): handleWebSocketMessage has cyclomatic complexity 31 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77b382c71f29c649efbd56dbd73abb56a81c870722fa5b6e5cd9d50401b26b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAircraft (cyclomatic 30, cognitive 45): updateAircraft has cyclomatic complexity 30 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"085c66c6945ea42aa4ad3f3c273b6e595397b974c8029f2bed7f0dd4378d583e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAircraftPredictedState (cyclomatic 30, cognitive 26): handleAircraftPredictedState has cyclomatic complexity 30 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3783}}}],"partialFingerprints":{"codehealthFindingId/v1":"e691567d58c880891c4f120e2cf4b20146c6e3de641a04be9d0b9d81af67478a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLabelContent (cyclomatic 27, cognitive 27): createLabelContent has cyclomatic complexity 27 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1cf65a6788efaa71fac32c416b92e93698d04b305c2392f753c4ca1c56f980"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAircraftUpdate (cyclomatic 26, cognitive 36): handleAircraftUpdate has cyclomatic complexity 26 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3680}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dc613c5473a1000a5f8803f467f8157d70de9f262bab223f3c3380d3c629a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 22): (anonymous) has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"0429bb474afbd31ded2134d564f46bfdbfeab3b5a35b16abb51012a6bfdc8983"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _getAircraftStyle (cyclomatic 22, cognitive 21): _getAircraftStyle has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc636eb382e57d63b560f20c98af4c5af7dce346ebbeee5cebd0d30becc4b24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSpecificAircraftIconClass (cyclomatic 22, cognitive 21): getSpecificAircraftIconClass has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a797e085f8b5b95f4bad1b4d5e1cbfc7105839f6ccd41f1e5b12936642247a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aircraftPassesFilters (cyclomatic 22, cognitive 18): aircraftPassesFilters has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4061}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3634f04fcce4ff89cea7761b341b9af4e7da0eea75d641293a9cc99e90989c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateLiveTrailForAircraft (cyclomatic 21, cognitive 31): _updateLiveTrailForAircraft has cyclomatic complexity 21 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1391dd4278b6c3452da8446b8b569f3bda576326666f410eb5a11ee3e71f9c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateTracksMiniMap (cyclomatic 21, cognitive 24): updateTracksMiniMap has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/minimap-feature.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d665c4a3e5096b6d1345a525ff7e6602336f3316cfc8cc9984552a5024fd72b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAircraftLabelParts (cyclomatic 21, cognitive 20): getAircraftLabelParts has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b45328bed1eb2570947635740e377ec3a96911ef053b5097edaf8c032fde5d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSortValue (cyclomatic 21, cognitive 17): getSortValue has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1100813eb7b8d29d8b6b7f0f204901ea64aa25863869a78ed8acb3f1ee1f06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aircraftDetailsGetAltitudeTrendClass (cyclomatic 20, cognitive 25): aircraftDetailsGetAltitudeTrendClass has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e43b846211b6511788b95e8f1670450291124dff4dfb6c6bfa0198b94a260e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _boundMessageHandler (cyclomatic 20, cognitive 23): _boundMessageHandler has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/websocket-client.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9101b9920c46eb9db926b017c2878c5d7bbefa5f6c60dd83d90fc0f12c253a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onPointerMove (cyclomatic 20, cognitive 21): onPointerMove has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/interactions-feature.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbd0470c86f18d2c623878b1cf1cf9c27c282ffacad5dc1f1f96bdd26714d22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAdsbStatsSummary (cyclomatic 19, cognitive 16): getAdsbStatsSummary has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4718}}}],"partialFingerprints":{"codehealthFindingId/v1":"944170fecb83b53928ee5a93f9c1c3b11f721d77545e41e4d4af55667ca43560"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSingleClick (cyclomatic 18, cognitive 22): onSingleClick has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/interactions-feature.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e3d16ced6b60fde7d1cc5891b98bea00468d6fa0cbf512d87767fadf813bd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 18, cognitive 17): cleanup has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a96fa05058353929080836384f7bf05c57e78448c83cde9ae00acd822d96f36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aircraftDetailsGetAltitudeTrend (cyclomatic 17, cognitive 18): aircraftDetailsGetAltitudeTrend has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f941af65b83676677a4521e296af4aa1d272cdb329be833090e446c3cea131e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTranscriptionMessage (cyclomatic 17, cognitive 18): handleTranscriptionMessage has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfd8ec8e8de85ab76400b1c26e64dded2cfec1727a692e7741a6b2ed0093adc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aircraftDetailsLoadTracks (cyclomatic 17, cognitive 17): aircraftDetailsLoadTracks has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93fde77225747e9395aae511dce44469612e2697343f5c21307b9bdb1d297c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _extractSnapshotFromAircraft (cyclomatic 17, cognitive 14): _extractSnapshotFromAircraft has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8d2524253eac886f1b0f40e151163dd9a8f0068c70c987281eb731c884d2fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesSearch (cyclomatic 17, cognitive 10): matchesSearch has cyclomatic complexity 17 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/visibility-rules.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93fc39ed83909f939ae193e4414841219904f09d586d2f09c7c16d39da353a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSource (cyclomatic 16, cognitive 19): createSource has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca02a56c13be84647c1a58d4d9e8d8eb281a01fcffb28f30392140df06567c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectToFrequency (cyclomatic 16, cognitive 17): connectToFrequency has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/audio-client.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa9c4fc5237e8df15c1a5b46b19a040ccc6ff89f75155d4d41390b416fb48ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFrame (cyclomatic 15, cognitive 16): renderFrame has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/audio-client.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b07f2d873abe33e5d5474457c5fa113f20f95a79c07cc8cba110daec2eeb917"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _createTrailMetadataFeature (cyclomatic 15, cognitive 15): _createTrailMetadataFeature has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03369d6e6580c054f17f23c7d743858dc0abf3360b02c913f8e0747533ecd85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _renderRangeRings (cyclomatic 15, cognitive 14): _renderRangeRings has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ea5322c4ee2ac4b6d58b25b1a3f42bbadd57d33e098c1a72d02d15959dbd4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchReferenceData (cyclomatic 14, cognitive 25): fetchReferenceData has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4767}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c99abb4da68738ff2cdbd78b96871bce81671cf14a1974cb95008868ad22e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectAircraftByHex (cyclomatic 14, cognitive 20): selectAircraftByHex has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4143}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a49bcdcf61d528dedb7441276396c4a3b55b52733c7d95346044f2f534403f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchStationData (cyclomatic 14, cognitive 17): fetchStationData has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4576}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5399dde03f321116cb417fe10c092558aae3eda70e8c49bf833cc7672ba64c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 14, cognitive 15): init has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6201aaa2cec662ea8a2198a1eb4d47e02dbe188d5ca0f0fea03f6e3077a1af5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":5174}}}],"partialFingerprints":{"codehealthFindingId/v1":"7192ff12d297b003436a0c7dbdd3762a7728e2c6e0243637e77d9e9607795601"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function playQueuedAudio (cyclomatic 14, cognitive 15): playQueuedAudio has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa24c479d318d25ddb5b4212816a48fdf73e86f0911ea67dfb73dfe1a40ceca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 14, cognitive 11): init has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/map-engine.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba99becf6e2dd3cb288d87286ce329bdc9048b196a7a4650d2000af47d320b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleLayerVisibility (cyclomatic 13, cognitive 20): toggleLayerVisibility has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab275737e56c464c854c2cc35c9921f37ca750d78784671eb8976dde5c3d7e62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFrame (cyclomatic 13, cognitive 18): renderFrame has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5005177c17bf8764c7018df366588d71a1a81dd8ee81d9a4d1407b05e91fd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertAircraftFeature (cyclomatic 13, cognitive 18): upsertAircraftFeature has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"0095cfc5b221d54afc9f09c1a0157e2415febf5ef3dee5c2247aa4d4eb9cc5a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleMute (cyclomatic 13, cognitive 15): toggleMute has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/audio-client.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bccc7f34b0ff03380619c40e1acbc68b27d3e6933f99471f537ebffb21baf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleTranscriptionViewer (cyclomatic 13, cognitive 14): toggleTranscriptionViewer has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4498}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a5d1f67189eb1adbd2c75fe63236a026d397aab496a2d3d8dd2d63a07d43f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _computePose (cyclomatic 13, cognitive 13): _computePose has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"257ef5cbd6f97445708c1e1c634546d32bf0dad2f8c51299f8b4b68746712d45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d38377dbd4aecd2617a67a83cb745bcfabc802a618b6593e4d0d13ad7a16df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _getDefaultOverlayConfigs (cyclomatic 13, cognitive 12): _getDefaultOverlayConfigs has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc7e073598e23f7e0a65a2b91d934652d6fcd6cfd4178879b364e6bb03e8b0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPerformanceStats (cyclomatic 13, cognitive 12): getPerformanceStats has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03a0be5904d9d4dae22982658f49a39c6caf3f0b8a4be3b7c72a17c901dbb55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _processFrame (cyclomatic 12, cognitive 16): _processFrame has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3442c26ec0e18916c81c495fb9af60e2702b4336735ee107c8e81bf94b424e44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _navaidPopupHtml (cyclomatic 12, cognitive 11): _navaidPopupHtml has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc2a159a66a3fe3bf2732e612e1e102c8ee076ed82b618fde02d558efa939de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _setFeatureVisible (cyclomatic 12, cognitive 11): _setFeatureVisible has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b6148d866e65b0985106b5bee9ff2fdeb84f5c22ef2f2318bf8bf4a63aa82f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _applyPose (cyclomatic 12, cognitive 10): _applyPose has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fac46f0ba8e40f89597fd0083cb254494ef9d676dfcd1bcabc8fca79dbb48c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLayer (cyclomatic 12, cognitive 10): createLayer has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c26ff880993234e78c7148f42daa3b317e70353249335f5998a18fed415c8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupAircraftDetailsPanel (cyclomatic 11, cognitive 16): setupAircraftDetailsPanel has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc886d98d2e796f6974f7913905b1ddc07c8d0f27f6636cb6da6973d5ecb550"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAircraftAdded (cyclomatic 11, cognitive 15): handleAircraftAdded has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3637}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf0533e6c9f92c7363cda30a6a19c9a456abb04e4b14764e8a058a4e5d2917e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleStatusUpdateMessage (cyclomatic 11, cognitive 12): handleStatusUpdateMessage has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":3514}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d450e7dbf585bb3c163250a0c33cf5cca54af37ba3d9b3b2e50aa3f4a58927"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processAircraftData (cyclomatic 11, cognitive 11): processAircraftData has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2439}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14deaaeab3e4250303fb3ad4eb9ebce6dffc9cf693ac9f39d8937e1956645d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fitBounds (cyclomatic 11, cognitive 11): fitBounds has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/map-engine.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"176da0daaa3db0cde451ce5ef4efb6490c5e5b5b1db4b3f3488f6ae1f9af8ed5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerOpenLayersInteractions (cyclomatic 11, cognitive 11): registerOpenLayersInteractions has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/features/interactions-feature.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b1b138806059e35084d0fe1786e44de4ca95ba72d143a4ec3eee302affaae4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchADSBSourceStatus (cyclomatic 11, cognitive 10): fetchADSBSourceStatus has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4670}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6ba58d6b86bb3ecd76220ef21c314a7364435f46681cb0836c895e227053b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _isLikelyDefaultZeroHeading (cyclomatic 11, cognitive 9): _isLikelyDefaultZeroHeading has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":5287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1d65e46b8654c43a7645584f5c7d79f4408e898056d3bd3d79eade598ea19a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/layer-registry.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2145da47b1742356043255ee37991a63f534a9a042eb717aba94ec245e6703da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAnimatedAircraftPose (cyclomatic 11, cognitive 9): updateAnimatedAircraftPose has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"207ccba25593ebd91f1eaedb399d548de8af9115854b89179a5baae44000f374"}},{"ruleId":"R3","level":"warning","message":{"text":"www/app.js: 4702 lines of code: www/app.js has 4702 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca037f79df3d161804482cf9f9f628e2bd7988dbd2cfcf01e88a3595bc224f2"}},{"ruleId":"R3","level":"warning","message":{"text":"www/map/openlayers-map-manager.js: 1672 lines of code: www/map/openlayers-map-manager.js has 1672 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e7abd44cd8cf210c773a7a371140a70b39ea7f283b7f5936ca8deaf4e27494"}},{"ruleId":"R3","level":"warning","message":{"text":"www/atc-chat.js: 938 lines of code: www/atc-chat.js has 938 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a38de452c9c21d2275ad4bd82cc2eb15286dc1447406c0888a90c49568e1db"}},{"ruleId":"R3","level":"warning","message":{"text":"www/map/renderers/aircraft-webgl.js: 865 lines of code: www/map/renderers/aircraft-webgl.js has 865 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d52fa2ab7b2a3deff9f2b4fb6d2eb6d15ed3cfd7c0e710fb0e60131c369eef"}},{"ruleId":"R3","level":"warning","message":{"text":"www/aircraft-animation.js: 595 lines of code: www/aircraft-animation.js has 595 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee17e03fcccdfe799f0706273b97ea14fa162471482f5daf5a215859529b423"}},{"ruleId":"R3","level":"warning","message":{"text":"www/audio-client.js: 441 lines of code: www/audio-client.js has 441 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/audio-client.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b387a82d133f19deda078a25978506a579b62a5e17c025e52da29103e52c32f"}},{"ruleId":"R4","level":"warning","message":{"text":"Test Coverage: 0% of 15 production file(s) reachable from 0 test file(s) via the import graph \u2014 \u0027production\u0027 here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace\u0027s file count"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64e0e3511eb969fb4720b196e7d3799e1714077217351c3c56a27b50e3e21220"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://cdn.tailwindcss.com\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository. 3 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/index.html"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af9c922b16506150fc920efea23ba955f60e556ea896376f5ee2746d2bf68b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.Phase != nil \u0026\u0026 len(a.Phase.Current) \u003E 0\u0060 appears character-identically in 2 files \u2014 internal/adsb/service.go, internal/api/handlers.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a2c645f40046b9c77186ad38807029d3e74b03e15b90a8f7fcc65dde9270ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aircraft.ADSB != nil \u0026\u0026 aircraft.ADSB.HasPosition()\u0060 appears character-identically in 2 files \u2014 internal/adsb/service.go, internal/api/handlers.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"945ef0a160b8c8d28654922e222975e67e64f89e9b7c0e65025412fa9d6464b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(lat) || !Number.isFinite(lon) || (lat === 0 \u0026\u0026 lon === 0)\u0060 appears character-identically in 2 files \u2014 www/aircraft-animation.js, www/map/openlayers-map-manager.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/aircraft-animation.js"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc06d3bb2d5590d4b0c302114732da5052ab04aa81348768e369b339ee74832f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(point) \u0026\u0026 point.length \u003E= 2\u0060 appears character-identically in 2 files \u2014 www/map/core/map-engine.js, www/map/openlayers-map-manager.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/map-engine.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5a3ab8a4f8675fcb013c4bfe61ee8aaa5557946549c7e8ee13f153b59564ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aircraft \u0026\u0026 aircraft.phase \u0026\u0026 aircraft.phase.current \u0026\u0026 aircraft.phase.current.length \u003E 0\u0060 appears character-identically in 2 files \u2014 www/map/core/visibility-rules.js, www/map/renderers/aircraft-webgl.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/visibility-rules.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa4d54ef4d5a5ce74b4b4032bc04deb886217002280a71b8701e3de685dd5da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof aircraft.adsb?.alt_baro === \u0027number\u0027 \u0026\u0026 Number.isFinite(aircraft.adsb.alt_baro)\u0060 appears character-identically in 2 files \u2014 www/app.js, www/map/openlayers-map-manager.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"5114a9ebbff5c2cd2cd44f79f95815d1809c768ea01ab0a1db371c2ccebb9970"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof lat === \u0027number\u0027 \u0026\u0026 typeof lon === \u0027number\u0027 \u0026\u0026 (lat !== 0 || lon !== 0)\u0060 appears character-identically in 2 files \u2014 www/map/openlayers-map-manager.js, www/map/renderers/aircraft-webgl.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/openlayers-map-manager.js"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"f846cc85be53932345d514fce1d79e5dc6d4aaccbfb0dc0b3091e0e772506d24"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.AudioContext || window.webkitAudioContext\u0060 appears character-identically in 2 files \u2014 www/atc-chat.js, www/audio-client.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a08596892702453d88730cfd172b7a308cac446affb7d691fd964ed7bd10f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.ol \u0026\u0026 window.ol.Map \u0026\u0026 window.ol.View\u0060 appears character-identically in 2 files \u2014 www/map/core/map-engine.js, www/map/features/minimap-feature.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/core/map-engine.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"acee3e8f01bb30dc139442566c35aa69d727aafac41976afdf5bd36c36eced74"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context or an AbortSignal: Only 10/23 functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http; net/http, net.Dial) accept a context.Context or an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a \u0060signal\u0060 (Go: \u0060ctx context.Context\u0060) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"577196fe89725f9b0e6c2faf89eceb8eb245919bd44e4439e0b0d649c1ee1c53"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: applyStationOverride: \u0060applyStationOverride\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2731}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dadb1a2e99eac195469ca0f8a83fd43b971230fb07b81711c4670124c23bd35"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: clearStationOverride: \u0060clearStationOverride\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"f408bc80575964cb42e317be612c2d48bce931b437ca5f40c672c80901fcf4f9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchTranscriptionsForFrequency: \u0060fetchTranscriptionsForFrequency\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4551}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e3a8bdead69975f51b5a7d4dd97eae53eb98df6f06f09d0ad61e703d5a9b10"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchStationData: \u0060fetchStationData\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4576}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b5fe1a9f3b541a4684d00a7993292e9656c8b15a4e4cb2fdf1cc658cc36259"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchADSBSourceStatus: \u0060fetchADSBSourceStatus\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4670}}}],"partialFingerprints":{"codehealthFindingId/v1":"01302b60c99dec8228622c359fc8a039ead4990601032ecd7aee3988dc719e4f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchRunwayInUse: \u0060fetchRunwayInUse\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4758}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91bebcb566058110caa5f879dc423486904f814e1f54e8725b931505d19eb3a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchReferenceData: \u0060fetchReferenceData\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4767}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26863716432d7b4fd4173befb5a50141ce60167e494d5b7f0502180bc0cad8e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchWeatherData: \u0060fetchWeatherData\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4825}}}],"partialFingerprints":{"codehealthFindingId/v1":"754daa69b50d714083bc0e724b47bacb8b27dd68b41d95c7efe16827b6bf5441"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchAudioFrequencies: \u0060fetchAudioFrequencies\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":5002}}}],"partialFingerprints":{"codehealthFindingId/v1":"326cf14f6a939501e3839f2d07d3cc9253775af2a2bfdb2c4302467fd347f0d9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: init: \u0060init\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5423778609493f230c94a1487884db0171c8413f4d1a5b36774803367b1f7dc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: startChat: \u0060startChat\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"82390d3b42e66effa4b1dd28cdd87cb59e2a7dea420caf81704b07feaec2435e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: updateSessionContext: \u0060updateSessionContext\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba050d98a4d305390bb3f846641afdc2595919872f5a8bebeece8c4d1cacff3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: checkAvailability: \u0060checkAvailability\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/atc-chat.js"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bb85a8ac033c1039dab63c2c17f5d03c6cdd55ee64e41fc2de8d637d1696f4"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: \u0060% len(s.allServerPorts)\u0060 divides by the length of \u0060s.allServerPorts\u0060, and nothing before it checks that \u0060s.allServerPorts\u0060 is non-empty. An empty \u0060s.allServerPorts\u0060 makes this an integer division by zero, which panics. Test \u0060len(s.allServerPorts) == 0\u0060 first and return early."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/frequencies/service.go"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5c2e641133110d7771561bed2ba7f344d99c172256f6642e4b72429f03d69d"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: This slices the parameter \u0060icaoUpper\u0060 with a constant bound, \u0060icaoUpper[1:]\u0060, and nothing in the function checks \u0060len(icaoUpper)\u0060 first. The value is input the caller hands in: a shorter one panics with \u0060slice bounds out of range\u0060. Test \u0060len(icaoUpper)\u0060 against the bound and return an error, or document and enforce the minimum length at the boundary."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_utils.go"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaeb91172650df0027309e8bfe5f9f11a12729885b77926661bf7c3b97655827"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: This slices the parameter \u0060icaoUpper\u0060 with a constant bound, \u0060icaoUpper[1:]\u0060, and nothing in the function checks \u0060len(icaoUpper)\u0060 first. The value is input the caller hands in: a shorter one panics with \u0060slice bounds out of range\u0060. Test \u0060len(icaoUpper)\u0060 against the bound and return an error, or document and enforce the minimum length at the boundary."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/atc_utils.go"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bd74fec18e71723f7f7e90b2de7c3c5f545f77d0e9d5c6e59d883637571610"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/app.js"},"region":{"startLine":4764}}}],"partialFingerprints":{"codehealthFindingId/v1":"9850644675c9c59cd41b353417875b60882437c2577d214d10f3934bfe0e0f16"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/audio-client.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d944a3da573801e4e997555986aa4db37b2961b251114f2bf241c2a0b274058"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"422e3f5863d7a24618bf01aaf465672abd137923485aa0ab40e022509a0f7540"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"www/map/renderers/aircraft-webgl.js"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f9704c5d2966706a4408d12ee8c6c208f79288278a1f454e8a38547a6f26db"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060m.postProcessor.Stop()\u0060 returns an error, and the statement drops it: when \u0060m.postProcessor.Stop\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := m.postProcessor.Stop(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/manager.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24af07fe60a2e76ee2296a85f8e4803abdbbe542d416481a9e23f0d4fbd412a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060bodyBytes, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060bodyBytes\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060bodyBytes\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060bodyBytes\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/openai.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd30c0627ac18ef1759a68cd9aae804e6eb64bcf2f7212ebb5b6f1a28154656"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060bodyBytes, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060bodyBytes\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060bodyBytes\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060bodyBytes\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/openai.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3131fc8572d0beb84395afe645dfe0301393898079ccacc9a8694c7e0350f224"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060bodyBytes, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060bodyBytes\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060bodyBytes\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060bodyBytes\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/transcription/openai.go"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade2e685f9e0226fe26e00a9a735860838300a845cb6deb0891ad3e8e6e891b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d83064bf8abd77d62e43544bbbbae324a6af94a1de21999d946e29713d70e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe223ba7f71228a32887d8a99f79c122750cf847639134f2734abf7d84c0636f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b202309b07826797125607b23168127c8785f176382ee0797924753531d90a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb3f3eb925ef29ddbd6f26ac766c1e3f0ef85f730e3b070b89e7306edfe9a91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabb1ea6ce543ff71504b2ae8181812c08dd3b0ecef3ffed81fe6252f3f09a08"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060v, _ := strconv.ParseFloat(s, 64)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060v\u0060 as if the call succeeded. When \u0060strconv.ParseFloat\u0060 fails, \u0060v\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060v\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d94466369b032be52232b1136d1a2fc3049ed0845d1560a8e3e57f9ba042a5e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060v, _ := strconv.Atoi(s)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060v\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060v\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060v\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/loaders.go"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ff24cc105014a3285b560019f766274b8f9db5834d766c07b3b1cb7a4fe510"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060csr.Close()\u0060 returns an error, and the statement drops it: when \u0060csr.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := csr.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/frequencies/service.go"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc915026cf18bb25bb7349e92882b976bd62943318bc57b20ae5a54fb7bc353"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/client.go"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"889c8db855aa7030a383cb9b913518e7d484b65ab4c7bccd46bab1014ebfc193"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/client.go"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf450f611b87bda5b4af31047bc5c3dfb0e9dd89628c216f9b1a6e0cb61448d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(blob, \u0026cloned); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/client.go"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fafbff21a864d9b4e14acd93985445b85f840befaebf624b2f38555cb7fd976"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/external.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e31c9ad8bbeaa41f5405c962889ccceda39f7a8be607f01ed28feb1a9e3e911"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/external.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a169dbfd52c13acfb6d0cbf43ecdcb2f342f80cd52b18daf55bb5f056d231a51"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060existingADSB, _ := s.storage.GetLatestADSBDataBatch(hexCodes)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060existingADSB\u0060 as if the call succeeded. When \u0060s.storage.GetLatestADSBDataBatch\u0060 fails, \u0060existingADSB\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060existingADSB\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"650d3cfd78d9c8a9830fec225019e1d4c053db63bd53eeabbdbaee9974fd320b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060takeoffTimes, _ := s.storage.GetLatestTakeoffTimesBatch(hexCodes)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060takeoffTimes\u0060 as if the call succeeded. When \u0060s.storage.GetLatestTakeoffTimesBatch\u0060 fails, \u0060takeoffTimes\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060takeoffTimes\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"7136e2b9f28e91d852c67f51b81d6bd029ce425083ce8c23dc7a0448878eb15e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060landingTimes, _ := s.storage.GetLatestLandingTimesBatch(hexCodes)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060landingTimes\u0060 as if the call succeeded. When \u0060s.storage.GetLatestLandingTimesBatch\u0060 fails, \u0060landingTimes\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060landingTimes\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3e8b46612336138566176ec8e4063584c91cdca49c5bcb8e0f1bc22b849a67"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060currentPhases, _ := s.storage.GetCurrentPhasesBatch(hexCodes)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060currentPhases\u0060 as if the call succeeded. When \u0060s.storage.GetCurrentPhasesBatch\u0060 fails, \u0060currentPhases\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060currentPhases\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb955759d192cf4122194cc41c271bdb5cda93d6cffcb73d67be517f5029c240"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060adsbTargetIDs, _ := s.storage.GetLatestADSBTargetIDsBatch(hexCodes)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060adsbTargetIDs\u0060 as if the call succeeded. When \u0060s.storage.GetLatestADSBTargetIDsBatch\u0060 fails, \u0060adsbTargetIDs\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060adsbTargetIDs\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/adsb/service.go"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a2d583defe9b74a833dc4c91e59dcee0a62394ca9316af969441916d92647b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060absActiveDBPath, _ := filepath.Abs(activeDBPath)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060absActiveDBPath\u0060 as if the call succeeded. When \u0060filepath.Abs\u0060 fails, \u0060absActiveDBPath\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060absActiveDBPath\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/server/main.go"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"175b65346f54a093bb9c0c1e0db940e27a2b5219abd532109a7a7878fef76d3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if parseErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/server/main.go"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"facd275a18bb3c3cbceb39008bda777d742f15ef585411b4a4a0692a086121fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060absFilePath, _ := filepath.Abs(filePath)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060absFilePath\u0060 as if the call succeeded. When \u0060filepath.Abs\u0060 fails, \u0060absFilePath\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060absFilePath\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/server/main.go"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf98fb471818a48e4c3dc5d2f91680569f01d84da5f926f756bb322522e4f4e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 77 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/simulation/service.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"673d87c7589e7f626658c8df680eba6dd05f7ad11df4101688442fdd95c00635"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Debug\u0060 at line 96 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Debug(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Debug(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Debug(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/simulation/service.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1ec6113bc91520fbddb75ad7f81ed7d3281bef8322f7564730e7a14845e03f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 110 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/simulation/service.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abb28d35fab858f3c0253e3f23c0e4082531bb44a492b4ea9f3aa1617031875"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Warn\u0060 at line 46 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Warn(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Warn(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Warn(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/service.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5561aa1665505ef95b2b6f78e3d998b9898430effd1597f795ddcd3424e1ed0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Warn\u0060 at line 59 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Warn(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Warn(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Warn(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/service.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"de51215ee4e7ce125049074045a1a7f14b5be88c2b0392e00c9a79c0fcfc7f61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Warn\u0060 at line 72 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Warn(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Warn(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Warn(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/service.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09c4393b44a6c84c5c5f2df70cfbb172d4d4ae88e7ab3f292a78069fa042147"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Warn\u0060 at line 85 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Warn(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Warn(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Warn(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/service.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eed732b5a7e6e349b0fabb46cadfff59d52761546ee3240760771e63524f157"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Warn\u0060 at line 100 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Warn(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Warn(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Warn(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/service.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e24d338a4cd51672dc0f35d5ff25de1377a3c2a3894f2bd48851950d2cfd2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Warn\u0060 at line 115 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Warn(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Warn(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Warn(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/service.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0062ccc9671569dc2be6ffd97f891f30ba362de7940f1eb63991834e64d0e095"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 197 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/atcchat/realtime_client.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f32746bd9dcfac850c357c7dd6b7f0d9c5fa5fb77fe1b6a6c18a773a7e21a1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060marshalStringArray\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/sqlite/aircraft.go"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e021f7ce023467a70ff7db85e72d52a80ebe31f185c448204b807d699445ce"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)","shortDescription":{"text":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-352","guid":"2afe7bdb-7330-195f-b3bf-8cf5b789b3ae","name":"Cross-Site Request Forgery (CSRF)","shortDescription":{"text":"Cross-Site Request Forgery (CSRF)"},"helpUri":"https://cwe.mitre.org/data/definitions/352.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":19,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}