{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","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-1357","CWE-494"],"owasp":"A03:2025"}},{"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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"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":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"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":"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"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":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"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":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"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":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"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":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"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":"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":"index.migrateUserConfig (cyclomatic 267): index.migrateUserConfig has cyclomatic complexity 267 (threshold 15). Of this number, 214 points are the body\u0027s own statements and 53 belong to 16 function items 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":"src/config/index.mjs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba6ec96fbf775557e339b69944b5984fa964391c0493b2ea2c8125347092d84"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneralPart.GeneralPart (cyclomatic 102): GeneralPart.GeneralPart has cyclomatic complexity 102 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 59 belong to 13 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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"14467c8441f89cacd6c9f320d3c7897b4973931162a555d583aaa74e1cbb3630"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiModes.ApiModes (cyclomatic 77): ApiModes.ApiModes has cyclomatic complexity 77 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 55 belong to 19 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":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc0e9c5b450d5c3acd5947be4da3edfbc604d487fa1c99e6d35c992ac7d8c30"}},{"ruleId":"D1","level":"warning","message":{"text":"index.setPortProxy (cyclomatic 60): index.setPortProxy has cyclomatic complexity 60 (threshold 15). Most of this is not in the body itself: 15 of the 60 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 187, 312, 150, \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":"src/background/index.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"072cef6f7e1d00c6cf5f75a50f7e7753acff36653300a22cc89c22ee9dcbcb44"}},{"ruleId":"D1","level":"warning","message":{"text":"index.FloatingToolbar (cyclomatic 56): index.FloatingToolbar has cyclomatic complexity 56 (threshold 15). Most of this is not in the body itself: 14 of the 56 points are its own statements and the rest belongs to 18 function literals inside it that branch (lines 123, 271, 84, \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":"src/components/FloatingToolbar/index.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0eed4da8a4d78d9445ff656bc2e252e9e60a9c00dcc5f3c55711a97a4c73a5"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-registry.resolveOpenAICompatibleRequest (cyclomatic 55): provider-registry.resolveOpenAICompatibleRequest has cyclomatic complexity 55 (threshold 15). Of this number, 51 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6cca2ed867bb3739921f6708b798ea31a78109fa01126a37c6b8787fc5ff88"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 48): (anonymous) has cyclomatic complexity 48 (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":"src/background/index.mjs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"3763053fe0973c8dc385a9c3c0c6991bb15b952e95a7239c2a216d6cf96936f1"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Browser.runtime.onMessage.addListener() (cyclomatic 46): index.Browser.runtime.onMessage.addListener() has cyclomatic complexity 46 (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":"src/background/index.mjs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff60358f5296cb99a39a2337b5322904e4fc4d8bea73e28aeabde810fb5f6e12"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-secret-utils.buildSelectedModeProviderSecretOverrideUpdate (cyclomatic 42): provider-secret-utils.buildSelectedModeProviderSecretOverrideUpdate has cyclomatic complexity 42 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 6 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f407d36b2ea9df882d1ebdd95b147f051796354a2ed7162df0e18b1ec0abe749"}},{"ruleId":"D1","level":"warning","message":{"text":"getUserConfig (cyclomatic 42): getUserConfig 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":"src/config/index.mjs"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"797ca01ffdfe71550d4ebc23e8135c92af352eb44ae182d0e4563934f80aa02a"}},{"ruleId":"D1","level":"warning","message":{"text":"build.runWebpack (cyclomatic 38): build.runWebpack has cyclomatic complexity 38 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 14 belong to 5 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":"build.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"275d3c196129b681f43e61f1ec93f2ece2a9e94bc34992d389444a80c6bbc8c4"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ConversationCard (cyclomatic 36): index.ConversationCard has cyclomatic complexity 36 (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: 2 other methods here (index.ConversationCard::portMessageListener, index.ConversationCard::postMessage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"117ac832e97509df54a0500a545a4e7a0898c4bb44d19f540ea73909118e6a56"}},{"ruleId":"D1","level":"warning","message":{"text":"index.executeApi (cyclomatic 35): index.executeApi has cyclomatic complexity 35 (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":"src/background/index.mjs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64f47bf1e90b32e873ea60fc428b513ad18f88b0166553842f53b84dc8e33ee"}},{"ruleId":"D1","level":"warning","message":{"text":"index.prepareForJumpBackNotification (cyclomatic 34): index.prepareForJumpBackNotification has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 13 of the 34 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 734, a function literal at line 819, cleanup, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dc916048887dd65f4d00439bf6a26d51d41ccae53131d4a77345ab8101e1f5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.InputBox (cyclomatic 33): index.InputBox has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 10 of the 33 points are its own statements and the rest belongs to 13 function items inside it that branch (getMaxInputHeight, handleKeyDownOrClick, stopResizing, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/InputBox/index.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b130f85cb0b38c5182dfe8e5fa3abc6ba8e8b84f071dcebea9f73005365931d5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.mountComponent (cyclomatic 30): index.mountComponent has cyclomatic complexity 30 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 2 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":"src/content-script/index.jsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b764e0b844684f60a255195986f405edab2cf0a66492f572ebd1c75bc163e316"}},{"ruleId":"D1","level":"warning","message":{"text":"api-modes-provider-utils.getReferencedCustomProviderIdsFromSessions (cyclomatic 29): api-modes-provider-utils.getReferencedCustomProviderIdsFromSessions has cyclomatic complexity 29 (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":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"370b4e15f5627c7990151fa447d272a5ae3c86df5abc33bce26354efdb670f8c"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-registry.resolveProviderIdFromLegacyModelName (cyclomatic 29): provider-registry.resolveProviderIdFromLegacyModelName has cyclomatic complexity 29 (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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"40855ed19f6cf8b47ef95d09095aa813ada3e4740b4aecf0087fedb7ed718510"}},{"ruleId":"D1","level":"warning","message":{"text":"chatgpt-web.generateAnswersWithChatgptWebApi (cyclomatic 28): chatgpt-web.generateAnswersWithChatgptWebApi has cyclomatic complexity 28 (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 (chatgpt-web.generateAnswersWithChatgptWebApi::handleMessage) 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":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"465707c663f3b536f4a9fa851be2ea83ddbab68a1f6394dbecc031b267e69178"}},{"ruleId":"D1","level":"warning","message":{"text":"generateAnswersWithClaudeApi (cyclomatic 26): generateAnswersWithClaudeApi has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (onMessage, onError, onStart, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/claude-api.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ffd1445b81db4619922dc031d4d5cc19d517f3f21c6b01370d25d589ce4dc9"}},{"ruleId":"D1","level":"warning","message":{"text":"model-name-convert.getApiModesFromConfig (cyclomatic 24): model-name-convert.getApiModesFromConfig has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 6 function items inside it that branch (applyCanonicalLegacyItemName, a function literal at line 168, a function literal at line 208, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/model-name-convert.mjs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5790ecb8860fd7b77ce3dfa4ac09c8ccee53f5c79fea8b30394646e8bc9925d"}},{"ruleId":"D1","level":"warning","message":{"text":"index.prepareForSelectionTools (cyclomatic 24): index.prepareForSelectionTools has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 2 of the 24 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 305, 289, 375, \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":"src/content-script/index.jsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6427847c0a03109b3d602ff29066859589d350c86a09b6a9c1933a89cb30fb8"}},{"ruleId":"D1","level":"warning","message":{"text":"build (cyclomatic 23): build has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 660, a function literal at line 617, a function literal at line 611, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"a911062e8ffb45738f955c208f92da0b9934b5d93f289ecb72ac8748b59f52a9"}},{"ruleId":"D1","level":"warning","message":{"text":"onClickMenu (cyclomatic 23): onClickMenu has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 39, 30, 66, \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":"src/background/menus.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f710585509e7bc4231cbf651ff7bc203bdef323eabd9468aa3da7e35567408fd"}},{"ruleId":"D1","level":"warning","message":{"text":"handlePortError (cyclomatic 22): handlePortError has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to 8 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":"src/services/wrappers.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebb29d2b56c039e4c33b343fb1f620960792e555e56fd3c2c9fe853d308ef46"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-registry.getProviderSecret (cyclomatic 21): provider-registry.getProviderSecret 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3093c98b75ff2f1fc888bf74a19ec6af4d8c71fbe3685f48a319c639cbe59f2e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.DecisionCard (cyclomatic 20): index.DecisionCard has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 2 function items inside it that branch (updatePosition, a function literal at line 73). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/DecisionCard/index.jsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b7e1b1b67fba1067c55bb244d46e04c5a6b0b590d50c24457a959db8263e12"}},{"ruleId":"D1","level":"warning","message":{"text":"import-data-cleanup.prepareImportData (cyclomatic 20): import-data-cleanup.prepareImportData 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":"src/popup/sections/import-data-cleanup.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d1c65a74d55e394bf43f44c0096eee77dd8751dfac1eedcf243852d02e3eab"}},{"ruleId":"D1","level":"warning","message":{"text":"generateAnswersWithOpenAICompatible (cyclomatic 20): generateAnswersWithOpenAICompatible has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (onEnd, onMessage, onError, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/openai-compatible-core.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ced21a5486cebbc0b406aa257cdb671fe2b27dc53f46cc26991e9176e193a1"}},{"ruleId":"D1","level":"warning","message":{"text":"model-name-convert.isApiModeSelected::isLegacyCompatibleSessionMatch (cyclomatic 19): model-name-convert.isApiModeSelected::isLegacyCompatibleSessionMatch 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":"src/utils/model-name-convert.mjs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"e093837f4ee2141e6aa40112b63ca50a2295b067e447dd9377736aeb6a5891d4"}},{"ruleId":"D1","level":"warning","message":{"text":"fetch-sse.fetchSSE (cyclomatic 19): fetch-sse.fetchSSE has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. 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":"src/utils/fetch-sse.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9952b32a0e9164b40fd8e64b4e4b81ed37dc15ce8b254d297c2f72705111c5d"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App (cyclomatic 19): App.App has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 6 function items inside it that branch (setSessionIdSafe, a function literal at line 51, a function literal at line 67, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/App.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"58045177b94535f63777d216148668bac1f1974ae447be937a1f233a25e92657"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-secret-utils.rollbackProviderSecretOverrideSessionMigration (cyclomatic 19): provider-secret-utils.rollbackProviderSecretOverrideSessionMigration has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 9 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2347354891ba6e497b67c2e020dae1a11bf733083e4569751788b5d46e6fe3"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-secret-utils.buildProviderSecretUpdate (cyclomatic 19): provider-secret-utils.buildProviderSecretUpdate has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccc776c4e0a0230dfb3d10755711ab2d665c0649e5b976812bb6e1df0195573"}},{"ruleId":"D1","level":"warning","message":{"text":"setPortProxy::_proxyOnDisconnect (cyclomatic 19): setPortProxy::_proxyOnDisconnect 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":"src/background/index.mjs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4392857240a567075b52ffa7984d08ae1d021dd644dbc6833edbeed591c5cc"}},{"ruleId":"D1","level":"warning","message":{"text":"chatgpt-web.generateAnswersWithChatgptWebApi::handleMessage (cyclomatic 18): chatgpt-web.generateAnswersWithChatgptWebApi::handleMessage 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. This shape REPEATS in the file: one other method here (chatgpt-web.generateAnswersWithChatgptWebApi) 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":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea48de122b217edbfa6ccdde1e7df0577ae858d0f4c31ed13764c816c943e6b8"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-registry.resolveUrlFromProvider (cyclomatic 18): provider-registry.resolveUrlFromProvider 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c8716e30cc5a777ab539e6561c902d1379a4ef0282858b19a364181cd637de"}},{"ruleId":"D1","level":"warning","message":{"text":"createParser::parseEventStreamLine (cyclomatic 18): createParser::parseEventStreamLine 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":"src/utils/eventsource-parser.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5168975eafb582e338912aec0db2acacae79e9403af219c7ebe10185ada35d"}},{"ruleId":"D1","level":"warning","message":{"text":"redact.redactSensitiveFields (cyclomatic 17): redact.redactSensitiveFields 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":"src/background/redact.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3daa5bd75c24babfd54194bc1025dd9a26dc215b4a269f96283d8f54f3a571"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ConversationCard::portMessageListener (cyclomatic 17): index.ConversationCard::portMessageListener 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. This shape REPEATS in the file: 2 other methods here (index.ConversationCard, index.ConversationCard::postMessage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1f2a48fc26b0292461def94b92c88582646250cb59d739dfa05548e28b692f"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ConversationCard::postMessage (cyclomatic 16): index.ConversationCard::postMessage 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. This shape REPEATS in the file: 2 other methods here (index.ConversationCard, index.ConversationCard::portMessageListener) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"026219676ba8f86d23b847b0decb848b01ea22cd98e399484780a9154804ebec"}},{"ruleId":"D1","level":"warning","message":{"text":"generateAnswersWithWaylaidwandererApi (cyclomatic 16): generateAnswersWithWaylaidwandererApi has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (onMessage, onError, onEnd, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/waylaidwanderer-api.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb54df519b9cd13e605cdd9ee76283565ce7ddceba7a0415fd151da24a0f6c5"}},{"ruleId":"D2","level":"warning","message":{"text":"migrateUserConfig (cognitive 381): migrateUserConfig has cognitive complexity 381 (threshold 15). Drivers by points: if/else 106 (215 pts), boolean chains 86, ternaries 37 (67 pts), loops 12 (13 pts) (nesting depth added 140). Of this number, 317 points are the body\u0027s own statements and 64 belong to 46 function items 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/config/index.mjs holds 2 of the 57 methods over the threshold \u2014 including the worst \u2014 and 432 of the 1486 points over it (29%), 3.3\u00D7 the next-largest file (src/content-script/index.jsx at 132). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6a7358c6c3a7d1895fa5f5ea463d2a0a4519db9f5103fc4821ca3697e96210"}},{"ruleId":"D2","level":"warning","message":{"text":"index.prepareForJumpBackNotification (cognitive 95): index.prepareForJumpBackNotification has cognitive complexity 95 (threshold 15). Drivers by points: if/else 21 (64 pts), error handling 6 (21 pts), boolean chains 5, ternaries 1 (5 pts) (nesting depth added 62). Of this number, 26 points are the body\u0027s own statements and 69 belong to 7 function items inside it that branch. 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":"src/content-script/index.jsx"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"884bfac8905537bf9c74b5a9d7c0729eae3b95ed242220756058a81bd0ae7fe8"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralPart.GeneralPart (cognitive 95): GeneralPart.GeneralPart has cognitive complexity 95 (threshold 15). Drivers by points: if/else 35 (40 pts), boolean chains 36, ternaries 9 (13 pts), error handling 5 (6 pts) (nesting depth added 10). Of this number, 29 points are the body\u0027s own statements and 66 belong to 13 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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bff42ca37dea9c5d2dea715491874a344bb6b0cac35448d648d2c58f0e2669a"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-registry.resolveOpenAICompatibleRequest (cognitive 94): provider-registry.resolveOpenAICompatibleRequest has cognitive complexity 94 (threshold 15). Drivers by points: if/else 23 (54 pts), ternaries 7 (22 pts), boolean chains 18 (nesting depth added 46). Of this number, 90 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df209eff394cd98f459499035d9a4f4ae0c041885a3d092b3b259ef0c522d09"}},{"ruleId":"D2","level":"warning","message":{"text":"index.executeApi (cognitive 90): index.executeApi has cognitive complexity 90 (threshold 15). Drivers by points: if/else 30 (56 pts), error handling 7 (31 pts), boolean chains 3 (nesting depth added 50). 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":"src/background/index.mjs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"74edb008f18f43bab18f5b791083063cb0888ff9208a3aa63012081fe57aae87"}},{"ruleId":"D2","level":"warning","message":{"text":"getUserConfig (cognitive 81): getUserConfig has cognitive complexity 81 (threshold 15). Drivers by points: if/else 25 (50 pts), error handling 6 (18 pts), boolean chains 9, loops 1 (2 pts), other 2 (nesting depth added 38). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/config/index.mjs holds 2 of the 57 methods over the threshold \u2014 including the worst \u2014 and 432 of the 1486 points over it (29%), 3.3\u00D7 the next-largest file (src/content-script/index.jsx at 132). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4f05d62e865d0395dc3df8b7bc518b1becf218359d1fd45eae7e5ecb219fe8"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiModes.ApiModes (cognitive 72): ApiModes.ApiModes has cognitive complexity 72 (threshold 15). Drivers by points: if/else 26 (30 pts), boolean chains 26, ternaries 12 (15 pts), error handling 1 (nesting depth added 7). Most of this is not in the body itself: 14 of the 72 points are its own statements and the rest belongs to 19 function items inside it that branch (onSaveProviderEditing, onSaveEditing, onDeleteProviderEditing, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78f15b4efcf47b54f1e43364fa91700a80bbf6cb7c6f4a3ca868389b75c236b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.FloatingToolbar (cognitive 69): index.FloatingToolbar has cognitive complexity 69 (threshold 15). Drivers by points: if/else 30 (47 pts), boolean chains 14, loops 3 (6 pts), error handling 1 (2 pts) (nesting depth added 21). Of this number, 21 points are the body\u0027s own statements and 48 belong to 18 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":"src/components/FloatingToolbar/index.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b07260816d4b0df74f93d05f58596646dd3b7fcae4bb2ac2d2b5b6f45493f4"}},{"ruleId":"D2","level":"warning","message":{"text":"getReferencedCustomProviderIdsFromSessions (cognitive 61): getReferencedCustomProviderIdsFromSessions has cognitive complexity 61 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 5 (11 pts), ternaries 4 (10 pts), boolean chains 7 (nesting depth added 33). 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":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac15a3b149bf08109691380d33f480c358c42328f07cf881ce170a5892b8e70"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 60): (anonymous) has cognitive complexity 60 (threshold 15). Drivers by points: if/else 17 (34 pts), boolean chains 10, error handling 5 (9 pts), ternaries 2 (4 pts), other 2, match/switch 1 (nesting depth added 23). 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":"src/background/index.mjs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be645dc4689d3daa34510f186b82c72820e97e70a6ce9f4ba7b92e12a4d33ab"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Browser.runtime.onMessage.addListener() (cognitive 56): index.Browser.runtime.onMessage.addListener() has cognitive complexity 56 (threshold 15). Drivers by points: if/else 17 (34 pts), error handling 5 (9 pts), boolean chains 8, ternaries 2 (4 pts), match/switch 1 (nesting depth added 23). 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":"src/background/index.mjs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"a067444beed0880578198a861edf7a49c42bd801a449c6e4bd90707d29cda7f1"}},{"ruleId":"D2","level":"warning","message":{"text":"build.runWebpack (cognitive 51): build.runWebpack has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 20 (25 pts), if/else 10 (17 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 13). Of this number, 27 points are the body\u0027s own statements and 24 belong to 5 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":"build.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5e535f0b7ee290041bc5ed5092ca77d91096f76503250c12de6b7fb08eadad"}},{"ruleId":"D2","level":"warning","message":{"text":"onClickMenu (cognitive 43): onClickMenu has cognitive complexity 43 (threshold 15). Drivers by points: error handling 9 (25 pts), if/else 8 (13 pts), boolean chains 4, ternaries 1 (nesting depth added 21). Most of this is not in the body itself: 14 of the 43 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 39, 30, 66, \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":"src/background/menus.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"112c61e2b19f8157309b1f0228ba0c439fe4a5533c6fb918171111494c3efb29"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-secret-utils.buildSelectedModeProviderSecretOverrideUpdate (cognitive 42): provider-secret-utils.buildSelectedModeProviderSecretOverrideUpdate has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 10 (15 pts), boolean chains 12 (nesting depth added 9). Of this number, 34 points are the body\u0027s own statements and 8 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ab398142b62dc88402a2eafc8f909992b74fea6a3c9c611c93a9e9f31e958d"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ConversationCard (cognitive 40): index.ConversationCard has cognitive complexity 40 (threshold 15). Drivers by points: if/else 62 (98 pts), ternaries 27 (35 pts), boolean chains 28, error handling 7 (16 pts), loops 6 (14 pts), match/switch 1 (2 pts) (nesting depth added 62). 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. This shape REPEATS in the file: 2 other methods here (index.ConversationCard::portMessageListener, index.ConversationCard::postMessage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e164b96afda59b5ed6007b44344850556f6c53999685935b118d41082921d62"}},{"ruleId":"D2","level":"warning","message":{"text":"chatgpt-web.generateAnswersWithChatgptWebApi (cognitive 40): chatgpt-web.generateAnswersWithChatgptWebApi has cognitive complexity 40 (threshold 15). Drivers by points: if/else 28 (39 pts), boolean chains 17, error handling 2 (4 pts), ternaries 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. This shape REPEATS in the file: one other method here (chatgpt-web.generateAnswersWithChatgptWebApi::handleMessage) 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":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"470135d51d4eef0a63387205a463c4152f6a09d03d40a542b07de4d8acf78c4a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.InputBox (cognitive 37): index.InputBox has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (24 pts), ternaries 7, boolean chains 6 (nesting depth added 5). Most of this is not in the body itself: 9 of the 37 points are its own statements and the rest belongs to 13 function items inside it that branch (handleKeyDownOrClick, a function literal at line 35, stopResizing, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/InputBox/index.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fd21ecf97c8ddaacc6eb5977ae010322f4395318200b8ffaf15256887df3dc"}},{"ruleId":"D2","level":"warning","message":{"text":"setPortProxy::_proxyOnDisconnect (cognitive 37): setPortProxy::_proxyOnDisconnect has cognitive complexity 37 (threshold 15). Drivers by points: error handling 6 (18 pts), if/else 12 (18 pts), boolean chains 1 (nesting depth added 18). 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":"src/background/index.mjs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f779e3f100ef0280a2d42854ee27fce6194d4c748beb262c75ea0f0dd18a906"}},{"ruleId":"D2","level":"warning","message":{"text":"index.mountComponent (cognitive 36): index.mountComponent has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 9, error handling 3, loops 1 (2 pts), ternaries 1 (nesting depth added 9). Of this number, 34 points are the body\u0027s own statements and 2 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":"src/content-script/index.jsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5354ead692749c58bca5c6cee145655e3227379897e1171c6e2f1037f251b1ca"}},{"ruleId":"D2","level":"warning","message":{"text":"fetch-sse.fetchSSE (cognitive 35): fetch-sse.fetchSSE has cognitive complexity 35 (threshold 15). Drivers by points: error handling 9 (21 pts), if/else 8 (13 pts), loops 1 (nesting depth added 17). Of this number, 31 points are the body\u0027s own statements and 4 belong to 2 function items 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":"src/utils/fetch-sse.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5423b91c3df0435b8ff0fb1c3747da65ba24f04d5c93321af37b3b5c42824cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"redact.redactSensitiveFields (cognitive 33): redact.redactSensitiveFields has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 3 (7 pts), boolean chains 3 (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":"src/background/redact.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"af47e432be97157292c73497fbf1ef666e19adc8588b34906970ddf1c8843233"}},{"ruleId":"D2","level":"warning","message":{"text":"openai-compatible-core.generateAnswersWithOpenAICompatible (cognitive 33): openai-compatible-core.generateAnswersWithOpenAICompatible has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 4 (8 pts), error handling 2 (5 pts), boolean chains 2 (nesting depth added 13). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function item 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":"src/services/apis/openai-compatible-core.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7b095cde33978cbba44774056a0fd672bfa6b874b6c16265d532edb7bf7fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ConversationCard::postMessage (cognitive 30): index.ConversationCard::postMessage has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (5 pts), boolean chains 3, error handling 1 (3 pts), ternaries 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. This shape REPEATS in the file: 2 other methods here (index.ConversationCard, index.ConversationCard::portMessageListener) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4db90b9afd3735e9e3b246fef69cef3111a517450544f15fc9e0b943bf4c85"}},{"ruleId":"D2","level":"warning","message":{"text":"index.prepareForSelectionTools (cognitive 30): index.prepareForSelectionTools has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (19 pts), error handling 5 (6 pts), boolean chains 5 (nesting depth added 6). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 305, 289, 375, \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":"src/content-script/index.jsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"954571ef67b7b4a84b3f7fcbebf8b2ba3c3e2092b1ac1a8b19b01379a8873948"}},{"ruleId":"D2","level":"warning","message":{"text":"registerCommands (cognitive 30): registerCommands has cognitive complexity 30 (threshold 15). Drivers by points: error handling 5 (17 pts), if/else 5 (11 pts), boolean chains 2 (nesting depth added 18). None of this is in the body itself: all 30 points belong to 3 function literals inside it that branch (lines 5, 30, 64). 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":"src/background/commands.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bc7dcc5c517067e4f80ad742a42fe5dfebf600e0eaed5171dc40493012ebf3"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-api.generateAnswersWithClaudeApi (cognitive 29): claude-api.generateAnswersWithClaudeApi has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 4, error handling 1, ternaries 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":"src/services/apis/claude-api.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a313baed4f3e0b03e4af784cc3189530a713a67c8a3df39b2d5d4674af359563"}},{"ruleId":"D2","level":"warning","message":{"text":"build (cognitive 29): build has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8, error handling 4 (6 pts) (nesting depth added 7). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 660, a function literal at line 611, a function literal at line 617, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"010b217deeea6bc99846abf53e9ac0b6152fc4ea2a29b8d1230f2e6d35d66e2f"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-registry.getProviderSecret (cognitive 28): provider-registry.getProviderSecret has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, ternaries 3 (4 pts) (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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf93d72cc71a5d4ca827c69b1f000b4a7d38fd7213b7ab15ac16706b11a72541"}},{"ruleId":"D2","level":"warning","message":{"text":"handlePortError (cognitive 28): handlePortError has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 3, ternaries 2, error handling 1, other 1 (nesting depth added 4). Of this number, 27 points are the body\u0027s own statements and 1 belongs to 8 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":"src/services/wrappers.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee8f0065d5c7e29ced423a2e3fc583f71020cbf30181ed99b809c66e23f39c8"}},{"ruleId":"D2","level":"warning","message":{"text":"import-data-cleanup.prepareImportData (cognitive 26): import-data-cleanup.prepareImportData has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 3 (5 pts), boolean chains 4 (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":"src/popup/sections/import-data-cleanup.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffa7dd31984c0cb76e0e0ec3a5c26763c578d18cb1fca72fc6a030d52899095"}},{"ruleId":"D2","level":"warning","message":{"text":"index.overwriteAccessToken (cognitive 25): index.overwriteAccessToken has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 3 (6 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":"src/content-script/index.jsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eace4c8825bf806d046668e0edd1f08fd74493cf2f2c60b1e2b958eb08de79f"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-registry.resolveProviderIdFromLegacyModelName (cognitive 25): provider-registry.resolveProviderIdFromLegacyModelName has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14, boolean chains 11. 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aacbe4d998d3e5e4b40bf96d921e8e3cddc08e862d317e0af1f3329f25964ef"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 25): (anonymous) has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (8 pts), error handling 2 (3 pts), boolean chains 2, ternaries 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":"src/background/index.mjs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6afe720b29fe8a5f01e484acc6892cb36dc35ffa0772f3863b3893774b2e472"}},{"ruleId":"D2","level":"warning","message":{"text":"index.DecisionCard::updatePosition (cognitive 23): index.DecisionCard::updatePosition 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":"src/components/DecisionCard/index.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"139271fd71f0507dc8ef83e2e8253b768973a595054027d241b3c0966504b6cd"}},{"ruleId":"D2","level":"warning","message":{"text":"eventsource-parser.createParser::feed (cognitive 22): eventsource-parser.createParser::feed has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, loops 2 (3 pts) (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":"src/utils/eventsource-parser.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc32a77a72ebb24ae5365d86c16e978fbd18b623f9cb00173882129ae07cc38"}},{"ruleId":"D2","level":"warning","message":{"text":"model-name-convert.getApiModesFromConfig (cognitive 21): model-name-convert.getApiModesFromConfig has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, boolean chains 8, ternaries 3. Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 168, a function literal at line 208, applyCanonicalLegacyItemName, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/model-name-convert.mjs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ca53532f72077b3132981897150b7762946ec813d8e39dfa3da599039c63eb"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ConversationCard::portMessageListener (cognitive 21): index.ConversationCard::portMessageListener has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 1 (4 pts), match/switch 1 (2 pts), ternaries 1 (2 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. This shape REPEATS in the file: 2 other methods here (index.ConversationCard, index.ConversationCard::postMessage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bf68ef786f2c7d0bd88b89bf1e2898b24a6a910e45c58348dae56551f1d40d"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-secret-utils.buildProviderSecretUpdate (cognitive 21): provider-secret-utils.buildProviderSecretUpdate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7, ternaries 1 (nesting depth added 4). Of this number, 13 points are the body\u0027s own statements and 8 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6579e10a89d994ddbe121a14bc76968f6a73bf7a345d53f3283930fc753579a3"}},{"ruleId":"D2","level":"warning","message":{"text":"setPortProxy::_portOnDisconnect (cognitive 21): setPortProxy::_portOnDisconnect has cognitive complexity 21 (threshold 15). Drivers by points: error handling 5 (12 pts), if/else 7 (9 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":"src/background/index.mjs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f267ceb0be62c5758d9219774af85c8659c3299b18fe71c4657c1c52c22de8"}},{"ruleId":"D2","level":"warning","message":{"text":"createParser::parseEventStreamLine (cognitive 21): createParser::parseEventStreamLine has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, ternaries 2 (3 pts), other 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":"src/utils/eventsource-parser.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8164076351181738f15c8ebc7016d45c6ab14282731b9b2cccaece6dbc710183"}},{"ruleId":"D2","level":"warning","message":{"text":"generateAnswersWithOpenAICompatible::onEnd (cognitive 21): generateAnswersWithOpenAICompatible::onEnd has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 1 (4 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 12). 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":"src/services/apis/openai-compatible-core.mjs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb16a24a26dfd5811ec2306f81628cf0d072cb8cbc21e7a6b0f252924d4a05fc"}},{"ruleId":"D2","level":"warning","message":{"text":"resolveUrlFromProvider (cognitive 21): resolveUrlFromProvider has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, ternaries 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e861203361fe34dd22ed3c389363befe28dec6b1f10944faf7cd1208210aba0"}},{"ruleId":"D2","level":"warning","message":{"text":"generateAnswersWithClaudeApi::onMessage (cognitive 20): generateAnswersWithClaudeApi::onMessage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2, error handling 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":"src/services/apis/claude-api.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"080397f2f1ae8fc9fcc8ee28cd0d9b793db8a688ac53a037b1bfbb5c58e84313"}},{"ruleId":"D2","level":"warning","message":{"text":"index.setPortProxy (cognitive 19): index.setPortProxy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 3 (5 pts), boolean chains 3 (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":"src/background/index.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db0ed7ff2c4988ed2b55ba05e0a81f4fa9b4637cf17b1076fd1c184bed35cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown.ThinkComponent (cognitive 19): markdown.ThinkComponent has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 4 (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":"src/components/MarkdownRender/markdown.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"14808a3eeca26837851cccd327e09c69fa0840e6b69b7c91a925da6422e1178c"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown-without-katex.ThinkComponent (cognitive 19): markdown-without-katex.ThinkComponent has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 4 (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":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"634114694f6e8c016531bbaa40615fc0fa9502bd8bbedbe8124b66b4af394c1d"}},{"ruleId":"D2","level":"warning","message":{"text":"chatgpt-web.generateAnswersWithChatgptWebApi::handleMessage (cognitive 19): chatgpt-web.generateAnswersWithChatgptWebApi::handleMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7 (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. This shape REPEATS in the file: one other method here (chatgpt-web.generateAnswersWithChatgptWebApi) 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":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3821d19fd0535402251be4b9e610419697f3ddd8fe80b07b08b1f446243ab7b8"}},{"ruleId":"D2","level":"warning","message":{"text":"model-name-convert.isApiModeSelected::isLegacyCompatibleSessionMatch (cognitive 18): model-name-convert.isApiModeSelected::isLegacyCompatibleSessionMatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5 (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. This shape REPEATS in the file: one other method here (model-name-convert.isApiModeSelected) 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":"src/utils/model-name-convert.mjs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d93383d14f93381ac7c6017924562a714f216be88efd473958e4c4c82eb3754"}},{"ruleId":"D2","level":"warning","message":{"text":"rollbackProviderSecretOverrideSessionMigration (cognitive 18): rollbackProviderSecretOverrideSessionMigration has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 4 (5 pts) (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 9 belong to 3 function literals 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c574797415b42a87244ceef13a6857445718ad1d5b1dd9b54e170d3ea5f6874"}},{"ruleId":"D2","level":"warning","message":{"text":"index.prepareForRightClickMenu (cognitive 17): index.prepareForRightClickMenu has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). 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 489). 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":"src/content-script/index.jsx"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d1517b8bd2b411fb18edfaeaf0250a2382e56be12206ec696f6642de23b5d1"}},{"ruleId":"D2","level":"warning","message":{"text":"index.prepareForStaticCard (cognitive 17): index.prepareForStaticCard has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, error handling 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":"src/content-script/index.jsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"da601cd8819271fe5946ff1e3f791c0d7367fc363dad822a160039e458d52ab0"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ensureChatGptPortListenerRegistered (cognitive 17): index.ensureChatGptPortListenerRegistered has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 3 (4 pts), boolean chains 1 (nesting depth added 5). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 902). 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":"src/content-script/index.jsx"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"cada9340aa4da0214c9281cf2fdbab6c535d68d3185e1e78987efeb28b97db4e"}},{"ruleId":"D2","level":"warning","message":{"text":"model-name-convert.modelNameToDesc (cognitive 16): model-name-convert.modelNameToDesc has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 1 (3 pts), boolean chains 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":"src/utils/model-name-convert.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ad0702ebf6a926d2f381de09056f2a5cce2936614d4a711c290c9b38925e98"}},{"ruleId":"D2","level":"warning","message":{"text":"model-name-convert.isApiModeSelected (cognitive 16): model-name-convert.isApiModeSelected has cognitive complexity 16 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 8, ternaries 1 (2 pts) (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. This shape REPEATS in the file: one other method here (model-name-convert.isApiModeSelected::isLegacyCompatibleSessionMatch) 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":"src/utils/model-name-convert.mjs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc1c6eb5706552c86fc5c0e66295adcd8f36190dc9919fe5d09f96c9ee15f04"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 16): App.App has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 4, ternaries 3, error handling 1 (2 pts) (nesting depth added 1). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (setSessionIdSafe, a function literal at line 51, a function literal at line 67, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/App.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbb34fb5bf542373cde19b8d4e29158ea43e3450c47e9b3036bc304a4400536"}},{"ruleId":"D2","level":"warning","message":{"text":"crop-text.cropText (cognitive 16): crop-text.cropText has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 2, ternaries 2 (nesting depth added 3). 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: 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":"src/utils/crop-text.mjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"62baf840394139b6628c493f0728d9111d189895d8733521bf46449ccd6657df"}},{"ruleId":"D2","level":"warning","message":{"text":"generateAnswersWithWaylaidwandererApi (cognitive 16): generateAnswersWithWaylaidwandererApi has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 2, error handling 2, ternaries 1 (2 pts) (nesting depth added 1). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (onMessage, onError, onEnd, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/waylaidwanderer-api.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f773931957bd88eb93a2856c6022f927bca79018155666f97bf1315bd31a6b17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GeneralPart.GeneralPart: FunctionTooLong \u2014 GeneralPart runs 740 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 640 over it, 7.40\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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed1230cf125f9ed5083a15e29fd60acc0690914d74438e81fa5dfa516acfa36"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.migrateUserConfig: FunctionTooLong \u2014 migrateUserConfig runs 726 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 626 over it, 7.26\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":"src/config/index.mjs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b18916f71e1b3c3cf16d43473bdf83ea8c972ce6cc966f98deba07b824d59c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ConversationCard: FunctionTooLong \u2014 ConversationCard runs 615 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 515 over it, 6.15\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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"53108d31a9f61483525cd93fc0d305e5bbc16058776c7619c261079c8235318b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ApiModes.ApiModes: FunctionTooLong \u2014 ApiModes runs 513 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 413 over it, 5.13\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":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"857ab58814486087c427c3b1a98e6b825b0d2a81da736fff6253e10376888e19"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/index.mjs: FileTooLong \u2014 1734 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 500 significant lines; this is 1234 over it, 3.47\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":"src/config/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efb5e672b63b168d56f8d83fe164c5dc8408d60d0e372f62d2504fb04672ddb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.FloatingToolbar: FunctionTooLong \u2014 FloatingToolbar runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\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":"src/components/FloatingToolbar/index.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"49efbebe50c6d784e6bf9454b9f00bde252ebe77cad839f2424fab6266d260eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.setPortProxy: FunctionTooLong \u2014 setPortProxy runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 123 over it, 2.23\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":"src/background/index.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9825e91ff321ac3eb9ade6305c2a01cd655af9f42fafc02c128eaf99b04cf6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: build.runWebpack: FunctionTooLong \u2014 runWebpack runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\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":"build.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9756dac96f42a9e2c83f15150333369dae3f0a6cc01aecc4e10a3e483301d6ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chatgpt-web.generateAnswersWithChatgptWebApi: FunctionTooLong \u2014 generateAnswersWithChatgptWebApi runs 217 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\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":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"169ad91b4f4d7cbd08edbbf1e7ea31acda511b13ce061164c05620b935329557"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GeneralPart: ClassTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 340 over it, 1.85\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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac9da8fa81e7581ac000c71f7470c72403746a85c96058f0219cede5d99fd10"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Browser.runtime.onMessage.addListener(): FunctionTooLong \u2014 Browser.runtime.onMessage.addListener() runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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":"src/background/index.mjs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"482f90bc63aad6653a940f7fea06b792718977876c24237582848a3b1a6e3ce0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sections/GeneralPart.jsx: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: GeneralPart (94-1009). The bar is 500 significant lines; this is 318 over it, 1.64\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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"138e7d333848bfb4485e6e7bf32264919596a78b78588d6f4229d5c57ee5458c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-registry.resolveOpenAICompatibleRequest: FunctionTooLong \u2014 resolveOpenAICompatibleRequest runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"facb09f9f1477cee016d436b16f03647bd2533fc639efb2405a489f3017c3de1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: content-script/index.jsx: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 302 over it, 1.60\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":"src/content-script/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d3089508e18a35084f560e63f31d460b11a2b17e5d79a43ac36ab346987c12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: background/index.mjs: FileTooLong \u2014 797 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 297 over it, 1.59\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":"src/background/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe66695f9a936f83cd5cdadb7695a1658646dd08ed91b4388b6f7043bbaf472d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.InputBox: FunctionTooLong \u2014 InputBox runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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":"src/components/InputBox/index.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc681cda0e12c73dfbe3f3b5c633bbdd2dcb8ca47ed4f376941331d5fa1d37a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.executeApi: FunctionTooLong \u2014 executeApi runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\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":"src/background/index.mjs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c9f51c9e8721dda43c293f3127999a383f27aa118ce3bec5d56651e232303b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SelectionTools.SelectionTools: FunctionTooLong \u2014 SelectionTools runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\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":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4be47f81e421a96fc3faf38a03e39e557e4e4ecfea6e54ee7623b7ba68c30c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apis/provider-registry.mjs: FileTooLong \u2014 690 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 500 significant lines; this is 190 over it, 1.38\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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"020e4e71c1811e10b113bbebea734f81fbc94a07c4e51fed62d86a1b318d06c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ConversationCard/index.jsx: FileTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: ConversationCard (71-855). The bar is 500 significant lines; this is 188 over it, 1.38\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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5528b0581b82c5d8d4259bc90f1192baf11d92fbbe6628dc736e63e1e95ebada"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.prepareForJumpBackNotification: FunctionTooLong \u2014 prepareForJumpBackNotification runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\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":"src/content-script/index.jsx"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e6c7698e71a26dcf919b6749115e01aba1ffbfb0192578a342c658fbdb00de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-secret-utils.buildSelectedModeProviderSecretOverrideUpdate: FunctionTooLong \u2014 buildSelectedModeProviderSecretOverrideUpdate runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"069dfb6e067d797daea6a618ad6cad76efe24e39eadf9d752c9442a4fbfc316b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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":"src/pages/IndependentPanel/App.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2f4342f0fbed7b06f91c5d0cc824a684f216ae433e7ba861d30d35de52e31c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ApiModes: ClassTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 113 over it, 1.28\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":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f97e0e945e117b75ad26e5ea578ff64dfceb6a774e107c26f127e24cb7d55a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Popup.Popup: FunctionTooLong \u2014 Popup runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"src/popup/Popup.jsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7efbae54b4d8b8ed86c54bc159aa24b4829181db8c98879a0495f01d01986a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sections/ApiModes.jsx: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: ApiModes (75-712). The bar is 500 significant lines; this is 77 over it, 1.15\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":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51cc5b5277513c83416e1adb8fd5a2d00013c478e384d144fb80bdd7aca54eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openai-compatible-core.generateAnswersWithOpenAICompatible: FunctionTooLong \u2014 generateAnswersWithOpenAICompatible runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"src/services/apis/openai-compatible-core.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6cb8fbdb91cae07f61b27cda519973c155d60335c8485f608a1f7ad863ac5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: eventsource-parser.createParser: FunctionTooLong \u2014 createParser runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"src/utils/eventsource-parser.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe609fdbc114a117d4f4f26918acec88b242b21f0dd2dc33f1fd65bbb9f5b1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.mountComponent: FunctionTooLong \u2014 mountComponent runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"src/content-script/index.jsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"269d737c55008dd40df6308a959e1991b5f4c844821cd81dbb116ab1063eb0a6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: scripts/create-firefox-sources-zip.mjs: 42.0% line coverage (58/138)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/create-firefox-sources-zip.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eeba7d1b5635af79f977fb4ae647abbcc2111d0c25d03d9cbbfca38ab9d128e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/content-script/index.jsx: 29.7% line coverage (317/1068)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8582d1efc4d7b5a69bd0602a1c63764287a1e9fffa644a076b68cf0df97a99b3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/services/apis/bing-web.mjs: 37.5% line coverage (39/104)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/bing-web.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fb9e4373f8804ccd869699b8cb927546e9ddfc6161e5c207f5abf0a1d6f62f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/services/apis/moonshot-web.mjs: 38.9% line coverage (252/648)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/moonshot-web.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eddb79ac333989044696cd4894d8e1a44c415b1d31ab1099ebd31417fed02cb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: tabs.sendMessage supports callback as third argument (without options): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/setup/browser-shim.test.mjs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f9ebeb07f5bfa4fd39c089f4760c4b998a405374d81da21c5a4a7514aa3630"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: tabs.sendMessage supports callback as fourth argument (with options): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/setup/browser-shim.test.mjs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"977179be572c073f152354665964d2917c4f4c93d36275cf1c9cebbdfa670833"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: runtime.sendMessage supports callback as second argument (without options): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/setup/browser-shim.test.mjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccabe11697fc053e10279f08258de6f9c002af4b9f542c78c7ea0a4f700029a8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: runtime.sendMessage supports callback as third argument (with options): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/setup/browser-shim.test.mjs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6242e40179f0c74a28c2611fee25ffe446c5f2e2520e77bd66187077cc599fb"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: eslint: eslint 8.57.1, declared in package.json, is marked deprecated by its publisher: \u0022This version is no longer supported. Please see https://eslint.org/version-support for other options.\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d6fe6ca46e7c5138acb9303f34c05bf26af5e4732d5aadfd02868b07841a1"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: @humanwhocodes/config-array: @humanwhocodes/config-array 0.13.0 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Use @eslint/config-array instead\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3367f047ca48a2f4bbec028d1037c4158644375cb7f4ff97dea0a73eca0b3a1"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: @humanwhocodes/object-schema: @humanwhocodes/object-schema 2.0.3 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Use @eslint/object-schema instead\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"16783e478c5e2496ef49cbd939acc4ed3bce191a6c2ac6202c1a08e7b956a7ef"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 7.2.3 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":7228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a21a0f511e79bf1641d8781e0ca2d1a227ed4ef5f1fd822135ca3108ada0d"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: inflight: inflight 1.0.6 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":7827}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f44f2d08ee8839d5172f941ab3bc1c660bb2257c3c3bd3354971f7072e14eb"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: rimraf: rimraf 3.0.2 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Rimraf versions prior to v4 are no longer supported\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":12369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f19ad8cb4391b735e04142442af28e60cbd91c2bb1f98ea175f4eb33e27294f"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated (npm): i18next: i18next is pinned at 22.5.1; registry.npmjs.org publishes 27.1.1 as the latest release. Upgrading is a judgement call \u2014 read that package\u0027s changelog for what changed between the two \u2014 but a direct production dependency several releases behind is where security and compatibility debt accumulates silently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba03ee4128a8028f809c6d872d63baa45476c25ad50374182b9b03929b2bcc71"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated (npm): react-i18next: react-i18next is pinned at 12.3.1; registry.npmjs.org publishes 18.0.1 as the latest release. Upgrading is a judgement call \u2014 read that package\u0027s changelog for what changed between the two \u2014 but a direct production dependency several releases behind is where security and compatibility debt accumulates silently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada3c6e8265eb4972a0fc17e0e8cf1cc9fc3944da526e6e087c44d16580b7eac"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated (npm): uuid: uuid is pinned at 11.1.1; registry.npmjs.org publishes 14.0.3 as the latest release. Upgrading is a judgement call \u2014 read that package\u0027s changelog for what changed between the two \u2014 but a direct production dependency several releases behind is where security and compatibility debt accumulates silently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"66de142a6d9a8891ad9f76e903eab0d137ddef095b3a23f61bc2479867f4c8bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/ConversationCard/index.jsx: src/components/ConversationCard/index.jsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 134 in index.ConversationCard at line 71. 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 01:42:40 \u002B08:00\u0027 --until=\u00272026-11-13 01:42:40 \u002B08:00\u0027 --full-history --no-merges -- src/components/ConversationCard/index.jsx\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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec9df68cb2c477d7d0cce35eb6c13e51b2b5b9014af1098128cd4cd1acf005c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/FloatingToolbar/index.jsx: src/components/FloatingToolbar/index.jsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in index.FloatingToolbar at line 14. 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 01:42:40 \u002B08:00\u0027 --until=\u00272026-11-13 01:42:40 \u002B08:00\u0027 --full-history --no-merges -- src/components/FloatingToolbar/index.jsx\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":"src/components/FloatingToolbar/index.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"69798a1b098a07bed04d2249580207696bff138df51fbeb30509330718dd9800"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/utils/eventsource-parser.mjs: src/utils/eventsource-parser.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in eventsource-parser.createParser at line 3. 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 01:42:40 \u002B08:00\u0027 --until=\u00272026-11-13 01:42:40 \u002B08:00\u0027 --full-history --no-merges -- src/utils/eventsource-parser.mjs\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":"src/utils/eventsource-parser.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08a8d8a61f488658b535335f77831ae7aad71ab1ac3141334dcb59533790491"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/services/apis/claude-api.mjs: src/services/apis/claude-api.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in claude-api.generateAnswersWithClaudeApi at line 19. 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 01:42:40 \u002B08:00\u0027 --until=\u00272026-11-13 01:42:40 \u002B08:00\u0027 --full-history --no-merges -- src/services/apis/claude-api.mjs\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":"src/services/apis/claude-api.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7575cd30719e5d6ddae9dceccac66a7b1818454754c20d2ce383cd3bbdcdc6e8"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 10 significant file(s) lose their only recent owner: src/services/apis/provider-registry.mjs, src/popup/sections/ApiModes.jsx, src/popup/sections/api-modes-provider-utils.mjs, build.mjs, src/components/FloatingToolbar/index.jsx, src/popup/sections/AdvancedPart.jsx, src/components/InputBox/index.jsx, src/services/apis/openai-compatible-core.mjs (\u002B2 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6011a882c43c610d38ed76896fd73067d812e8c9565cd2f6fa057d58dd803b81"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (13 single-owned of 50 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 50 of the 123 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/background/menus.mjs, src/background/commands.mjs, src/utils/crop-text.mjs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the content of the new comment box\u0022 repeats the code it sits on: 4 of its 5 words (get, content, comment, box) are already in \u0060const commentBoxContent = getCommentInputContent()\u0060. 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":"src/content-script/site-adapters/github/index.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30349caf1de447e1608bbaec5c271246189d9c15392bd760db05a332059d8fc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Port now has onMessage \u002B onDisconnect listeners\u0022 repeats the code it sits on: 4 of its 5 words (port, message, disconnect, listeners) are already in \u0060assert.deepEqual(port.listenerCounts(), { onMessage: 1, onDisconnect: 1 })\u0060. 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":"tests/unit/services/wrappers-register.test.mjs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"974401c934ebc7383d17dfd2dfe55cacd7b28abfefbdb0846738faee5f245377"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"f7c10c215117d9d5a02d80d6b64f700ac1ccab07ba6225cdd64de800533a2e72"},"taxa":[{"id":"CWE-78","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":"137bef92070f214c4a96701952bb93e270cc9229476fc9e094c4bd1c4030d4e1"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"2b369f7901e5d9651f91f159da185b18cd9a8a5b26527bf8336fc883e19bcd98"},"properties":{"dependency":{"package":"image-size","version":"0.7.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"254e159535de5a467ea5671a4a81fbc3bf399623b11dcd1fc4071f2230ac5cd0"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"b57bd94a9054ab1a78280337953ab23bcb5d2500ea7f4b4abe8dc82a1ef1d633"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"8c7d1077e4a00749199d4f937c10098ae6dac026a670c7633bdc6377a9b072fd"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 12 of 50 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 50 of the 123 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/pages/IndependentPanel/App.jsx, src/popup/sections/SelectionTools.jsx, src/components/ConversationItem/index.jsx, src/components/DecisionCard/index.jsx, src/content-script/selection-tools/index.mjs, src/services/apis/waylaidwanderer-api.mjs, src/config/model-key-migrations.mjs, src/popup/sections/FeaturePages.jsx (and 4 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/App.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f76fc2b2cfa1dbad90b98d31e88c92879053ac8ea5c27a96937421c103238b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56639fd9f5b27b979320cec0efbd38c5ce00ad650acabcf035116c679a0af9c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/model-key-migrations.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1411cbeaa4973ac50e0c3fb788c17124f8ac1a3da468185391767964b76a815c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd921ac7d37f48464b3291f0d461a7e506f434bc0a5dd8aea49df38039268bfd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/DecisionCard/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4112ca5701c9d80b3e2d87141f01d3d2c730b61be725d7fa28d2dacf964c81fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/selection-tools/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10bfbb3a42ac2448baf51cd8646081b3323eff405247263201050fcf42ee558"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/waylaidwanderer-api.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"102404cdfd897e0cdda72b5e90e7f42b3b6e91d72ce8258f9ed6f38428316525"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/FeaturePages.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f43138a91eb2f978075524a5fc55c03e6c605b179320ecb1a93c744d24c64f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/local-session.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ec6e265f657bb4bbbc343dbf8f4c56c35119f6b12f09a4e40b63696ae139c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/shared.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84d1dd66d9c0ba081cde8b531aa74bc137de738e9b34bf7f05ea1bbec4e5dc4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/get-core-content-text.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3331d241cf3c5b34eec9cf076a87029859c8b4c98295921e4dad8b91cb7e7af9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/WebJumpBackNotification/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e601fd6470b93683341feedacc72a9f9b8b9bbc2e7c2202e602dbddb0890755"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: index.mjs \u2194 init-session.mjs: \u0060src/config/index.mjs\u0060 (context config) and \u0060src/services/init-session.mjs\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 53% of the time (9 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u006008ab0e88\u0060 WIP, custom API Modes; \u00608706737a\u0060 WIP, custom API Modes; \u0060a398bfd9\u0060 WIP, custom API Modes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96481180800b81308f1562f12e9e791131c1ae917b7f239d94b588f1d6ff1de"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: azure-openai-api.mjs, custom-api.mjs, openai-api.mjs: 3 files \u2014 \u0060src/services/apis/azure-openai-api.mjs\u0060, \u0060src/services/apis/custom-api.mjs\u0060, \u0060src/services/apis/openai-api.mjs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/azure-openai-api.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33558cd7f61b5e549a7959fed06ae1c3500f49c24732537105ea61d3c29c589"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ApiModes.jsx \u2194 GeneralPart.jsx: \u0060src/popup/sections/ApiModes.jsx\u0060 and \u0060src/popup/sections/GeneralPart.jsx\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00605bb78360\u0060 WIP, custom API Modes; \u006008ab0e88\u0060 WIP, custom API Modes; \u00608706737a\u0060 WIP, custom API Modes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e045a35c1bea26211920579115daa55265c934611dd7c7615ba64f8a8b94d3a0"}},{"ruleId":"D36","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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"fe274ba5adebde25ca0b3db842e44cbb1aaeb7cfecfbb7215cd452596ba1f4c2"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"725151f8e71b18a9d45851e97ea978c7f2c40ed1d687ebcf8e31e46271493f78"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df66b9772f252db3ac0eb38094deb507d5714ff9f5b968829b41d439bc42aa2"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ca8237dd942409c5f1871810e8f4c28d4d6231a6828a9285950cbf69c574db"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"9243949d74f1a3d8dad6f5684167f9fe1b185a7e6678c42aa5f4b05a98b9cf24"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"742e99f11be857d29567a617ec435592e164f0db85b89707aba4dcc58f2451cb"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e5a906e50ce185716feec83b8602199280f3f39aa07b487e08a7bfa58cdbcd"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d7c609999ee6e54f3b4f9c5a4c58bf78cee1dfa5e3bef76e84acd6a121ab58"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"93770d8925b6ecc6f5d8449de91d8f265699d8cbe0a9ecb11df53fdefc9c4f22"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5917331b85f05af276986a9ae1b551c9792e2c55cf9dc099a55630a3bc2ce4af"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4900af3ec8db9117ea310a974c7d5dc956c6394e799c096d1e622557e7f9aa"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"db80e00a99af2c376b3a311956f5fceae2517ea67d0d8e7a1f2cce65bd2b66d7"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf26ee5dd60b68ebfdc39ce4826b1d4a576b2a7ef15ddf04ad2b12d134c4a69"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe4a1b7a09282e15ae9c0a4799c1e6a1b0d799f1890e18fb9f3bae0adcfc527"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6903e7669a60a1f58f1662313fa9162f17140a5083182255b0d1e6359074d9de"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f25571742a181ad24d8eac92184444b1ce66259b78b8fe405df3d4478b2d3e"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeedbackForChatGPTWeb/index.jsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f1bc99c1fd408dca46f94435a61256fa41fd873861a77f29bf33bfa1facd48"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeedbackForChatGPTWeb/index.jsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0460922798da9712564fccf7365d10362d9d5f3cf6f289a7aeabd9f96acdf690"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/InputBox/index.jsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c13a098a2122986a772a5bfcbdb157152c2147a74c8b15793cf487094f337e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/Pre.jsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b7df4b6a4c7e8f65d1ef03435b56dc3971e41eef4bb2d388108c9c4b798b60"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"864348c3444493588a369b861545de613608b939324e6cd99baa9b790afa659d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1360f68ac8786591d9e2ad1dc385fbb68b1cb8376c597582a80507f5f7efaf"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"745376fc2f964a3c62592c400d07fdb008f382d78daca3e0786de8859d4eb0ab"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"da95e11bc73ce21041d3771c8eac5547020111d4de7608f0e06a6dc8e9a0b0fb"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"b632afd28e2507582dee7c3d63453394f952864b73ca1a2a2f70893a0b1fcbb6"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0d6dca202db2e0ea600d3599d03526e84c71bd3bee577626bd57a27c8f5aaa"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cfd33984b7ddc762c07febbf2a7342f58d478b8c7b846b623ab51c4cb29bc7"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd32b84606dfd7e8702c33370e7546b6ffde8120ae5ea7bee3edaa329d4beaf4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72bfbc93d4d944bd1d00366a6bbe4e3bb79b841d2017feb27f2fcbcc66a4174"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7875798a97209d6f8d0417870235760920ed85a2028bdd6fc88cb39bd68526b5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc7c17ea0e20674e0c1c20ccb00605909ba25c51b2dab725c65b92353f01549"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cae9d73d328cfea01ba21788572844a24da92af840d078ae2d886bf9f21df3"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"056bcaa7ed0356232be3ded0afaaf3969b26e9a20b4a26caf957cfb63e75b1b3"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4227910ed5144796e816979553d8bd432fec572a38ebea1eb55cdb04ec76a2c9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2886f16c06ba9bb84b578127e4c34272abf3c64c898dbabce1c80d96010cc842"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e157b16580ec8d72265c181342c891deecd1572b4b8e60447596ccb71c420bc2"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"953faf7aa55ede6934d88df64f973bcebd3727439d2ab983f35c63f9d770d8f1"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"052096633a4f09a20ad6ec0b19b1ee0b395e63594f922ba9bbef60c440955550"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f803a1c2e5995364c9a6166b307da91c2a0b77d453ed28a5974bc48841e9a8"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3a418405e9f6a2f7d61701613ac9a2714621e07e3cfc90c94aa10bd91d61b3"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"f067a745bf7b204a421033483361842b3cec3cd1f86bb2d99b0ccf7b202b2042"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b76499efc5cd7ae1f0ece21a4a90a0517c1c46755eb0258d8881afb4ecbd2b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8e7f5e92630a1ddcf98a8598ed082e2829ca6807ec0ddc53834b32a543b3a4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cp\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f53dd59a6951eaeba77066eab6aa64725524bcd5d3308eaddbd7841ded55b27"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8dfbb78f987d8add57b2c5dedc201072721f1586f49a1f8dbcaac9853a53c2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1c8fc1ab935108292dae00edc6e243a517184c806f88c330257126ce3953b2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e247d3aed06dc0562cf1c3082651fccf58c8db632ba1c0158b1f202bc500f4f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"166b9daa0e5a4109bc8e41ed6e59885c84ec2d08014d29340eb4eed9ea555275"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb22dd6f449b7eeecaf872304c7a17ee40f0847954eb2c17ee5aa6234dc62a4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce6bb64f8b5bfef9426d8270d2295074810d8ab97ee463cc4caae125466a68b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f34f552b2b13ce1e1d6ad6e7587ccb793704fdf9d0424c23ca350a96bb2e489"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6ab1c6f9b992b4c83d12b02d9a2b9bfb75c7a2bde705918244066b08c554a0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CopyButton/index.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffe6f2bfb574bf0af6f4e1f3dc41c76249247bfccac60c420f29bfb6703e547"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cp\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/DecisionCard/index.jsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7fcda946691e424ad24eebdf05980c6377c6d4f3d11f67144a0dfe0a3c982d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cp\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/DecisionCard/index.jsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f939d8b84a173a1c453dfb1b34cca7a401a9599d6bfe6aa0b04e61d3c2ee072"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/DeleteButton/index.jsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2477aa29a626eed513f8c7ac4a534705fa0446e9de620cf9d6ed26d84e57933b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeedbackForChatGPTWeb/index.jsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7484af1b08bcf12cb725b6e3c206eab6a2e401c3d83fbbbc1c87daac43adf5"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeedbackForChatGPTWeb/index.jsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecf0e39582ba1456188574e743f934323c0a18fc74256c615de2d426385f7b4"}},{"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={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61f16ba7626fa23d54a4623b3718374898cb566e69504e63049e8508457921a"}},{"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={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown.jsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"625ebef316bb5815f799259decd747936cfb84609741266bbe489789267cff31"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ReadButton/index.jsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd83cac8cb47f8ce1197e8cb11c584c132bbc2fa078ae678f42dfb791abd569"}},{"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={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"a682bb8d0cc49d1ad6e9ca04f8e54c8ed8887433fd59b60d68e2fc15db0a7f28"}},{"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={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"f486aa60d169977e62c1f1700518024abc3befb71ae8dff7febb1046737bfc80"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60cad31e2c13d6ba5a6d47614e31b3c99d8d23d4418fba5092e7ce69448b730"}},{"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={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47ced2bc6154fe3a777bdcdd910054f561f84e5ae3a7590e1250d05ce584119"}},{"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={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bbec7a7bff4e8f39f15bd2be5549a94fac96cffb04e08ceb69b6bc4285f452"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060animation: isExpanded\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec30720494ccaaab2f70f9a3043cee2c8e8ffec6a4c0555bbcf3c868c6a2a7b8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: transform 0.3s ease\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f63a847de8c6b4e45b23448671e3a66cac93d4f0fb0ddb2fd41d8aef9238c9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: max-height 0.4s ease, padding 0.3s ease\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"944ce520496e2aee6cfaa4c658105523e89f93f339cacc436708ede38e695265"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060animation: isExpanded\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown.jsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc85adb2af5fdd458e534dbf8756d7a19a86b42e47394cc91fd2a43bc79717d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: transform 0.3s ease\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown.jsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89cc246a63a5e2868d3618f6ed3f1e134a1020be6e0449f8a23d802bd3cb9ff"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: max-height 0.4s ease, padding 0.3s ease\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown.jsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"235d5de12d6152e1db39b97b523d61947bc181348cc02d3331cb52a68c37dc20"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.3:1): \u0060.submit-button\u0060 sets color: white on background-color: #30a14e \u2014 3.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/styles.scss"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b4f2b8b6bf1a4794381ba4bece19aa3deaea67d82f0946c9e4c0601e7c75e0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.chatgptbox-container .markdown-body .anchor: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":"src/content-script/styles.scss"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caa291d7789d0ca401700ec88946e771205451c77173e10caf2e3f9403adbea"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.chatgptbox-container .interact-input: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":"src/content-script/styles.scss"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca933d73029715b7a5e82860aaca142d60a06e6ef664f6c1be335c75cccdcd6a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.IndependentPanel .chat-sidebar\u0060 moves (\u0060transition: width 0.3s, min-width 0.3s\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":"src/pages/IndependentPanel/styles.scss"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb1c40607a0cfeaea8e3384f6359241d48bacd4e55256b92f5171fe7dcf0b13"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060getChatSystemPromptBase\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/shared.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1422e0b0a0ae7adbc0c9158cfd1ce3d97222d3e07c9f557565d68b86f6810216"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060getCustomApiPromptBase\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/shared.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b365b21cb40f374c4755c0bbb6d01b40a6d771814b114f77d1f4b232e2a5da32"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return isLegacyCustomSession;\u0060 also returns \u0060isLegacyCustomSession\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/model-name-convert.mjs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"c930066e4334a6919f30c5424a81e8a011dc5711f5be90f5a7ce9b2ddb3567c7"}},{"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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/javascript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 8 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":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/format-lint.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"da14c5e8fb421b8614b797a2517de829b3c94f3b85263a50e3283dfd26519afe"}},{"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 209 plain JS \u2014 the untyped files are build.mjs, scripts/check-edge-api-key-expiry.mjs, scripts/create-firefox-sources-zip.mjs, scripts/submit-stores.mjs, scripts/update-firefox-metadata.mjs, src/_locales/i18n-react.mjs (\u002B203 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (5 clone groups): 5 duplicated blocks under src/ have copies in at least two of the sibling directories background, components, config, content-script, popup, services (\u002B1 more sibling(s) not listed) \u2014 4 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7e84dd2443c3cd7412043fc51f123353cfb22815b38ab37086ad2176625e2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (103 matched lines \u00D7 2 locations): src/popup/sections/ApiModes.jsx:423 \u00B7 src/popup/sections/SelectionTools.jsx:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 569 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":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8977ed61bc9b135abb56826e7d58ced70b0884ea8b09d5058e8c4be0e01e717"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (96 identical lines \u00D7 2 files): src/components/MarkdownRender/markdown-without-katex.jsx:1 \u00B7 src/components/MarkdownRender/markdown.jsx:2 \u2014 these 2 files are line-for-line copies of one another \u2014 96 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dec0c6d88e55a36c615c63379ac0a2ac4c143c9970315ab4e2afcac08de6e42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (60 matched lines \u00D7 2 locations): src/popup/sections/GeneralPart.jsx:555 \u00B7 src/popup/sections/GeneralPart.jsx:653 \u2014 the two spans are one implementation copied and then locally edited \u2014 274 tokens are still identical, in the same order in both spans, 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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ada7828c3836796dbcb67ef3b5a277d02d5d2b4de33e0723773a9293d498b50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2 locations): src/services/apis/claude-web.mjs:19 \u00B7 src/services/apis/moonshot-web.mjs:596 \u2014 the 2 copies are spread across 2 files, 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":"src/services/apis/claude-web.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2356430aa3dcb04a06bbab2a01a80c0acb50ab0d3bfd0e9907888384bb10a1d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): src/config/index.mjs:1772 \u00B7 src/config/index.mjs:1923 \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":"src/config/index.mjs"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03ed67eb8fbf8c889e74bed34562bc1a401461dd6dcd875659cd438b5eb9130"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/popup/sections/GeneralPart.jsx:622 \u00B7 src/popup/sections/GeneralPart.jsx:672 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae03c9cd868e30cdd52f1de57ede2c7aaf8394f835a878c8fa335c697c7d9d63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/popup/sections/AdvancedPart.jsx:258 \u00B7 src/popup/sections/ModulesPart.jsx:13 \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":"src/popup/sections/AdvancedPart.jsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f994e537566e3ccec79b47b5160e7fd328a42998f4ce5b5d51080ff87b073a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/content-script/index.jsx:349 \u00B7 src/content-script/index.jsx:446 \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":"src/content-script/index.jsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab42c0e77c6623c805adaedadd53295c0d44df796b54c4c5c5be2d8c559fecd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/content-script/index.jsx:758 \u00B7 src/content-script/index.jsx:835 \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":"src/content-script/index.jsx"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"e534b974c0d3477f612dbd00f039fb75bea57a6fce2e94b526dd50e8eb17b8ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): src/components/ConversationItem/index.jsx:32 \u00B7 src/components/ConversationItem/index.jsx:69 \u00B7 src/components/ConversationItem/index.jsx:103 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0815718b9eb34e3d9d2f1f876c41840b251678d2f4032af8fa1a618fa48a83e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/background/index.mjs:213 \u00B7 src/background/index.mjs:334 \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":"src/background/index.mjs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f848f9751d180996b3da4a979c1182823de023fb331f7275f123ac95c2ff50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/components/ConversationCard/index.jsx:611 \u00B7 src/popup/sections/GeneralPart.jsx:513 \u2014 the 2 copies are spread across 2 files, 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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c121a83b5e4977687b92e48669ec72b01f748e55d6f3787b3aa0d3038078d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/services/apis/azure-openai-api.mjs:69 \u00B7 src/services/apis/waylaidwanderer-api.mjs:62 \u2014 the 2 copies are spread across 2 files, 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":"src/services/apis/azure-openai-api.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfb79495b07d4a612595e3da4592a08aea723308e908543bedc1d52ca5b7372"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): src/services/apis/provider-registry.mjs:548 \u00B7 src/services/apis/provider-registry.mjs:600 \u00B7 src/services/apis/provider-registry.mjs:620 \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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf939322f8bf369035483ec8f62e6935596e74c492363b6f801373831ef57c11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/ConfirmButton/index.jsx:26 \u00B7 src/components/DeleteButton/index.jsx:29 \u2014 the 2 copies are spread across 2 files, 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":"src/components/ConfirmButton/index.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6334e787929f1d0fb40e5005038ad357d39722fc60f7fbc5a71f62be70019d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): src/popup/sections/AdvancedPart.jsx:107 \u00B7 src/popup/sections/AdvancedPart.jsx:129 \u00B7 src/popup/sections/AdvancedPart.jsx:217 \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":"src/popup/sections/AdvancedPart.jsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf7f35a1610dcff6252995f39897ff04304055cebdeee8009cb567a0195e54f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): src/popup/sections/api-modes-provider-utils.mjs:17 \u00B7 src/utils/model-name-convert.mjs:3 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 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":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c9448bc613114128ccf698bf84df22637b971900268b622818c4a5ccc9d7f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/popup/sections/AdvancedPart.jsx:140 \u00B7 src/popup/sections/AdvancedPart.jsx:239 \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":"src/popup/sections/AdvancedPart.jsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5156f6cbe482553cc2249933dd43564867bd72956752dacfcdfd1fc6d95df5f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/content-script/index.jsx:298 \u00B7 src/content-script/index.jsx:417 \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":"src/content-script/index.jsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06198952faa2c7fb3746226aac114d7aa6666a67dbc520258407374630a2829"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): build.mjs:574 \u00B7 build.mjs:591 \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":"build.mjs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"344e488e5c77e2a3bb4064ba95258e5340a314f62f7b3a5592bf2e57dc3455f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/content-script/index.jsx:278 \u00B7 src/content-script/index.jsx:398 \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":"src/content-script/index.jsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9636d8ba5214b72ab02f0ab69140e101df6aaac0c38e605a9faf5bc0914ceb48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/popup/sections/GeneralPart.jsx:452 \u00B7 src/popup/sections/GeneralPart.jsx:819 \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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"785bafdd9269a7f8e8ebac580b96513b2675e825a8603140681dc4b922cccdcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/popup/sections/SelectionTools.jsx:98 \u00B7 src/popup/sections/SiteAdapters.jsx:24 \u2014 the 2 copies are spread across 2 files, 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":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbec2ac8e15d25cb66df283ac6b2dcc5e1873f70cdfbb01bf21a3e0ba48a47d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/services/apis/openai-compatible-core.mjs:176 \u00B7 src/services/apis/waylaidwanderer-api.mjs:70 \u2014 the 2 copies are spread across 2 files, 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":"src/services/apis/openai-compatible-core.mjs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"15735bb9bd18ac8d1e311188702484ca7a16bad1fa2422639b50745cad300598"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/ConfirmButton/index.jsx:10 \u00B7 src/components/DeleteButton/index.jsx:12 \u2014 the 2 copies are spread across 2 files, 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":"src/components/ConfirmButton/index.jsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"56757401affe2fa2b1a5b53e583f2c0d7da12b49c1b3fd4916c02e92efdbd976"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/popup/sections/AdvancedPart.jsx:28 \u00B7 src/popup/sections/AdvancedPart.jsx:42 \u00B7 src/popup/sections/AdvancedPart.jsx:77 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/AdvancedPart.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a8ede791dd10e18001a13d776763a045f717476451947d5068065499d71da5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/popup/sections/FeaturePages.jsx:74 \u00B7 src/popup/sections/GeneralPart.jsx:852 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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":"src/popup/sections/FeaturePages.jsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87438e1f2324ea13cd06cf16b0e016d7c2e0bf42de2c4f7e07f53efc943bd23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/popup/sections/provider-secret-utils.mjs:136 \u00B7 src/popup/sections/provider-secret-utils.mjs:173 \u2014 the two spans are one implementation copied and then locally edited \u2014 121 tokens are still identical, in the same order in both spans, 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64fbbcebfb73fe40ed2ad2e5a6d727fe884bac168170a63d80ce0c7a515c81a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/popup/sections/provider-secret-utils.mjs:211 \u00B7 src/popup/sections/provider-secret-utils.mjs:306 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 tokens are still identical, in the same order in both spans, 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a483aeb34c209b8291d1d0192cd219c479ec3f90c98ed127e49d247b39758e23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/content-script/index.jsx:723 \u00B7 src/content-script/index.jsx:807 \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":"src/content-script/index.jsx"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d9ab0608be998cd6712f4dc54c8bd9a0f01a28c5c3c93b44997919a0e2c9b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/popup/Popup.jsx:190 \u00B7 src/popup/sections/AdvancedPart.jsx:267 \u00B7 src/popup/sections/ModulesPart.jsx:22 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/Popup.jsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b64f44cc067a95e98bfcc6842f4fa1b53b28f6d697e50b6ebdca605dd07f8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/popup/sections/ApiModes.jsx:540 \u00B7 src/popup/sections/ApiModes.jsx:558 \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":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fa13f21ab857baaca77bb4b9886bdbaf0c258fd72a12a6c339d1d9a643c36a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/background/index.mjs:659 \u00B7 src/content-script/menu-tools/index.mjs:40 \u2014 the two spans are one implementation copied and then locally edited \u2014 98 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":"src/background/index.mjs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2409993ce2f400c7152348be08218f669154507bb4efab9668a5131f7b7d0b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/popup/sections/GeneralPart.jsx:581 \u00B7 src/popup/sections/GeneralPart.jsx:593 \u00B7 src/popup/sections/GeneralPart.jsx:605 \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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7efda36988ed395ab5de88773ebc3aa034a22f2a113b42c2c1f2995ee7874ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/popup/sections/GeneralPart.jsx:717 \u00B7 src/popup/sections/GeneralPart.jsx:729 \u00B7 src/popup/sections/GeneralPart.jsx:741 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"97efb7689c86214e86d886bf6eb21ac147a387d4e67666edd584fe589e0737d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/services/apis/claude-api.mjs:54 \u00B7 src/services/apis/moonshot-web.mjs:404 \u2014 the 2 copies are spread across 2 files, 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":"src/services/apis/claude-api.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44fe3486d2a5eb02ca0e2f00f7885ece6dc5d72bcc67e1c723bd2a88ce28d3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/popup/sections/GeneralPart.jsx:755 \u00B7 src/popup/sections/GeneralPart.jsx:766 \u00B7 src/popup/sections/GeneralPart.jsx:777 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"513edc47554220494c25fe3ca6510b98bed289da5e92e528280a63d7879f3219"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/services/apis/openai-api.mjs:147 \u00B7 src/services/apis/openai-api.mjs:159 \u00B7 src/services/apis/openai-api.mjs:171 \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":"src/services/apis/openai-api.mjs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40d80292afbda9ea72f760602bcf5f10451c291025195d3070b4fce7294bd61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/DecisionCard/index.jsx:79 \u00B7 src/components/DecisionCard/index.jsx:93 \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":"src/components/DecisionCard/index.jsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"397e6002ede2342d9fc08f61f2428deb29098c070e17f7cdf587853c438d43d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/config/index.mjs:1172 \u00B7 src/services/apis/provider-registry.mjs:340 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 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":"src/config/index.mjs"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"348d268b209b7bca23963ae09d1fb4e2ff7c32f03b7297bbfba7a172b72e7075"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/content-script/site-adapters/github/index.mjs:7 \u00B7 src/content-script/site-adapters/gitlab/index.mjs:5 \u2014 the 2 copies are spread across 2 files, 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":"src/content-script/site-adapters/github/index.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e1c519c8ca94a3aabadff29403d365bd12cb4a1dd1528a0c56df92cf11a135"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/popup/sections/api-modes-provider-utils.mjs:77 \u00B7 src/popup/sections/api-modes-provider-utils.mjs:89 \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":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"699a95045f410491067469a542f89a4b1b37303d0cc0bf94131c62d5298c8a28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/services/apis/claude-api.mjs:108 \u00B7 src/services/apis/moonshot-web.mjs:427 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 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":"src/services/apis/claude-api.mjs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e38a4556d6539ff2a1d29c56766729c6bcf98003579f5f9db88a53f30967b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): scripts/create-firefox-sources-zip.mjs:130 \u00B7 scripts/submit-stores.mjs:232 \u00B7 scripts/update-firefox-metadata.mjs:61 \u2014 the 3 copies are spread across 3 files, 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":"scripts/create-firefox-sources-zip.mjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fe5e99ba93ba7f1b9b09a6f4ab3877fed2f6223770db6408068465966e79c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/background/index.mjs:888 \u00B7 src/background/index.mjs:928 \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":"src/background/index.mjs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f57a182caa20f410b5792910b3e303f8182a20e93a80ba85af5188aa0c07df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/popup/Popup.jsx:177 \u00B7 src/popup/sections/AdvancedPart.jsx:263 \u00B7 src/popup/sections/ModulesPart.jsx:18 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/Popup.jsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2279bb4a8882464b0c490a580b55443c956fa8ffdb7230bf1313ed263f193a1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/services/apis/chatgpt-web.mjs:415 \u00B7 src/services/apis/moonshot-web.mjs:429 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 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":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"f820bf63255512739019821248d23caf3757a3a25f6325c2d41458966f67142e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/popup/sections/ApiModes.jsx:436 \u00B7 src/popup/sections/ApiModes.jsx:467 \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":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58c002a7503023f09de9303508f50679d5676f99817dcf3b4bb7707688eb162"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/services/apis/provider-registry.mjs:179 \u00B7 src/services/apis/provider-registry.mjs:196 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1629fa6d917949b9054feba976d0bd34b373f104b9a6ea5c87f5f234fd414d27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateUserConfig (cyclomatic 211, cognitive 317): migrateUserConfig has cyclomatic complexity 211 and cognitive complexity 317; 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":"src/config/index.mjs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4cfb1633375027932ae2153a34141ab77bae03c863c27283488355f30a196b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOpenAICompatibleRequest (cyclomatic 50, cognitive 87): resolveOpenAICompatibleRequest has cyclomatic complexity 50 and cognitive complexity 87; 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"998f447a23debae70f6daf751db348715c154c389e44f148fbb18768cb6a7b38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 60): (anonymous) has cyclomatic complexity 48 and cognitive complexity 60; 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":"src/background/index.mjs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f90344c750eed7bde1b3bb3ac26b0b3758fafc71e64301bba4b20e2adc94dcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GeneralPart (cyclomatic 43, cognitive 30): GeneralPart has cyclomatic complexity 43 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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c036b936eb0dcb4922d6a686bcf9907e4190c60e15b7de065bab202b0edb24a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUserConfig (cyclomatic 42, cognitive 81): getUserConfig has cyclomatic complexity 42 and cognitive complexity 81; 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":"src/config/index.mjs"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc27000b3194bb1973c3e38f0de3b3c52f6ea84326cb67ff6828c49cde1640c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationCard (cyclomatic 36, cognitive 33): ConversationCard has cyclomatic complexity 36 and cognitive complexity 33; 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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6953fefa8191888e230b7a84140634afe15f0567810795c2a45aeda7ff66c708"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSelectedModeProviderSecretOverrideUpdate (cyclomatic 36, cognitive 33): buildSelectedModeProviderSecretOverrideUpdate has cyclomatic complexity 36 and cognitive complexity 33; 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d5cce0cbfa341c919f569a602f426861282d63c73fb3ee9446bd538dd64ae6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeApi (cyclomatic 35, cognitive 90): executeApi has cyclomatic complexity 35 and cognitive complexity 90; 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":"src/background/index.mjs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b5d08b6e1f79848b2545bf79a4293cca57e1669cc0c55478a9fade8d2f8b26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getReferencedCustomProviderIdsFromSessions (cyclomatic 29, cognitive 61): getReferencedCustomProviderIdsFromSessions has cyclomatic complexity 29 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 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":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0de685dfaf77a9687cbb670b397ab860c512047fa1a02ebd3c8fa6338901e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveProviderIdFromLegacyModelName (cyclomatic 29, cognitive 25): resolveProviderIdFromLegacyModelName has cyclomatic complexity 29 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 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8e30d1f20ad370f8b0fc4ebf96040c8def652f72cc31b1188b3645b7ad1461"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mountComponent (cyclomatic 28, cognitive 33): mountComponent has cyclomatic complexity 28 and cognitive complexity 33; 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":"src/content-script/index.jsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ad3c1ef606c7e19934da8619a56dd9de6c01db20018f8c1ecb0e91b8f8dd59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateAnswersWithChatgptWebApi (cyclomatic 25, cognitive 37): generateAnswersWithChatgptWebApi has cyclomatic complexity 25 and cognitive complexity 37; 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":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4227638e73c89b7f91d14e2bce528370046f18bdc49180a2e713cab5e1df163e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runWebpack (cyclomatic 24, cognitive 24): runWebpack has cyclomatic complexity 24 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":"build.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93f47bd38eae055e44cc898811aef0afc2c4e29c0de17c0ccc969bd863fb0f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApiModes (cyclomatic 22, cognitive 18): ApiModes 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":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e05f31237b4fc88c92e006daa881a858fc9576bcfa6f3b66e3b039b2b6054a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getProviderSecret (cyclomatic 21, cognitive 27): getProviderSecret has cyclomatic complexity 21 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75550f86c9dab2748c800256455beb39eee697d4713f10d138db1b06574c511"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handlePortError (cyclomatic 21, cognitive 27): handlePortError has cyclomatic complexity 21 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":"src/services/wrappers.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e137b2ed80aefca56772a46fa1c72787f11e539fce7189f71e84ad9ae59a5c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareImportData (cyclomatic 20, cognitive 26): prepareImportData has cyclomatic complexity 20 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 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":"src/popup/sections/import-data-cleanup.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"134b8aa952fbaa080305965ef31577d7fa744914498fa16fd6d5fe543cdb0b56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _proxyOnDisconnect (cyclomatic 19, cognitive 37): _proxyOnDisconnect has cyclomatic complexity 19 and cognitive complexity 37; 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":"src/background/index.mjs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a977b8f08eadca11c9a719ec5edb4deb9fb363e4eceb59a754073d6f76e41d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isLegacyCompatibleSessionMatch (cyclomatic 19, cognitive 18): isLegacyCompatibleSessionMatch has cyclomatic complexity 19 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":"src/utils/model-name-convert.mjs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"112426f9bcbc6fe043e608c491a4eabb1c194b677c02450b3f4d5a4fce7972bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveUrlFromProvider (cyclomatic 18, cognitive 21): resolveUrlFromProvider has cyclomatic complexity 18 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03acd83663cd8c659f0359e5187786d18d005ebdd540919986b131c6aec015f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEventStreamLine (cyclomatic 18, cognitive 21): parseEventStreamLine has cyclomatic complexity 18 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":"src/utils/eventsource-parser.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"516d2ac012162bd89ea0010186608dba766513b4d3777c217a16cfa54d4e9479"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMessage (cyclomatic 18, cognitive 19): handleMessage has cyclomatic complexity 18 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":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79a32c02e51e2b8ff6666a6675b5d175c5324f587e6b062bf5da0b75f117816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactSensitiveFields (cyclomatic 17, cognitive 33): redactSensitiveFields has cyclomatic complexity 17 and cognitive complexity 33; 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":"src/background/redact.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5cc04cad2b8ace9c1659ee8533b7abb8cf19ff4fca4dc4cb5c6c51e5bfca5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function portMessageListener (cyclomatic 17, cognitive 26): portMessageListener has cyclomatic complexity 17 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 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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f366cf87d3b555aceeaa400f35a72c674c212947ca09734613549dec9ccacbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchSSE (cyclomatic 16, cognitive 31): fetchSSE has cyclomatic complexity 16 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":"src/utils/fetch-sse.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4b3639566ce04e2affe909dfbac252ff364cd8c57fae42f7c429d0a6797483"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postMessage (cyclomatic 16, cognitive 30): postMessage has cyclomatic complexity 16 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 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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb902c23428be426b4625d9fb2d25eecd9be9bf6c48ada6b283a09f2769cf30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 29): (anonymous) has cyclomatic complexity 15 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 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":"src/background/menus.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"56eda03856bc9c0366dc1ac5c099cdfd09c2716455b53185249a71817facad61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function feed (cyclomatic 15, cognitive 22): feed has cyclomatic complexity 15 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":"src/utils/eventsource-parser.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fd48defbce60ca648e8b166bad2b7f695196607ad2f1cda53b0cd8b4f6a189"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMessage (cyclomatic 15, cognitive 20): onMessage has cyclomatic complexity 15 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":"src/services/apis/claude-api.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bf4314b32363b3277d606ca1c71b8cef1cba20e24a507ea803ad2a81d99a09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasSelectedModeOwnProviderSecretOverride (cyclomatic 15, cognitive 12): hasSelectedModeOwnProviderSecretOverride has cyclomatic complexity 15 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d86ce417093efb65aabf3e98a4e3965a1e9a86dc44cf1fee1b56a09c2d6d794"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FloatingToolbar (cyclomatic 14, cognitive 28): FloatingToolbar has cyclomatic complexity 14 and cognitive complexity 28; 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":"src/components/FloatingToolbar/index.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7ea3cf81f5451133b39911eba1ea8825fdd9a74044eb0d8150c54c9b1c85f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function overwriteAccessToken (cyclomatic 14, cognitive 25): overwriteAccessToken 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":"src/content-script/index.jsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"678da0a41f3b9e31c635a7da2c0b88c6475dc65a1dfcef77632e960a31e528f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationItem (cyclomatic 14, cognitive 14): ConversationItem has cyclomatic complexity 14 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":"src/components/ConversationItem/index.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"83488edc35efddfe12005b31883f4cb0a3c6f3e708d30dd7ac585a133459b89b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ThinkComponent (cyclomatic 14, cognitive 13): ThinkComponent has cyclomatic complexity 14 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 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":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c558e074eac941cd6ffe87324a3bb94c12f71a471ef5f849ced2b613f89778"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ThinkComponent (cyclomatic 14, cognitive 13): ThinkComponent has cyclomatic complexity 14 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 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":"src/components/MarkdownRender/markdown.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"259a12cc7cac0142527533da9796686937c6c37644397c0371a91c383b40d3db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveExistingBuiltinSecrets (cyclomatic 14, cognitive 12): preserveExistingBuiltinSecrets has cyclomatic complexity 14 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":"src/popup/sections/import-data-cleanup.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa5b4e998e7158fd0407f14a52744396613072bd1a4c1f45826b273198864f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 30): (anonymous) has cyclomatic complexity 13 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 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":"src/background/commands.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c6e5c311f600ee02273d7b408e3882891d4e522885372a02893cca5d7dfe81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareForJumpBackNotification (cyclomatic 13, cognitive 26): prepareForJumpBackNotification has cyclomatic complexity 13 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 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":"src/content-script/index.jsx"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"479a743ca8d59a15357ab7f15bd53dc692cb860ae9834d9419d0fb01a2cd3e0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 25): (anonymous) has cyclomatic complexity 13 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":"src/background/index.mjs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f3404970346bad1aa056c07f2d291b94856b193589f3223ad2b9401979765e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _portOnDisconnect (cyclomatic 13, cognitive 21): _portOnDisconnect has cyclomatic complexity 13 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":"src/background/index.mjs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5aff831a2acab1d1e535f17e2e1f4054d3eef82c1831b83096800a777573de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commitProviderApiKeyDraft (cyclomatic 13, cognitive 15): commitProviderApiKeyDraft 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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f93f47200909484ba81b7ab439377220ccc1d3ddfb76fff91ab81955a3520a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMessage (cyclomatic 13, cognitive 14): onMessage 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":"src/services/wrappers.mjs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2855466b30df23600a38142e9202e62200a9f1bf39f733a86aa9ca8e20bd2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function signHs256Jwt (cyclomatic 13, cognitive 12): signHs256Jwt 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":"src/utils/hs256-jwt.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04760ab8d172b24a878a7ecfb8ad65e51abdeaf02c889faade0583419dfe6af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCustomProviderForStorage (cyclomatic 13, cognitive 9): normalizeCustomProviderForStorage has cyclomatic complexity 13 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":"src/config/index.mjs"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2231f079df1cd179d001d9bb26bf963cca40f6e3c8df0fdf3894bf1eb7f9f6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePosition (cyclomatic 12, cognitive 23): updatePosition has cyclomatic complexity 12 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":"src/components/DecisionCard/index.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb6a2ca8062aa4f505c6d45763f77bc52382106754d99326cc412a3ef7905d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setPortProxy (cyclomatic 12, cognitive 16): setPortProxy 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":"src/background/index.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"833ef278e9ded39b9d24620d8b16fe47d04b625122ed48f4845d7b86e1538b5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildProviderSecretUpdate (cyclomatic 12, cognitive 13): buildProviderSecretUpdate has cyclomatic complexity 12 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"89194662033a4a2d2865e6ba9f67e7f486ffae027aebb1270000be615d240cf6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCustomProvider (cyclomatic 12, cognitive 12): normalizeCustomProvider has cyclomatic complexity 12 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec13e251cec07e4fbbc58ac6d96ddcd0a6fe25b69eddae5f55abcf3251ae1b48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseChatCompletionsEndpointUrl (cyclomatic 12, cognitive 10): parseChatCompletionsEndpointUrl 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":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f227a3ead53efd81716f89f44754f0215812737a539f2d2afe97419f020014"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareForStaticCard (cyclomatic 11, cognitive 19): prepareForStaticCard has cyclomatic complexity 11 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":"src/content-script/index.jsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"121f870e6074515f27c72b3ebaea45bf5fb7228de836d35be74ba0c48dec499c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveStorageGet (cyclomatic 11, cognitive 18): resolveStorageGet has cyclomatic complexity 11 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":"tests/setup/browser-shim.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5495395f4ef202b0e2a6f44d8ffd029246b17b0e9278c638829f2341bd1eb19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isApiModeSelected (cyclomatic 11, cognitive 16): isApiModeSelected 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":"src/utils/model-name-convert.mjs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"058a5daca09b1e4c49ca8db8841be5832b378680598e967f17ff8d1d0c89fe46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSaveProviderEditing (cyclomatic 11, cognitive 14): onSaveProviderEditing has cyclomatic complexity 11 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":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"863ca09308921e578a3d0b092b9040045da91c63b59d2c3286f843be4623ed88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 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":"src/background/index.mjs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88cb98ef05c6c09ce8f48b1cc2a339e7d49c95dbdf32142aa613424568eb80f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2aadf3587c5ce5ff46ffb7c8e390549d1cc59844de6b9b70da067c21e9dee9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poll (cyclomatic 11, cognitive 12): poll 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":"src/content-script/index.jsx"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b221eebf2d42fd884dd96ca83d5fd67a2ea9059878fec5bd7b758105b6e3698"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateAnswersWithBingWebApi (cyclomatic 11, cognitive 12): generateAnswersWithBingWebApi 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":"src/services/apis/bing-web.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5fdc7d2cc07073dcd0b2d8778e5ba2e8897b8c042d65b37f674b6455f81f65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRecoveredCustomUrlApiKey (cyclomatic 11, cognitive 12): resolveRecoveredCustomUrlApiKey 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64769e94c44d72f3aa3de700fe41f4b6438f8cc830f93fe6fa1e292dacb6bd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCommit (cyclomatic 11, cognitive 11): runCommit 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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b579813f1d7979c74e41cba1e5740202bfb04ea7c565f7c27a8157bd571d5b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/config/index.mjs: 2173 lines of code: src/config/index.mjs has 2173 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":"src/config/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ff2aeb480d60a85fce5a1661ebd2963797127ae4c3d47393557935e6b2cd70"}},{"ruleId":"R3","level":"warning","message":{"text":"src/background/index.mjs: 1019 lines of code: src/background/index.mjs has 1019 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":"src/background/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52848651fbcf0826d008deca7fd5a70ac4542e8f392b00f6dde1705aea751ffa"}},{"ruleId":"R3","level":"warning","message":{"text":"src/content-script/index.jsx: 999 lines of code: src/content-script/index.jsx has 999 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":"src/content-script/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73854f26e8cc63801374a834530aed1a2bb304fbf5f0bab710e916aafb29b568"}},{"ruleId":"R3","level":"warning","message":{"text":"src/popup/sections/GeneralPart.jsx: 973 lines of code: src/popup/sections/GeneralPart.jsx has 973 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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e507d0e1e052832eb186dcd19802063169907333c0e7f174f45c37a54badb6bd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/services/apis/provider-registry.mjs: 860 lines of code: src/services/apis/provider-registry.mjs has 860 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":"src/services/apis/provider-registry.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41534b17b55f7de0846b38a056018603cbcf01a6fe452734e33bd4adbd7bade2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/ConversationCard/index.jsx: 841 lines of code: src/components/ConversationCard/index.jsx has 841 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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcce61e1fa62f2ff8d7780551af5c913ef3a20e48740c998c351380e4c6cefd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/popup/sections/ApiModes.jsx: 679 lines of code: src/popup/sections/ApiModes.jsx has 679 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":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac2077b62326b1c03352e8eab96799618fb7d12bc6ce969a1f8ca3dff9b1cc0"}},{"ruleId":"R3","level":"warning","message":{"text":"build.mjs: 667 lines of code: build.mjs has 667 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":"build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b0efe69a8d3cbaf168cc874f14619fcbec424d656d8f1519c6d2f22e3a0dd9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/services/apis/moonshot-web.mjs: 622 lines of code: src/services/apis/moonshot-web.mjs has 622 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":"src/services/apis/moonshot-web.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac84dfb905669b68badb5538a42bdff9c1459c8cf2508229ad7b72fd94f913c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/popup/sections/api-modes-provider-utils.mjs: 599 lines of code: src/popup/sections/api-modes-provider-utils.mjs has 599 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":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd001eb9bf8e2a4e7853075b372e7acb1881a4bb253f4c6993cf5f21fb4705a1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/services/apis/chatgpt-web.mjs: 465 lines of code: src/services/apis/chatgpt-web.mjs has 465 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":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c94e60479167fa2676532e3a68d29c775df554937d14c378e3df952764dc74"}},{"ruleId":"R3","level":"warning","message":{"text":"src/popup/sections/provider-secret-utils.mjs: 435 lines of code: src/popup/sections/provider-secret-utils.mjs has 435 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c96f22b15c3b4f3fa92de4a87504551f14d020d45465c9a214d092f9d223f47"}},{"ruleId":"R3","level":"warning","message":{"text":"src/utils/model-name-convert.mjs: 431 lines of code: src/utils/model-name-convert.mjs has 431 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":"src/utils/model-name-convert.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4209cddc3347619022b1a8f2e99d91f9ba7367837ee62e5bbe54303a70390cbe"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d6443a531aba2310802ddf809154a8cdba9a4485725af18471a68134dab9de"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"421667ff3c67327a01d0f6e6fe5128bed11bd37bffef5192b5085a8139e91c80"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f538f20b1462a7b1c435271221b0252df15d11c505e32d31dcb27ce4a6d1fb69"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"859803e126b2f4f905df76819111834aae9dd1fa677e13543446e45a7909e67c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/AdvancedPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9f6407f81a0add4f72e491b2b1ad70256ad6e05d53e33a2aa60ab4a217f8d1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/Popup.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"919893658b59aa18b4e1443da89a4b460763e3b5899b7f5ac00a9268674cccd3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b8f80a55bde71b2117cf0332c6653ddf8ddd7fa3c8a8e5164eb6a5cb61fea1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/App.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a368830d76cd5390aebf3b046d63e75b8ded73042e6f66bd56ad6d552aae811"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"970aff4ee6d452bd79e0341a360fc9afde4e5580e3c05f8d9f242fb2acaab563"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/menus.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecc3c56b249327c0707b970e417bc1db26c3fb2398bc672423b5b0e25f51c70"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/FeaturePages.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba33a38c501f0baac5ab300c4893c8d7b1ce86f9fc0bd013af1c3836b47ee28"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/waylaidwanderer-api.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7017b5f81b6e54b9a42fdd4f08b14c03feba5c046409a391c53651bf163ec86c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/claude-web.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1345fb517b885ac9e6586f27a9fbcd5ba210be6fb58b44d167891fdd3dc02878"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeedbackForChatGPTWeb/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12ae9c07d315053510e129140843d05f2a21efddb7cd70a987ef9ec4eb3e88b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConfirmButton/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a975aa0679199dc5e8b8d2ae6e1b3d0bb2a50ff850b1ea4df4db7c0574c7bc6e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SiteAdapters.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab1f0bf8c3ddd7f4c89a806abe905889c0068932aa63ddbd45fd4a15ee9903a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ModulesPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7659195ae895a346a7f2b44033b1122714f99ba72ffa2a7a46494781542cc3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cec12486647d350b314161d892035b66b70812c377f36a78209c2b04e82215f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8968f112c817b56014182392a4711f73f79b7286787f386432f9113e6bbe959a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/_locales/i18n.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e4cc54397afaeafcae68a5875938cfeacf04a52ac4d2803124399aa5bfebc3"}},{"ruleId":"R5","level":"warning","message":{"text":"Dependency Freshness: 49 outdated package(s); JS/npm CVEs scored in D30"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7de98450603a813bc7a991bc6e60f440c1deac6f9c9bfd4d0da057afed869bcf"}},{"ruleId":"R6","level":"warning","message":{"text":"No typecheck script: test \u2713 \u00B7 lint \u2713 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"912edc7f1fd20bf80ef68c3293e3048565115e48707dc5f9d492201598794658"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1009 LoC): no import path from any entry point (37 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/Popup.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdadcf4bd70c2d2c15dd7fe82510908605d33e0951b0ac09afd803855b837088"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~712 LoC): no import path from any entry point (37 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/sections/ModulesPart.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d552ca51b6ea74cbdf385ceb9d27b532df78c9cfe83a77cfac808ce8cd105cc7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~282 LoC): no import path from any entry point (37 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/Popup.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/AdvancedPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12964a2f67f7b70a75aa0ff7a543ec0293a8463b5430254c48d0647a8277cb9c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~212 LoC): no import path from any entry point (37 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/index.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/Popup.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c82e02aed1c15e710548626671163b5dc44969c0017dec45585b58d76cc98f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~207 LoC): no import path from any entry point (37 application, 1 tooling, 82 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec048951b4ae039f10046309ea9c15c5ea0ce6d05a24ce876f8989c8d136b899"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~189 LoC): no import path from any entry point (37 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/pages/IndependentPanel/index.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/App.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"764d0af187c796466ab625baf33dd2d683c0102d098cd55151da2a189344530d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~181 LoC): no import path from any entry point (37 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/sections/ModulesPart.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0f45f763f1c494cfdd83e2adf873460337d24dfe080e79939414bfbf405549"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~95 LoC): no import path from any entry point (37 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/Popup.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/FeaturePages.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6831fd97f28a6b7cb74be893d220b4980117cc2a078fc409e57e894e22953a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~43 LoC): no import path from any entry point (37 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/sections/ModulesPart.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SiteAdapters.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3ff3ddbf9b7ecde95a82257160e7be0458e237dbc423794b6c0838628845cd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~37 LoC): no import path from any entry point (37 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/Popup.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ModulesPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"771a93139be4999bbb3fe0f757e6e6a482ff92018f3b9a5f57d2ee56fa2e696c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~35 LoC): no import path from any entry point (37 application, 1 tooling, 82 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2d25eb53aa6672ca9d2d01130c7ead376eaca33a29f21d4ef5a658dc6fcd54"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (37 application, 1 tooling, 82 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7a324df50a5d454d22c87770b4e7ec1d2e875cbc98e45cbc6975c37ed3d010"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in src/components/index.mjs, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in src/components/index.mjs in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeedbackForChatGPTWeb/index.jsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b90719c8d4236a4451efdf8cd0c2fd47cc738f40ca52879d0b22715da71d0f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CustomUrlGroups\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"219684a9f135cc24e9bdf0d172d96f47ab07e8e3c456176b58317ceec86e0cbb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CustomApiKeyGroups\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b1905808fbce99985bfb54c55a8a3847bed078276663aa475dd4cda219952b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getUserLanguage\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/language.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"397aba8f64a8bb369e19e4de6b09bef2792f4ea94c6ff161c0e4347d228abc6c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getUserLanguageNative\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/language.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fddda6b63fbaa4597467a5fecbf4100c94b33368dd38e3b406eab22fa8736ab"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPreferredLanguageNative\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/language.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d908e105de57035e0b482f7ce3e8a99207bba205d3c6f1b41cf80517dca1ea69"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027sendModerations\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8351c3ccedb7d70446d2d243a80e06b05e37dc04d0ee88cb250474a2ac6cf581"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Message\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/moonshot-web.mjs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fc345019c9cb4742b99657c5352b9378eb3c4b44fbe9b4fc8d2275a8ab21ca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getChatSystemPromptBase\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/shared.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d850e2244efb21a4b551ceab3446c4076bf699c0993c8c59b91b2ccc78a185c3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getCustomApiPromptBase\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/shared.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f2921f369264cea9932e5e6b7701edb62551741ec0a0497b679973c9bc366a"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027remark-parse\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/utils/error-text.test.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e771abae2e5d8354c8882bdb3462d4964bfc394535beb161384b244bf7299ac9"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027unified\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/utils/error-text.test.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dc18ece8d1b9159825cd31ca5c0c9677a82b5be1e838747752857be324af32"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027github-markdown-css\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"63ca5ad84bbeaa6e8675fb9cfbd910f682585d22f3be5571bd6262eef0b5f922"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027gpt-3-encoder\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd9343f7bfef24d844ce8963925fef487db9609e18dac0f050ad756542a8d63c"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027katex\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b1e5b01d987f1734e9ad4bccfeedf52858867e5c55a5260274972887b0fa24b4"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027publish-browser-extension\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ab5820283945bfa3aa19022be41a42b7b9983459f5b6f2bab353100d1eee3d73"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027stream-browserify\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f1948edc0d5457593169ce0be0ab57dacd984c228a030aa29d881e6859cc8bf3"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): src/components/ConversationCard/index.jsx \u2192 src/components/FloatingToolbar/index.jsx \u2192 src/components/ConversationCard/index.jsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"21459ae22c232bec6e43cfebbf7dcf198c09a44442ef514ba3d51d7ad6cc7e0b"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): src/config/index.mjs \u2192 src/utils/model-name-convert.mjs \u2192 src/config/index.mjs"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"77da54a919fa80b6b9f46dec27940d2c8e31fc74d5b3a0b49a2bcfea5638007e"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): src/content-script/site-adapters/baidu/index.mjs \u2192 src/content-script/site-adapters/index.mjs \u2192 src/content-script/site-adapters/baidu/index.mjs (one verified cycle inside a mutually-dependent group of 7 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/site-adapters/baidu/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bf509f9c2a58b03a868f53eab99b20447e2460a075c71b64633ceececdcc61"}},{"ruleId":"X1","level":"warning","message":{"text":"\u0060async\u0060 callback passed to \u0060useEffect\u0060: The callback passed to \u0060useEffect\u0060 is \u0060async\u0060, so it returns a Promise \u2014 and React reads an effect\u0027s return value as its CLEANUP function. A Promise is not a function: React warns, no cleanup ever runs (a subscription, listener or timer started here is never released), nothing stops a response that arrives after the component unmounted or after the dependencies changed from setting state with stale data, and a rejection inside it is never handled. Keep the effect itself synchronous and start the async work from inside it, with a flag the cleanup sets: \u0060useEffect(() =\u003E { let cancelled = false; (async () =\u003E { const data = await load(); if (!cancelled) setState(data); })().catch(handleError); return () =\u003E { cancelled = true; }; }, [deps])\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50ac19e6cf553efe0b7a2250c98ea5f3a86ccdda4f60f9122149787a15f84cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!children || (Array.isArray(children) \u0026\u0026 (children.length === 0 || (children.length === 1 \u0026\u0026 typeof children[0] === \u0027string\u0027 \u0026\u0026 children[0].\u2026\u0060 appears character-identically in 2 files \u2014 src/components/MarkdownRender/markdown-without-katex.jsx, src/components/MarkdownRender/markdown.jsx. 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":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6966fcdb0e8e26d96a64b22dd85f206d7fc2680612a0539c9312befffb86dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!config.alwaysCreateNewConversationWindow \u0026\u0026 tabs.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/background/index.mjs, src/content-script/menu-tools/index.mjs. 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":"src/background/index.mjs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cdcd0de0399920e41a96a90fc1c50b7bc192c165e3f969c9ac30a2198f5ef5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!normalizedFirstProviderId || !normalizedSecondProviderId\u0060 appears character-identically in 2 files \u2014 src/popup/sections/api-modes-provider-utils.mjs, src/utils/model-name-convert.mjs. 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":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e77b368793f5bcc42768c542972cd2b818c6be4b369550037011ce7979ee50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!provider || typeof provider !== \u0027object\u0027\u0060 appears character-identically in 3 files \u2014 src/config/index.mjs, src/popup/sections/api-modes-provider-utils.mjs, src/services/apis/provider-registry.mjs. 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":"src/config/index.mjs"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcf1ed7bb8f8d31056c7ffdc8c5193c65770913c06398c4b521d1e52a989ffe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!sessionApiMode || typeof sessionApiMode !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 src/popup/sections/provider-secret-utils.mjs, src/services/apis/provider-registry.mjs. 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":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0053701d7f440b29b1f9841458b57e32cf0231b8d4a9e97c6c4bfab153b98fd8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Browser.cookies \u0026\u0026 Browser.cookies.getAll\u0060 appears character-identically in 2 files \u2014 src/services/apis/chatgpt-web.mjs, src/services/wrappers.mjs. 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":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9444096a2bc52f8dbae0661159d334dba3feb56a3815ee20d29d6e8f4d74a7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.apiMode \u0026\u0026 typeof config.apiMode === \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 src/popup/sections/GeneralPart.jsx, src/popup/sections/provider-secret-utils.mjs. 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":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"503c0c252d5530d082ae78c37e205a0b0b52bc22c6ce627805e463e1607939af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060directChatCompletionsUrl \u0026\u0026 directChatCompletionsUrl === customUrl\u0060 appears character-identically in 2 files \u2014 src/popup/sections/api-modes-provider-utils.mjs, src/services/apis/provider-registry.mjs. 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":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecebd5cddedc35100c999e9ebac09d151314fbe16679e3e8e01358c982e9a86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060id instanceof Conversation || id.conversationId\u0060 appears character-identically in 2 files \u2014 src/services/apis/moonshot-web.mjs, src/services/clients/claude/index.mjs. 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":"src/services/apis/moonshot-web.mjs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3864521b637c6ab248a5f8000c90df83a9aa3db2034096ff6cc684ce607da4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060persistedConfig \u0026\u0026 typeof persistedConfig === \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 src/popup/popup-config-utils.mjs, src/popup/sections/general-provider-override-utils.mjs. 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":"src/popup/popup-config-utils.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cc6ae356bc3ff2515550b5b4a0e5d964fea759833d2fb9da85090e11dddd6e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.argv[1] \u0026\u0026 path.resolve(process.argv[1]) === currentFile\u0060 appears character-identically in 4 files \u2014 scripts/check-edge-api-key-expiry.mjs, scripts/create-firefox-sources-zip.mjs, scripts/submit-stores.mjs, scripts/update-firefox-metadata.mjs. 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":"scripts/check-edge-api-key-expiry.mjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afc7ca350bd1203710617ff0e9930fb253abc2bf04c6a569689f81c3eb53524"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result \u0026\u0026 typeof result.catch === \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 src/background/commands.mjs, src/background/menus.mjs. 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":"src/background/commands.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e906760701cf9a4cf65ec258fe9baec95bf25ec156b930da77e5acce765cd75d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027string\u0027 || value.trim().length === 0\u0060 appears character-identically in 2 files \u2014 scripts/submit-stores.mjs, scripts/update-firefox-metadata.mjs. 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":"scripts/submit-stores.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7416dc66c10240ec6f2d069b3698726612b3e71a2991c7a1c3a1495291f9890"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 3/12 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) 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":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchSSE: \u0060fetchSSE\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":"src/utils/fetch-sse.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1826253ce916fb0f23ed6eceb6f219f006b681f0fb77ae2c1284853e99bafcea"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getChatGptAccessToken: \u0060getChatGptAccessToken\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":"src/services/wrappers.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"36516d8fd599469f92abb3c2b7eea71b75d1ff9c5ba92fd9414ff0c3cb6385f7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: request: \u0060request\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":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"de97a6e656256857043045acb8d5cbee659ea9ac8ed82ee2204e5eeeb064472c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getArkoseToken: \u0060getArkoseToken\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":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"86943bc2f665080f9d6b072a8c28496c5524d339ab5c68c2785fc82ec2762750"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: overwriteAccessToken: \u0060overwriteAccessToken\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":"src/content-script/index.jsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fb1abd16187fe94656838cd525ca53cd580080c348347b790237ae63b41a98"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: inputQuery: \u0060inputQuery\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":"src/content-script/site-adapters/youtube/index.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e24a9cc750ca6ecf39eea711e5613efdbad20f1e9ba9c9083a9e50b90b9c10"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getPatchUrl: \u0060getPatchUrl\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":"src/content-script/site-adapters/gitlab/index.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"999b2ec3d609bc9c32797add68ee8b1fc545b607f01976f2929d8fbde692d534"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getPatchUrl: \u0060getPatchUrl\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":"src/content-script/site-adapters/github/index.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe573fd1bc1e3efe59a7c7054129eaed608b1f109065cd3c4355f47f61f89ba"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: inputQuery: \u0060inputQuery\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":"src/content-script/site-adapters/bilibili/index.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c288a51f88af6a4f29fa5e3332fb2c6214f26a65fe0d622a7f6dbd58bd61667d"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: This condition tests \u0060conversationItemData\u0060 for emptiness and then indexes it on a branch that test does not reach. \u0060conversationItemData[conversationItemData.length - 1].done\u0060 is evaluated whenever the guarded half is false \u2014 which includes the case the guard exists to anticipate, \u0060conversationItemData\u0060 being empty \u2014 so an empty \u0060conversationItemData\u0060 indexes position conversationItemData.length - 1 of nothing and throws. This same condition already shows the intended bracketing at line 487: \u0060conversationItemData[conversationItemData.length - 2].content\u0060 sits INSIDE the guard. Either the guard is load-bearing, in which case this access escapes it and crashes, or \u0060conversationItemData\u0060 cannot be empty here, in which case the guard beside it is dead code \u2014 the condition is wrong under both readings. Move the parenthesis so the emptiness test brackets every access to \u0060conversationItemData\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"403e97b6cd798ca8b30d1736f98027913b2700efb847cd08b56b8366124930ba"}},{"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":"build.mjs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"403daed4a785cddb36454fbbf0a5f22a953e7a1ba65ab9f281e7f8631aff7cac"}},{"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":"src/utils/change-children-font-size.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b891aaeb51e999e5034e6567f4085c954b7d4dc6d26185536d196c924f4ac80"}},{"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":"src/utils/error-text.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eca3f45d5585edfd232f7f1eaed746ae19306085a681f3eedfdb79037cac816"}},{"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":"src/utils/get-possible-element-by-query-selector.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a607c7ebf233fe5b01780c5b5d47e6f3f2da827219af1783dae80fc825a126e8"}},{"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":"src/services/apis/openai-api.mjs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d365fb67a80ea72fdde8e82cdeb2ce33f6cd887d1e7847c4117c215b10f1ba4"}},{"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":"src/services/apis/shared.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6d6b3c2dadb7adbacfdf799f16229a728911ceabdf9257f8540f3073ac9fbe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/popup-config-utils.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc871ae3fbda95299da5d26ce7a852a45f07c4b858f4add25f3ea8ec4fe01d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adf364abf06f0383131042d92aa130bef4c9e1f473c4472e3caea3f46ce08c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07c973506d70e7d428bc8e5d0953795761b0f671fc27c831623de8bbfa9339e"}},{"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":"src/pages/IndependentPanel/App.jsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6a7c525cb7c7f6c30f7ad982a458d80bcc4c15faab5124aa72573114d8ee74"}},{"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":"src/content-script/site-adapters/youtube/index.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a86359a478a2401dd5e5399d387be486ae3a1b298bf4e4927744506e3602f59"}},{"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":"src/content-script/site-adapters/github/index.mjs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d5b12b592dc3938cac5a04636bb53e2041bc8313455fa87c021a62320350a6"}},{"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":"src/content-script/site-adapters/bilibili/index.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8998cb0a1b55ccc91290c0ed2f33a6fa55fd910849aaa6155b3bb3e103a04b3b"}},{"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":"src/content-script/site-adapters/baidu/index.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdcf62cb006e5d8b41071f8317738f18e3c658bd9276554b62d75741797ace5"}},{"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":"src/config/index.mjs"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de91d2ba726ddb5c4658f70aa81b3470637e8967b290d3503af96d4110b9f99"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2550d8cdc9107c355cc63c8358b7a479890429fe0fdefe6715230e724eccf89f"}},{"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":"src/config/index.mjs"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f84874b3391978108c512fb21783e5548e8d2c3d86901a67385cfb1198a6f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":2188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a930971f1a211983b4260b4af39a65399eaec71f4df4ddddfa2e483ea8d59b0"}},{"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":"src/config/index.mjs"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"83000a014a5bf509387eadd5cbd4d7d0d710b862103e062eb2e472d0d1795b3c"}},{"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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a7e993829bc88acb60cb6856a8e814e1e475b839c9acd1ba449a7306bca381"}},{"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":"src/components/ConversationCard/index.jsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a5862b1c18089e740f082186d9f9e0646caac98c523d6d396aa0d08cae97be"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readResponseText\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. 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 handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/submit-stores.mjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90acebea44930597a451111d7c616c5e4f8af4588dcc4a7de11763c86038d56"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getOpenRouterAttributionHeaders\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. 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 handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/openai-api.mjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2555951480802daf4a63cc63aab402d161ecd9c88e977b3d9c25df5f2636106e"}}],"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-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-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-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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":"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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":11,"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."]}]}