{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"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":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02: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":"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"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":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"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":"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":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"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":"App.App (cyclomatic 392): App.App has cyclomatic complexity 392 (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: 8 other methods here (App.App::saveAsTemplate, App.App::useToolItem, App.App::runExport, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 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":"apps/web/src/App.tsx"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f90300b9551f9ff2534f09337c5c60a962e753b178d4e358f37ad57db8c92cd"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.pointerDown (cyclomatic 249): MarkupTools.pointerDown has cyclomatic complexity 249 (threshold 15). Of this number, 245 points are the body\u0027s own statements and 4 belong to 4 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1115ac6b6270f9d554642f82c35d38ceaf0c575381429dfafc633f345e7b00f"}},{"ruleId":"D1","level":"warning","message":{"text":"GeospatialPanel.GeospatialPanel (cyclomatic 151): GeospatialPanel.GeospatialPanel has cyclomatic complexity 151 (threshold 15). Of this number, 68 points are the body\u0027s own statements and 83 belong to 26 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":"apps/web/src/components/GeospatialPanel.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9647d7cb28c80c0e04acf3b96bfab05a4aac416fe5698ac04262ae25bc7c1b"}},{"ruleId":"D1","level":"warning","message":{"text":"appCommands.buildCommands (cyclomatic 142): appCommands.buildCommands has cyclomatic complexity 142 (threshold 15). Of this number, 124 points are the body\u0027s own statements and 18 belong to 11 function items inside it that branch. 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":"apps/web/src/commands/appCommands.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0d5d6c93c288ee2dc7b717058a1f3d2c4d4cd984d3e8f4d43f31245ad2ba76"}},{"ruleId":"D1","level":"warning","message":{"text":"import.fromRaw (cyclomatic 139): import.fromRaw has cyclomatic complexity 139 (threshold 15). Of this number, 122 points are the body\u0027s own statements and 17 belong to 9 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":"packages/markup/src/import.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54842a58d68d1dfc10d5fa935600d0ca0d75e65fc5af3cc0f28b9457ab48c93"}},{"ruleId":"D1","level":"warning","message":{"text":"export.exportWithAnnotations (cyclomatic 129): export.exportWithAnnotations has cyclomatic complexity 129 (threshold 15). Of this number, 100 points are the body\u0027s own statements and 29 belong to 10 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":"packages/markup/src/export.ts"},"region":{"startLine":2064}}}],"partialFingerprints":{"codehealthFindingId/v1":"873ae855deed85ab053dc6edd64f67e62c75e3d4ae15d3efe9fcec1b40c4f1f7"}},{"ruleId":"D1","level":"warning","message":{"text":"export.annotationDict (cyclomatic 125): export.annotationDict has cyclomatic complexity 125 (threshold 15). Of this number, 122 points are the body\u0027s own statements and 3 belong to 3 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":"packages/markup/src/export.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeefe74f845a0f0cdd8855345dc711a949ddd374710804b044b8f4480f21ec35"}},{"ruleId":"D1","level":"warning","message":{"text":"AssembliesDialog.AssembliesDialog (cyclomatic 115): AssembliesDialog.AssembliesDialog has cyclomatic complexity 115 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 87 belong to 36 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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"747aab82818df99f5a7da648332d32dc9e9af4d1e6ffa8f6d7bd1b507110f96e"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.draw (cyclomatic 111): MarkupTools.draw has cyclomatic complexity 111 (threshold 15). Of this number, 109 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7a2a2b3f1e8cad27606346ba22c7810a1d3a1a7ced8709266436aab6f62921"}},{"ruleId":"D1","level":"warning","message":{"text":"PreferencesDialog.PreferencesDialog (cyclomatic 107): PreferencesDialog.PreferencesDialog has cyclomatic complexity 107 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 75 belong to 29 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":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef7e78732fe69f24d7bbee7e7d7ec274a9a2fb1f652932a2a9099cd7e2b3616"}},{"ruleId":"D1","level":"warning","message":{"text":"ExportDialog.MarkupSummaryDialog (cyclomatic 105): ExportDialog.MarkupSummaryDialog has cyclomatic complexity 105 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 77 belong to 39 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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2484d72e9b6d1c636251d416e8d5354d418adef5892bea4868f616185dc76337"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionsPanel.InSession (cyclomatic 104): SessionsPanel.InSession has cyclomatic complexity 104 (threshold 15). Of this number, 70 points are the body\u0027s own statements and 34 belong to 15 function literals inside it that branch. 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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a230877d845d6a825a307a16e9026b23dc4587653c55d8dce9e1cfa0e1d53f"}},{"ruleId":"D1","level":"warning","message":{"text":"export.appearance (cyclomatic 103): export.appearance has cyclomatic complexity 103 (threshold 15). Of this number, 96 points are the body\u0027s own statements and 7 belong to 5 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":"packages/markup/src/export.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a56a903a3ee0df6f1bef7ae160ce3a312b4e91f4c081455a29479bd339863c9"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App::sidePanel (cyclomatic 100): App.App::sidePanel has cyclomatic complexity 100 (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: 8 other methods here (App.App, App.App::saveAsTemplate, App.App::useToolItem, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 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":"apps/web/src/App.tsx"},"region":{"startLine":9022}}}],"partialFingerprints":{"codehealthFindingId/v1":"668db92a9c50f428a2a0649dab90fe86405897d6a4c9ee9d7e3f55ec3118f8d3"}},{"ruleId":"D1","level":"warning","message":{"text":"main.start (cyclomatic 98): main.start has cyclomatic complexity 98 (threshold 15). Most of this is not in the body itself: 10 of the 98 points are its own statements and the rest belongs to 29 function items inside it that branch (a function literal at line 349, a function literal at line 148, a function literal at line 140, \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":"apps/desktop/src/main.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9480857a85193a928417ca6403abedeb6b96a672f7a3c0c2eda3b0d27640725"}},{"ruleId":"D1","level":"warning","message":{"text":"objects.entityData (cyclomatic 98): objects.entityData has cyclomatic complexity 98 (threshold 15). Of this number, 97 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14b95387fbefb255b5ff77c5af94bb289ff82973922141a78727613fcb37bc5"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.pointerUp (cyclomatic 95): MarkupTools.pointerUp has cyclomatic complexity 95 (threshold 15). Of this number, 85 points are the body\u0027s own statements and 10 belong to 3 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3568}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af0d448c7bf75f75a0b6dbc11e76cfead7630b30ca08485a9b0c69eb0baf810"}},{"ruleId":"D1","level":"warning","message":{"text":"StandardsWizard.StandardsWizard (cyclomatic 92): StandardsWizard.StandardsWizard has cyclomatic complexity 92 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 37 belong to 15 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":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5cc5a7449a8a36a55c834d055eee107bc30aecb412c52768c713f7c36eb1c1"}},{"ruleId":"D1","level":"warning","message":{"text":"geometry.baseShape (cyclomatic 91): geometry.baseShape has cyclomatic complexity 91 (threshold 15). Of this number, 84 points are the body\u0027s own statements and 7 belong to 2 function literals 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":"packages/markup/src/geometry.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea0cd1ca61c1aa5a1981e392f6800406a13852bdd7be39959d299469c29578d"}},{"ruleId":"D1","level":"warning","message":{"text":"ltv.oneValidationUpdate (cyclomatic 90): ltv.oneValidationUpdate has cyclomatic complexity 90 (threshold 15). Of this number, 88 points are the body\u0027s own statements and 2 belong to 2 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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"52756dbdf71887f77ca28f17309fd2aa4077a63c960c38bb95763083f0d263dd"}},{"ruleId":"D1","level":"warning","message":{"text":"PageNav.PageNav (cyclomatic 90): PageNav.PageNav has cyclomatic complexity 90 (threshold 15). Of this number, 63 points are the body\u0027s own statements and 27 belong to 13 function items inside it that branch. 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":"apps/web/src/components/PageNav.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7029c79faf8fa7c27c7c792ea26daf2fa0094affbea88d387b646de949b3cb"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolBar.StyleControls (cyclomatic 89): ToolBar.StyleControls has cyclomatic complexity 89 (threshold 15). Of this number, 81 points are the body\u0027s own statements and 8 belong to 6 function items inside it that branch. 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":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"53651c873d36dc760095c5b409c3c7e3bea5230f5a6449e3a4bfe7c699ea6692"}},{"ruleId":"D1","level":"warning","message":{"text":"ColumnsDialog.ColumnsDialog (cyclomatic 88): ColumnsDialog.ColumnsDialog has cyclomatic complexity 88 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 45 belong to 24 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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb57886a56e912dfdd1426b4b8c369e51b19127f14b3801e14a4857dcea76e6a"}},{"ruleId":"D1","level":"warning","message":{"text":"MeasurementsPanel.PageScale (cyclomatic 88): MeasurementsPanel.PageScale has cyclomatic complexity 88 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 61 belong to 14 function items inside it that branch. 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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"50046f14bc8282eb490096a824db634c2481008bdec7854e56d851ebf0619547"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App::markupMenu (cyclomatic 87): App.App::markupMenu has cyclomatic complexity 87 (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. This shape REPEATS in the file: 8 other methods here (App.App, App.App::saveAsTemplate, App.App::useToolItem, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 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":"apps/web/src/App.tsx"},"region":{"startLine":6885}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce7b6089477bdf49284ba365f3779dc217f1d7b4422f27a6be1ec5488cf5464"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.pointerMove (cyclomatic 86): MarkupTools.pointerMove has cyclomatic complexity 86 (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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5170580ef012c1a7a2f21ba007adb35632a064065cce90e360bc032c053a6987"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.hover (cyclomatic 84): MarkupTools.hover has cyclomatic complexity 84 (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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20bbe309342c1c9bb2d24b612947ac8533e76567e0a306c72938817ef20aaef"}},{"ruleId":"D1","level":"warning","message":{"text":"import.importAnnotations (cyclomatic 83): import.importAnnotations has cyclomatic complexity 83 (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 (import.importAnnotations::finish) 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":"packages/markup/src/import.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1bd721b326cd3bde6b872f1f7aeba9a6a0b3a08d0aea7d329fc38dd5b20a16"}},{"ruleId":"D1","level":"warning","message":{"text":"SetsPanel.SetsPanel (cyclomatic 82): SetsPanel.SetsPanel has cyclomatic complexity 82 (threshold 15). Most of this is not in the body itself: 7 of the 82 points are its own statements and the rest belongs to 27 function items inside it that branch (a function literal at line 298, a function literal at line 192, sheetRow, \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":"apps/web/src/components/SetsPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad3b1c19c55de7df26fd66c8cd12016c4efe269dd9c7ee79d14b54cf96210c6"}},{"ruleId":"D1","level":"warning","message":{"text":"ChainageStep.ChainageStep (cyclomatic 79): ChainageStep.ChainageStep has cyclomatic complexity 79 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 36 belong to 14 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":"apps/web/src/components/standardsWizard/ChainageStep.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba449062ec7077044ca1cfb6dda48ea112df8332b332014ca912e1a64f2b1ee2"}},{"ruleId":"D1","level":"warning","message":{"text":"cadTools.cadClick (cyclomatic 78): cadTools.cadClick has cyclomatic complexity 78 (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":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"426495a3207b4686e4b713d68842fe44866c39f55386c6f4a93d70bb4b4b82e1"}},{"ruleId":"D1","level":"warning","message":{"text":"toolchest.parseBtx (cyclomatic 76): toolchest.parseBtx has cyclomatic complexity 76 (threshold 15). Of this number, 75 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d04b57fad3e50c2ef7df82d1817b579a91220d5362398c6b0e4f66db14bd8e"}},{"ruleId":"D1","level":"warning","message":{"text":"sets.setSheets (cyclomatic 75): sets.setSheets has cyclomatic complexity 75 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 40 belong to 8 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":"apps/web/src/storage/sets.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b564a731901ff9d1ca815d21f883cb226dcfde917fc98619f2f52c9d06f9c030"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchDialog.BatchDialog (cyclomatic 74): BatchDialog.BatchDialog has cyclomatic complexity 74 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 29 belong to 8 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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bea35f3b436a92f559868b05e32fb2096eec68215173867a0bd972d0342a419"}},{"ruleId":"D1","level":"warning","message":{"text":"render.multileader (cyclomatic 74): render.multileader has cyclomatic complexity 74 (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":"apps/web/src/cad/render.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9430268b6f9a180445c6b4addac2c6a7cc569ab4d1975a1babf4ad66b1035b6"}},{"ruleId":"D1","level":"warning","message":{"text":"LayersPanel.LayersPanel (cyclomatic 70): LayersPanel.LayersPanel has cyclomatic complexity 70 (threshold 15). Most of this is not in the body itself: 9 of the 70 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 680, dial, a function literal at line 243, \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":"apps/web/src/components/LayersPanel.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c189e51cb1bd7304afe58797b2a64906684cf646575b19b610be8aafc235a6d"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolChest.ToolChestPanel (cyclomatic 68): ToolChest.ToolChestPanel has cyclomatic complexity 68 (threshold 15). Most of this is not in the body itself: 11 of the 68 points are its own statements and the rest belongs to 23 function items inside it that branch (a function literal at line 449, a function literal at line 491, a function literal at line 226, \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":"apps/web/src/components/ToolChest.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c88bcfe1d4abb20ff1abfb3764ab2acc1ffedb9d99adee6f3fb1ad5abfc801"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.redact (cyclomatic 68): worker.redact has cyclomatic complexity 68 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 12 belong to 5 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eaaffd8ecc273e3683791a13f11f0af147740d1c79c20d0057666b3458499a"}},{"ruleId":"D1","level":"warning","message":{"text":"CalloutStep.CalloutStep (cyclomatic 66): CalloutStep.CalloutStep has cyclomatic complexity 66 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 21 belong to 10 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":"apps/web/src/components/standardsWizard/CalloutStep.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccf1119f7efeea5ddfe19ed7c995b923418ece3178de6a9299391d2da6de56b"}},{"ruleId":"D1","level":"warning","message":{"text":"FormsPanel.Properties (cyclomatic 63): FormsPanel.Properties has cyclomatic complexity 63 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 26 belong to 17 function literals inside it that branch. 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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"026eeca58c7f950e8c2e5b3696d7c274ee230b25d4f186a6e118ed415baf895e"}},{"ruleId":"D1","level":"warning","message":{"text":"render.drawMarkup (cyclomatic 63): render.drawMarkup has cyclomatic complexity 63 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 3 belong to 2 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":"packages/markup/src/render.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"70813ed72bcad15166efbd0ee9173d4973ea428d5bf88e1dd88bd78760753511"}},{"ruleId":"D1","level":"warning","message":{"text":"fieldDetect.detectFields (cyclomatic 62): fieldDetect.detectFields has cyclomatic complexity 62 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 27 belong to 9 function items inside it that branch. 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":"apps/web/src/documents/fieldDetect.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13ea4004e60a314ff19af59847d399110747ba65cb793bdb0ef44c87bad8c2b"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectsPanel.FileActions (cyclomatic 61): ProjectsPanel.FileActions has cyclomatic complexity 61 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 17 belong to 9 function items inside it that branch. 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"347a97a3bc51c69d7f398f9429d712ce0a14d4b7da57ab1cbdbb4f7fae1da498"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectsPanel.ProjectView (cyclomatic 60): ProjectsPanel.ProjectView has cyclomatic complexity 60 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 25 belong to 16 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dac1aca5c44ee1b069d4d5a2bc45ef286fb12082685d1d84f671bf416c77b4"}},{"ruleId":"D1","level":"warning","message":{"text":"dxf.readDxf (cyclomatic 59): dxf.readDxf has cyclomatic complexity 59 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 7 belong to 3 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":"apps/web/src/cad/dxf.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f111d1f27b00afcd6a1378bebe69aa834b8de0f8d3f5c2e5113d6fb5c4f6552c"}},{"ruleId":"D1","level":"warning","message":{"text":"pdfa.archiveAsPdfA (cyclomatic 59): pdfa.archiveAsPdfA has cyclomatic complexity 59 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 7 belong to one function item 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":"apps/web/src/documents/pdfa.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"176d4447a64485db53586123ad87fae17bde09c3f267c82fbc08395bfb19ac9d"}},{"ruleId":"D1","level":"warning","message":{"text":"toolchest.toolType (cyclomatic 59): toolchest.toolType has cyclomatic complexity 59 (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":"packages/markup/src/toolchest.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fa51629963487d719e744697e4b881d2c9296d93fda3744d4943d7f71563a2"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.commitDraft (cyclomatic 58): MarkupTools.commitDraft has cyclomatic complexity 58 (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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4370}}}],"partialFingerprints":{"codehealthFindingId/v1":"185729c9d08554c01aff3b4f800db6e63ab9bc5b0c36a3a5cea6ee17d06c005f"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertiesPanel.PropertiesPanel (cyclomatic 58): PropertiesPanel.PropertiesPanel has cyclomatic complexity 58 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 14 belong to 11 function items inside it that branch. 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"738336eba762682a00a2751958720690de4704b9c5d3e522c64f2aabe4193ca1"}},{"ruleId":"D1","level":"warning","message":{"text":"forms.updateField (cyclomatic 58): forms.updateField has cyclomatic complexity 58 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 1 belongs to one function item 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ab61df52f70c598c83c89d7cb3d11955271035a88ee62331314f1c8ed288da"}},{"ruleId":"D1","level":"warning","message":{"text":"MatchLineStep.MatchLineStep (cyclomatic 56): MatchLineStep.MatchLineStep has cyclomatic complexity 56 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 20 belong to 9 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":"apps/web/src/components/standardsWizard/MatchLineStep.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa10c74d7a89fd0c22c9e7fb08daa69f1e1d9b82a3799bf0f487fea5167d799"}},{"ruleId":"D1","level":"warning","message":{"text":"toolchest.toolStyle (cyclomatic 56): toolchest.toolStyle has cyclomatic complexity 56 (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":"packages/markup/src/toolchest.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f90aecf5fd7c567ac3fdd35ffa3a4a8be616ee4d26dc0da71f55f0548db628"}},{"ruleId":"D1","level":"warning","message":{"text":"Ribbon.Ribbon (cyclomatic 55): Ribbon.Ribbon has cyclomatic complexity 55 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 34 belong to 13 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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"9206d2ebf55259c66f5e149f8db4732abdbece2155938c5caf81df80f0318a5b"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupList.MarkupList (cyclomatic 54): MarkupList.MarkupList has cyclomatic complexity 54 (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 (MarkupList.MarkupList::editor) 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed76374bf5f1144747e625a9e67d93e8886d93b4669cf7b35ddd1e1445ec3c90"}},{"ruleId":"D1","level":"warning","message":{"text":"NewPdfDialog.NewPdfDialog (cyclomatic 54): NewPdfDialog.NewPdfDialog has cyclomatic complexity 54 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 10 belong to 5 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":"apps/web/src/components/NewPdfDialog.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e318fc90dca13d0f34562787fabb740e95ea8b0b698f822e0aca8d4d3cb9851"}},{"ruleId":"D1","level":"warning","message":{"text":"xfdf.element (cyclomatic 54): xfdf.element has cyclomatic complexity 54 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/xfdf.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ceb1dbf2a93f53d14ac488e3a1a6c456eaafb08a1effc1c0cfa24f24fec689"}},{"ruleId":"D1","level":"warning","message":{"text":"LineStylesDialog.LineStylesDialog (cyclomatic 53): LineStylesDialog.LineStylesDialog has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 10 of the 53 points are its own statements and the rest belongs to 21 function items inside it that branch (a function literal at line 589, a function literal at line 506, a function literal at line 572, \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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1181fb92e4663f9736e5c4ba295cd7b0d0bd53d34a5b87587185c751ca45fab"}},{"ruleId":"D1","level":"warning","message":{"text":"FontPicker.FontPicker (cyclomatic 53): FontPicker.FontPicker has cyclomatic complexity 53 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 32 belong to 11 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":"apps/web/src/components/FontPicker.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c649561d0dc49a451dd33c7945d69a5fcb834247f89d79c0417833136539e60c"}},{"ruleId":"D1","level":"warning","message":{"text":"BookmarksPanel.BookmarksPanel (cyclomatic 53): BookmarksPanel.BookmarksPanel has cyclomatic complexity 53 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 36 belong to 15 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":"apps/web/src/components/BookmarksPanel.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d6feb62db95cb41848d7f01d8a50b897972f869bcc9f7be31200984c57c79d"}},{"ruleId":"D1","level":"warning","message":{"text":"SetScaleDialog.SetScaleDialog (cyclomatic 53): SetScaleDialog.SetScaleDialog has cyclomatic complexity 53 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 28 belong to 14 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":"apps/web/src/components/SetScaleDialog.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4c278c0c4a9fff9ced7850e4e6fe0c29a3d935a34cdb4243a16ed7155c1061"}},{"ruleId":"D1","level":"warning","message":{"text":"SlowDrawingPrompt.SlowDrawingPrompt (cyclomatic 50): SlowDrawingPrompt.SlowDrawingPrompt has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 8 of the 50 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 117, 160, 187, \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":"apps/web/src/components/SlowDrawingPrompt.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a9e573d7070c17b1c9cf9e219a3d54d1b85710faddca67640405875dd5b73b"}},{"ruleId":"D1","level":"warning","message":{"text":"pdfSign.checkSignatures (cyclomatic 50): pdfSign.checkSignatures has cyclomatic complexity 50 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 4 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c155be60c9cb1debcedcd5c1673e8e00b7db6a7bfcff5dee535327469831850"}},{"ruleId":"D1","level":"warning","message":{"text":"CompareDialog.CompareDialog (cyclomatic 50): CompareDialog.CompareDialog has cyclomatic complexity 50 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 17 belong to 11 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":"apps/web/src/components/CompareDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c694fc441fa8ad68fff51b22953260f2cc9d696a6e93e8bee4d2c0bf8b0865d1"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertiesPanel.StyleEditor (cyclomatic 49): PropertiesPanel.StyleEditor has cyclomatic complexity 49 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 8 belong to 8 function literals inside it that branch. 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fecae07ef309311acd20fa33bdd0aaa673567aca7d9a9ead4dc4bed38299447"}},{"ruleId":"D1","level":"warning","message":{"text":"ItemsDialog.ItemsDialog (cyclomatic 49): ItemsDialog.ItemsDialog has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 12 of the 49 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 152, remove, problem, \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":"apps/web/src/components/ItemsDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d625cb8d95d3a63faafc520f5f5b972694842e82a0a34107cbca485bfa07be45"}},{"ruleId":"D1","level":"warning","message":{"text":"CadBar.CadBar (cyclomatic 49): CadBar.CadBar has cyclomatic complexity 49 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 16 belong to 5 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":"apps/web/src/components/CadBar.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e41c5834eec9d544f159d29b3d9d5c9f5a3a39cd7946445f01d828f7208fcd"}},{"ruleId":"D1","level":"warning","message":{"text":"SnapIndex.snap (cyclomatic 49): SnapIndex.snap has cyclomatic complexity 49 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 6 belong to 2 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":"packages/measure/src/snap.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ee8e88fb5fab1e56c4bc87b0259131abf16623a89f3877158ffe153fe24803"}},{"ruleId":"D1","level":"warning","message":{"text":"listColumns.cellsFor (cyclomatic 48): listColumns.cellsFor has cyclomatic complexity 48 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 10 belong to 4 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f08a02bfc754e4a4711c039bd925c5a81a2b34ef9b1d02cd366c1f537bcef36"}},{"ruleId":"D1","level":"warning","message":{"text":"TileViewer.draw (cyclomatic 47): TileViewer.draw has cyclomatic complexity 47 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 3 belong to 2 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"3471775171d625ec3036e0b763968560ffb2fa8044dd989a9d8c529ef1a30cb9"}},{"ruleId":"D1","level":"warning","message":{"text":"DigitalSignatures.DigitalSignaturesSection (cyclomatic 47): DigitalSignatures.DigitalSignaturesSection has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 4 of the 47 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 78, 135, 151). 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"18292cdf60a92739ef5919daf6c98c4c92f32ae0cfee56f2590724f9694a086c"}},{"ruleId":"D1","level":"warning","message":{"text":"bluebeam.parseDefaultStyle (cyclomatic 47): bluebeam.parseDefaultStyle has cyclomatic complexity 47 (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":"packages/markup/src/bluebeam.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b869a650cad8bbe0b2bf58040d723bd1d63b1db896a4c1353bee1c98d93218c"}},{"ruleId":"D1","level":"warning","message":{"text":"MeasurementsPanel.AssemblyPicker (cyclomatic 45): MeasurementsPanel.AssemblyPicker has cyclomatic complexity 45 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 26 belong to 6 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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"c439643570360be61ac1256e46bf3e35f30697a4847df124870a9d5d912461fd"}},{"ruleId":"D1","level":"warning","message":{"text":"SemanticComparePanel.SemanticComparePanel (cyclomatic 45): SemanticComparePanel.SemanticComparePanel has cyclomatic complexity 45 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 14 belong to 6 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":"apps/web/src/components/SemanticComparePanel.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5584ba97e917238a35ee2519fd124a6b205c2d4a1e1aaec5e1220cee09c675"}},{"ruleId":"D1","level":"warning","message":{"text":"RevuMigrationDialog.RevuMigrationDialog (cyclomatic 45): RevuMigrationDialog.RevuMigrationDialog has cyclomatic complexity 45 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 17 belong to 12 function items inside it that branch. 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":"apps/web/src/components/RevuMigrationDialog.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"601450689a655f6bf08cfc21e5f5a741ed9d3c1d701f90dca16465f81d149fc5"}},{"ruleId":"D1","level":"warning","message":{"text":"SheetView.SheetView (cyclomatic 45): SheetView.SheetView has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 11 of the 45 points are its own statements and the rest belongs to 15 function items inside it that branch (down, a function literal at line 95, up, \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":"apps/web/src/components/standardsWizard/SheetView.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80d5dd86b9a1b801c30c39b902e8d3f5f2a931be38b90f2de51a2bd05925146"}},{"ruleId":"D1","level":"warning","message":{"text":"bax.exportBax (cyclomatic 45): bax.exportBax has cyclomatic complexity 45 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 19 belong to 7 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":"packages/markup/src/bax.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefd3e9d8d94002571896e783f8d860254e27ac2a404fb6298a0d0690b2e1178"}},{"ruleId":"D1","level":"warning","message":{"text":"revuWrite.writeBtx (cyclomatic 45): revuWrite.writeBtx has cyclomatic complexity 45 (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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"557cb7856911ddf6c72f1ffa88256c5b323577893f1f9fd070f0e680254299b6"}},{"ruleId":"D1","level":"warning","message":{"text":"chainage.chainageReport (cyclomatic 45): chainage.chainageReport has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 1 of the 45 points is its own statement and the rest belongs to 13 function literals inside it that branch (lines 502, 514, 485, \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":"packages/sheets/src/chainage.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"343ec3561c62501d9c3ac3c99f16443d693cde84995dc68cccf2229024155036"}},{"ruleId":"D1","level":"warning","message":{"text":"paths.registerPathIpc (cyclomatic 44): paths.registerPathIpc has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 1 of the 44 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 65, 81, 94, \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":"apps/desktop/src/paths.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36189d9a8dd432b0b6b98379a115012ede5558ca083abe1e815037cf1e699e3"}},{"ruleId":"D1","level":"warning","message":{"text":"StitchPanel.StitchPanel (cyclomatic 44): StitchPanel.StitchPanel has cyclomatic complexity 44 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 27 belong to 9 function items inside it that branch. 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":"apps/web/src/components/StitchPanel.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafeadd5f200d41d2e4cca70930568801d1cf4f110318c4fefe0d071b79f8488"}},{"ruleId":"D1","level":"warning","message":{"text":"SketchBar.SketchBar (cyclomatic 44): SketchBar.SketchBar has cyclomatic complexity 44 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 18 belong to 4 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":"apps/web/src/components/SketchBar.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"515788823cab443f8a067364ba0bb78c1684f5151a47676d19e1a8ed520be5c0"}},{"ruleId":"D1","level":"warning","message":{"text":"render.renderEntity (cyclomatic 44): render.renderEntity has cyclomatic complexity 44 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/render.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"f071aa4ed7de58bfba448910bce137af05bae6bb8ccab0001728d9837d10aa58"}},{"ruleId":"D1","level":"warning","message":{"text":"revuWrite.applyStyle (cyclomatic 44): revuWrite.applyStyle has cyclomatic complexity 44 (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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d82650ff466e4c5b219ef85be1af08e9167ce57927bbc67727e33afe82c5449"}},{"ruleId":"D1","level":"warning","message":{"text":"links.detectLinks (cyclomatic 44): links.detectLinks has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 1 of the 44 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 340, 368, 393, \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":"packages/sheets/src/links.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc193c34054a9e0edc91a6c6a97e44ecf5b6f99ea8a40332ed9825589217e00"}},{"ruleId":"D1","level":"warning","message":{"text":"help.blocks (cyclomatic 43): help.blocks has cyclomatic complexity 43 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/public/help/help.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a436c2759f2dfcff4982e018cdacab4ad8d9a9b5ea25a4dfb325a8aad45449"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.newMarkup (cyclomatic 43): MarkupTools.newMarkup has cyclomatic complexity 43 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4029}}}],"partialFingerprints":{"codehealthFindingId/v1":"08538776399c48c899325f00031cca04e8e66c8a404d7dd50e122182d9108f16"}},{"ruleId":"D1","level":"warning","message":{"text":"starters.starterGroups (cyclomatic 43): starters.starterGroups has cyclomatic complexity 43 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 2 belong to 2 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":"apps/web/src/assemblies/starters.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ce99e14a88bc6280a861893bd61e98074ec1668645b1782474613097a072b4"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionsPanel.SessionList (cyclomatic 43): SessionsPanel.SessionList has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 13 of the 43 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 192, 287, 201, \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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"039cd8d018a1a75207a6c842b726b3b42feec800b5988cb8400c8901eda40c0c"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductListsDialog.ProductListsDialog (cyclomatic 42): ProductListsDialog.ProductListsDialog has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 10 of the 42 points are its own statements and the rest belongs to 19 function items inside it that branch (a function literal at line 257, remove, a function literal at line 87, \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":"apps/web/src/components/ProductListsDialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cc5feb52d333c9cd06ce9b02ce2eaa8771ba1d41b302b168fc8ba79cfe4d0a"}},{"ruleId":"D1","level":"warning","message":{"text":"TakeoffReview.Proposal (cyclomatic 42): TakeoffReview.Proposal has cyclomatic complexity 42 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 13 belong to 5 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":"apps/web/src/components/TakeoffReview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5662bb4b7fec1f2258cb65e20d563c745f7d7a9df737aaf8d4f9205d0b60a93d"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectsPanel.ProjectList (cyclomatic 42): ProjectsPanel.ProjectList has cyclomatic complexity 42 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 26 belong to 8 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5584a7e10a2a45d1007456fe3bd0195b325cc9ec7830c0ae18c39dfbb3aca145"}},{"ruleId":"D1","level":"warning","message":{"text":"bax.injectBax (cyclomatic 42): bax.injectBax has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 11 of the 42 points are its own statements and the rest belongs to 7 function items inside it that branch (resolve, add, walk, \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":"packages/markup/src/bax.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadbf7663e69c9b1c410ab78fc880e09ce3cfcd3cabee2ac6031a7869c8a2220"}},{"ruleId":"D1","level":"warning","message":{"text":"content.readItem (cyclomatic 41): content.readItem has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"a485731ac291967b3ed04fbd3f0c6ce4b976a56715659bc6c083b6f423ef02a3"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionDialogs.StartSessionDialog (cyclomatic 41): SessionDialogs.StartSessionDialog has cyclomatic complexity 41 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 16 belong to 10 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":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"242c3b345fde886bc93d00f0f062ecd35a71f3615ad7ca63b44578c651f316fd"}},{"ruleId":"D1","level":"warning","message":{"text":"detect.candidatesFor (cyclomatic 41): detect.candidatesFor has cyclomatic complexity 41 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 13 belong to 4 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":"packages/sheets/src/detect.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3714e3ac0153ba7f237e1d53b9964a55a0f5927ec49a9258dadedc449d718280"}},{"ruleId":"D1","level":"warning","message":{"text":"script.test (cyclomatic 40): script.test has cyclomatic complexity 40 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 3 belong to one function item 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aca4b055455d838aa16ca21e97281b73464b53c918d9e61d105a43df981342d"}},{"ruleId":"D1","level":"warning","message":{"text":"ltv.xrefAt (cyclomatic 40): ltv.xrefAt has cyclomatic complexity 40 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 2 belong to 2 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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffd13ca5c08d460c629551b9588357c4bfdeffc786dc4c361b1e598cebb1000"}},{"ruleId":"D1","level":"warning","message":{"text":"pdfSign.addValidationData (cyclomatic 40): pdfSign.addValidationData has cyclomatic complexity 40 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 17 belong to 4 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"231f1c5c6717a4f9a04021532dbb498fcd5422915198c6bee8d06af8737358e2"}},{"ruleId":"D1","level":"warning","message":{"text":"index.assemble (cyclomatic 40): index.assemble has cyclomatic complexity 40 (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 (index.assemble::toEntity) 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":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7656893fc72e5ab953b5752d975819238724faf1ee76c4d063f9549e197146d4"}},{"ruleId":"D1","level":"warning","message":{"text":"LabelRegionsPanel.LabelRegionsPanel (cyclomatic 40): LabelRegionsPanel.LabelRegionsPanel has cyclomatic complexity 40 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 9 belong to 4 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":"apps/web/src/components/LabelRegionsPanel.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9819a6a7461f6897f7636e6a75965a0a49c058e70be8d14da7ba5afc25108b"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchPanel.SearchPanel (cyclomatic 40): SearchPanel.SearchPanel has cyclomatic complexity 40 (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 (SearchPanel.SearchPanel::search, SearchPanel.SearchPanel::onArrow) 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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbed0c845eec300428dd1a7802dde42687c2159d0fbe274215b01697c30b7332"}},{"ruleId":"D1","level":"warning","message":{"text":"detect.detectSheets (cyclomatic 40): detect.detectSheets has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 7 of the 40 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 460, a function literal at line 429, pagesNear, \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":"packages/sheets/src/detect.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"769dc4ccebd0857415da22571e340f951beed28be9941f454ab30774b7c9452c"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.setTool (cyclomatic 39): MarkupTools.setTool has cyclomatic complexity 39 (threshold 15). Of this number, 37 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"71605795aff14538bf8c9503ef097ee308ece5ca0d2a11c767f851bdd41c96d9"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveSession.update (cyclomatic 39): DriveSession.update has cyclomatic complexity 39 (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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"c208050a2bafd9aba308ae89f4d0827c329f046a7902fa79f8633e85cd74eb13"}},{"ruleId":"D1","level":"warning","message":{"text":"assistant.reportDocumentChanges (cyclomatic 39): assistant.reportDocumentChanges has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 10 of the 39 points are its own statements and the rest belongs to one function literal inside it that branches (line 1128). 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1c5f4bdfb1d79e702c4e0ff1d55fe5eda0edbcbd60fbd8f1b60b2117a6c2bb"}},{"ruleId":"D1","level":"warning","message":{"text":"toolchest.parsePdfObject::value (cyclomatic 39): toolchest.parsePdfObject::value has cyclomatic complexity 39 (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":"packages/markup/src/toolchest.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8ec759d039dd1e2f5c7d6f2fcd69832c7a651e663d2a33fff9074a5eef20d6"}},{"ruleId":"D1","level":"warning","message":{"text":"landxml.parseLandXml (cyclomatic 38): landxml.parseLandXml has cyclomatic complexity 38 (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 (landxml.parseLandXml::coordGeom) 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":"apps/web/src/geospatial/landxml.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0568ccb618772ada74bf56c1c40283e362dbab55622ffe100f5bee88a01dcec"}},{"ruleId":"D1","level":"warning","message":{"text":"PageToolsDialog.PageToolsDialog (cyclomatic 38): PageToolsDialog.PageToolsDialog has cyclomatic complexity 38 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 9 belong to 6 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":"apps/web/src/components/PageToolsDialog.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0171d50749ec1e6e5ae65a4a1c7c4658f6440e7e70885571c015afd0ada84f1"}},{"ruleId":"D1","level":"warning","message":{"text":"pdf.writePdf (cyclomatic 38): pdf.writePdf has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 14 of the 38 points are its own statements and the rest belongs to 5 function items inside it that branch (draw, fontFor, walk, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/pdf.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6307fe325792b8a7e008a0f8e1531c36ce63e3d9dfd3513f7fc769d9204cfd8b"}},{"ruleId":"D1","level":"warning","message":{"text":"assemblies.sanitizeAssemblies (cyclomatic 38): assemblies.sanitizeAssemblies has cyclomatic complexity 38 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 2 belong to one function item 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":"packages/markup/src/assemblies.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35e486d4dd5c348eb1c84df0602eac301a8adbb0d81991777cf8a74a083ba6b"}},{"ruleId":"D1","level":"warning","message":{"text":"export.nativeForm (cyclomatic 38): export.nativeForm has cyclomatic complexity 38 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/export.ts"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3ab67561b34e0930283a8ad932f1d5f6b2ec4850b0f569bf221f361e921411"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolBar.MarkupFields (cyclomatic 37): ToolBar.MarkupFields has cyclomatic complexity 37 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 19 belong to 10 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":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"9243a07e3c5765391fdc8e3251b9186b6ad384921396a5ecd85c99347d2e1a95"}},{"ruleId":"D1","level":"warning","message":{"text":"SignaturesPanel.SignatureDialog (cyclomatic 37): SignaturesPanel.SignatureDialog has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 10 of the 37 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 33, save, a function literal at line 120, \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":"apps/web/src/components/SignaturesPanel.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"41daccb84e158424d9cea009a45c4cd0bbfeac1318bba81ab3dd114d2415be91"}},{"ruleId":"D1","level":"warning","message":{"text":"EraseRegionsPanel.EraseRegionsPanel (cyclomatic 37): EraseRegionsPanel.EraseRegionsPanel has cyclomatic complexity 37 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 18 belong to 6 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":"apps/web/src/components/EraseRegionsPanel.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e105fc65c1573a64ff2884445c0ac870a2c3360164100c4be3a5ba35cb1353"}},{"ruleId":"D1","level":"warning","message":{"text":"teachLinks.learnLink (cyclomatic 37): teachLinks.learnLink has cyclomatic complexity 37 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/teachLinks.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6411aa389352442ceedbc5a14a8f1e8cb5a6e45c8a88ff948444dba4ec96728"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveSession.readFolder (cyclomatic 36): DriveSession.readFolder has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"993010628e264c304dccb4a7ee746edf41c96785215068c6a0dd3ef7f73979d4"}},{"ruleId":"D1","level":"warning","message":{"text":"marks.marksToLinks (cyclomatic 36): marks.marksToLinks 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/marks.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d67a43e2aa10760d03432aba8417ad85cdf9774be239d7b8ca06292ca35748"}},{"ruleId":"D1","level":"warning","message":{"text":"StampsDialog.StampMenu (cyclomatic 36): StampsDialog.StampMenu has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 5 of the 36 points are its own statements and the rest belongs to 11 function items inside it that branch (onMenuKey, a function literal at line 521, a function literal at line 518, \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":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68f5cf87ed8de3c1d723548801f0a2e9d03ba54e456cef3c0e4ca0b701fb443"}},{"ruleId":"D1","level":"warning","message":{"text":"process.recolourContent (cyclomatic 36): process.recolourContent 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: one other method here (process.recolourContent::replaceColour) 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":"apps/web/src/documents/process.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b380e20456cf9518636b5c9cb9d631230e05773e6fb135a2a9a789c58fae61e4"}},{"ruleId":"D1","level":"warning","message":{"text":"chainage.readTicks (cyclomatic 36): chainage.readTicks has cyclomatic complexity 36 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 8 belong to 4 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":"packages/sheets/src/chainage.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47bc9abff93ddf197f6e65b4c572b0c2992b725d7eebb293c94485b0e591c4e"}},{"ruleId":"D1","level":"warning","message":{"text":"ifc.parseIfc (cyclomatic 35): ifc.parseIfc 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. This shape REPEATS in the file: 2 other methods here (ifc.parseIfc::curve, ifc.parseIfc::item) 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":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d8c98ffeeda4bbaf94aa452e93a412ec740530283b366b8b5cf19a6cef162c"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuSearch.MenuSearch (cyclomatic 35): MenuSearch.MenuSearch has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 10 of the 35 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 177, row, runAt, \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":"apps/web/src/components/MenuSearch.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a17a0bb56ab94993a145f257176215ab1813fc31d7197bfa731b78c729ff694"}},{"ruleId":"D1","level":"warning","message":{"text":"ComparePagePicker.ComparePagePicker (cyclomatic 35): ComparePagePicker.ComparePagePicker has cyclomatic complexity 35 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 10 belong to 4 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":"apps/web/src/components/ComparePagePicker.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"778d7a356d6d336207074ae74cf01e8b28e770f02d316a3fda253b1c9aa6955e"}},{"ruleId":"D1","level":"warning","message":{"text":"header.readHeader (cyclomatic 35): header.readHeader has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/header.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cec59912ff182128e9206789b01e2345b79501d399b4c30105afff7b7eb59e"}},{"ruleId":"D1","level":"warning","message":{"text":"cadTools.cadPreviewOf (cyclomatic 34): cadTools.cadPreviewOf has cyclomatic complexity 34 (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":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"7488a3c1f9e4a16a8b8823015bad0a650851140f8b87e3b2edafaba34ae36252"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveSession.join (cyclomatic 34): DriveSession.join has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3fead7651268150dec1705dc7bfd78e4e771a0e75077c3edbb948fea1e3a51"}},{"ruleId":"D1","level":"warning","message":{"text":"standards.parseStandardFile (cyclomatic 34): standards.parseStandardFile has cyclomatic complexity 34 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 8 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":"apps/web/src/sheets/standards.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"42844a9e7792ba747cbd22787d384665203d66b3149e6ab9fdd2292a7fd8a837"}},{"ruleId":"D1","level":"warning","message":{"text":"process.recolourContent::replaceColour (cyclomatic 34): process.recolourContent::replaceColour has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (process.recolourContent) 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":"apps/web/src/documents/process.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff52738e50dbf16f2c96288844686217c2b1c04176a5c544ea8b53db51f31f42"}},{"ruleId":"D1","level":"warning","message":{"text":"DigitalSignatures.DigitalIdsDialog (cyclomatic 34): DigitalSignatures.DigitalIdsDialog has cyclomatic complexity 34 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 12 belong to 8 function literals inside it that branch. 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"24859afa7b7669c1bcaeccf7fdb17deb22c73b48b6eea73511df6c17f98646a8"}},{"ruleId":"D1","level":"warning","message":{"text":"render.readHatch (cyclomatic 34): render.readHatch has cyclomatic complexity 34 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 5 belong to 2 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":"apps/web/src/cad/render.ts"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94e4a8b61416680e79955028ac26b94a6042aa102a32f2d9a67962c0f10cc50"}},{"ruleId":"D1","level":"warning","message":{"text":"geometry.hitTest (cyclomatic 34): geometry.hitTest has cyclomatic complexity 34 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 3 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":"packages/markup/src/geometry.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc04bebbf256c84895c5b92bc780a8f437a58d682dc498ce754708a45b83b75"}},{"ruleId":"D1","level":"warning","message":{"text":"toolchest.lexContent (cyclomatic 34): toolchest.lexContent has cyclomatic complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function item 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d73e98c2c2143cf637af99f7f56f0ddf6fba7b1cc875d3b062499ef5983ba7d"}},{"ruleId":"D1","level":"warning","message":{"text":"TileViewer.onPointerDown (cyclomatic 33): TileViewer.onPointerDown has cyclomatic complexity 33 (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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d5f282efd2329a06b1c2d3047acd036915c88364ba52a258f13644da88f4d7"}},{"ruleId":"D1","level":"warning","message":{"text":"dxf.parseDxf (cyclomatic 33): dxf.parseDxf has cyclomatic complexity 33 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 3 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":"apps/web/src/geospatial/dxf.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d1c75b1d568c7f18159e32c095aebea13191075c9fc7cfa24bd34d44291917"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertiesPanel.SlopeRows (cyclomatic 33): PropertiesPanel.SlopeRows has cyclomatic complexity 33 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 17 belong to 6 function items inside it that branch. 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e638b0434dcf920df5a881fad31cdde90fb52651e895b743674a19cf70d1035"}},{"ruleId":"D1","level":"warning","message":{"text":"pki.crlStatus (cyclomatic 33): pki.crlStatus has cyclomatic complexity 33 (threshold 15). 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, 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":"apps/web/src/documents/pki.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"32842a02ff564766e7b9cf563463b522401b5dde907031bcf7c3eb0bcfebd789"}},{"ruleId":"D1","level":"warning","message":{"text":"wizardLinks.learnAlignmentChain (cyclomatic 33): wizardLinks.learnAlignmentChain has cyclomatic complexity 33 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/wizardLinks.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f143c1550e05ad488fc60a5af38856778a1654680f4352584c9e2d6e86aac2"}},{"ruleId":"D1","level":"warning","message":{"text":"assistantStitch.updateMatchLines (cyclomatic 33): assistantStitch.updateMatchLines has cyclomatic complexity 33 (threshold 15). Of this number, 31 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":"apps/web/src/desktop/assistantStitch.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f6bac26a935e64cc6b836545e6ed7e74070635c3c77b38ab18621b2d776670"}},{"ruleId":"D1","level":"warning","message":{"text":"codebase-reach.canvas.CodebaseReach (cyclomatic 33): codebase-reach.canvas.CodebaseReach has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 11 of the 33 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 285, 275, 287, \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":"docs/codebase-reach.canvas.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"406acc59be940a256b4bb969b197395078d88c6baa52cc2a75cfed437dfb68d6"}},{"ruleId":"D1","level":"warning","message":{"text":"cad.transformMarkup (cyclomatic 33): cad.transformMarkup has cyclomatic complexity 33 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 2 belong to one function item 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":"packages/markup/src/cad.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcefc6d93245ec5cf0e096bd5dab5ee0e3aed550b97c5b552a2f1913c5277c1"}},{"ruleId":"D1","level":"warning","message":{"text":"import.toMarkups (cyclomatic 33): import.toMarkups has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/import.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6bd6154538142207cc24829049f9089fb370b724209fca6aef8df993f37cd8"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.doubleClick (cyclomatic 32): MarkupTools.doubleClick has cyclomatic complexity 32 (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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3768}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cf2a9ad83027df0065ab2d56387443c62ce248ac552003e1ce70382d1e27b0"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupList.MarkupList::editor (cyclomatic 32): MarkupList.MarkupList::editor has cyclomatic complexity 32 (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 (MarkupList.MarkupList) 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b312968acde695442cecae97bc622379f71deec1183dd8ad1d8ccdbcaad7241"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfilesDialog.ProfilesDialog (cyclomatic 32): ProfilesDialog.ProfilesDialog has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 13 of the 32 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 374, 122, 220, \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":"apps/web/src/components/ProfilesDialog.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e63173fab85b3d837581441b16d92f79b65acb7c8e48c5c8c53e6a3d786d89"}},{"ruleId":"D1","level":"warning","message":{"text":"semantic.compareParagraphs (cyclomatic 32): semantic.compareParagraphs has cyclomatic complexity 32 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 3 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":"apps/web/src/compare/semantic.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b8f1b15b73954f2cd28e063f4b90e048c8793c2668873f2c03f5589246af95"}},{"ruleId":"D1","level":"warning","message":{"text":"text.mtextParagraphs (cyclomatic 32): text.mtextParagraphs has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/text.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9fbef966c4f8e0899934568de9fc4f0fa17cb881b4ad2dc949816b297ae663"}},{"ruleId":"D1","level":"warning","message":{"text":"convert.convertCad (cyclomatic 32): convert.convertCad has cyclomatic complexity 32 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 4 belong to 2 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":"apps/web/src/cad/convert.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90c0df3e5a0af248aa8b7a244957df7007482f29f5d82c70f8090088c1f9412"}},{"ruleId":"D1","level":"warning","message":{"text":"store.describeChange (cyclomatic 32): store.describeChange has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function item 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":"packages/markup/src/store.ts"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50a092d46eb332d98af67a2e44dfa643a2650abb35aa9ea344d986731959930"}},{"ruleId":"D1","level":"warning","message":{"text":"content.optimizeContent (cyclomatic 31): content.optimizeContent has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to 2 function items inside it that branch (take, flush). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"3633f00595b1b8e1472a46f33e75c676bac6f3ece61a259670061660ba1b8448"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextMenu.MenuList (cyclomatic 31): ContextMenu.MenuList has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 8 of the 31 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 88, 55, 50, \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":"apps/web/src/components/ContextMenu.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e60edbc0b7ade3d60fd0504411a60c284ea4d052c49ca040042cd8134528be"}},{"ruleId":"D1","level":"warning","message":{"text":"Library.Library (cyclomatic 31): Library.Library has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 10 of the 31 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 173, finishNaming, fileMenu, \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":"apps/web/src/components/Library.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3327fb28621b725b47916052a0eb5f9f9fdf8447a822810fa5d06246472e6c2"}},{"ruleId":"D1","level":"warning","message":{"text":"script.tokenize (cyclomatic 31): script.tokenize has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/scripts/script.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa70780bf628f18775dbae3063424c569068cf75c34a5ab6c1f29fa568a6674"}},{"ruleId":"D1","level":"warning","message":{"text":"DigitalSignatures.SignDialog (cyclomatic 31): DigitalSignatures.SignDialog has cyclomatic complexity 31 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 9 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"441bc31255e0ebce9e8f3deb1b7a075290e923328e64849539846aac43abac37"}},{"ruleId":"D1","level":"warning","message":{"text":"SoundDialog.SoundDialog (cyclomatic 31): SoundDialog.SoundDialog has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 12 of the 31 points are its own statements and the rest belongs to 6 function items inside it that branch (start, place, a function literal at line 49, \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":"apps/web/src/components/SoundDialog.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c91cd85c588f7d5e81803fe917422ad9a8fe98a7b0f978fe3a5c1d5f668a1d"}},{"ruleId":"D1","level":"warning","message":{"text":"HyperlinkDialog.HyperlinkDialog (cyclomatic 31): HyperlinkDialog.HyperlinkDialog has cyclomatic complexity 31 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 13 belong to 4 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":"apps/web/src/components/HyperlinkDialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4ff95285949261aef5124e2ac28b99cb014c89554af0386936ac42629703bd"}},{"ruleId":"D1","level":"warning","message":{"text":"FormsPanel.FormsPanel (cyclomatic 31): FormsPanel.FormsPanel has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 10 of the 31 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 387, a function literal at line 448, move, \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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a65e4184cb3d3bea75da0109671bfe0ab9440c7fbce1ac6e13ef0d8990e825"}},{"ruleId":"D1","level":"warning","message":{"text":"DocumentPropertiesDialog.DocumentPropertiesDialog (cyclomatic 31): DocumentPropertiesDialog.DocumentPropertiesDialog has cyclomatic complexity 31 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. 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":"apps/web/src/components/DocumentPropertiesDialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aed1323a431dc5349f156e438626f512bff996403134c1c2c8085a18ebc947"}},{"ruleId":"D1","level":"warning","message":{"text":"render.hatch (cyclomatic 31): render.hatch has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/render.ts"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e81ad81a2a4142b2b41fe3842de67bf4e3fb6f789425893b56f44fbf934b28e"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupStore.remapPages (cyclomatic 31): MarkupStore.remapPages has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 2 of the 31 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 840, turn, a function literal at line 898, \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":"packages/markup/src/store.ts"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f0f46e75e870e71092788f281163b91f3cea654952aef608792a73739756e7"}},{"ruleId":"D1","level":"warning","message":{"text":"xfdf.markupsFromXfdf (cyclomatic 31): xfdf.markupsFromXfdf has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 9 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 260, a function literal at line 285, date, \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":"packages/markup/src/xfdf.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baa1f0cf84701bc87859017f0a41408e3d6ef6be8a89be832f814541265d4a7"}},{"ruleId":"D1","level":"warning","message":{"text":"fill.dynamicFill (cyclomatic 31): fill.dynamicFill has cyclomatic complexity 31 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 7 belong to one function item 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":"packages/measure/src/fill.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"73af1de67efdb843a71cbd01a5d5799a06a14d5e59a1a9e9b6df9bf967cd3de0"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.clipStrokedPath (cyclomatic 31): worker.clipStrokedPath has cyclomatic complexity 31 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"145368ece7a9fd7d276f86bd64c940753cedcd8ee0aff8cc63f91409aa34ddab"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.handle (cyclomatic 31): worker.handle has cyclomatic complexity 31 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c822352f05f0ab0eab54661bb503f45d88d604ff26137d037526854a915f2de"}},{"ruleId":"D1","level":"warning","message":{"text":"pki.pkiRequest (cyclomatic 30): pki.pkiRequest has cyclomatic complexity 30 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function item 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":"apps/desktop/src/pki.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b3e6b95fcbea6bc09f14cd6aa64e55543c8fcb9f2ffc4023432f0b24bde13b"}},{"ruleId":"D1","level":"warning","message":{"text":"cadTools.cadPrompt (cyclomatic 30): cadTools.cadPrompt has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b41a0d537e7a2a6b8f62e895cbab6cde6925d7c8e4a45aad9f839c29ff1a814"}},{"ruleId":"D1","level":"warning","message":{"text":"ColorMenu.ColorMenu (cyclomatic 30): ColorMenu.ColorMenu has cyclomatic complexity 30 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 10 belong to 8 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":"apps/web/src/components/ColorMenu.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e140024a5a8f377c7032a4a6ab20c312032010ccb3edc9a4fe6a8bf42351ba0"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkPreview.PreviewWindow (cyclomatic 30): LinkPreview.PreviewWindow has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 12 of the 30 points are its own statements and the rest belongs to 12 function items inside it that branch (zoomAt, panStart, a function literal at line 158, \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":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efb96aee85250c9e462ac8b9784eb7889a62e6e8835ba73c0d6c4bc595e7de4"}},{"ruleId":"D1","level":"warning","message":{"text":"CameraDialog.CameraDialog (cyclomatic 30): CameraDialog.CameraDialog has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 9 of the 30 points are its own statements and the rest belongs to 11 function items inside it that branch (capture, finish, a function literal at line 120, \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":"apps/web/src/components/CameraDialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"24093d6431af45d7808d856f801921c6f365161144412abd3a105e550fe98ec3"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App::useToolItem (cyclomatic 30): App.App::useToolItem has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 8 other methods here (App.App, App.App::saveAsTemplate, App.App::runExport, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 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":"apps/web/src/App.tsx"},"region":{"startLine":6233}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b28ea498281445c8ec5939ae61da7638037a6bad59fa6ad3d9ddada9583af0d"}},{"ruleId":"D1","level":"warning","message":{"text":"stampPdf.parseStampPdf (cyclomatic 30): stampPdf.parseStampPdf has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 11 of the 30 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 145, 123, 130, \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":"packages/markup/src/stampPdf.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f051b8f122fd44bd0262f956a5e37ba2983dcb28739e146c89ced6f4bef2d2"}},{"ruleId":"D1","level":"warning","message":{"text":"chainage.assignAlignments (cyclomatic 30): chainage.assignAlignments has cyclomatic complexity 30 (threshold 15). Of this number, 26 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":"packages/sheets/src/chainage.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"258910162e1020c3df114f9dd1e70bec395411ebd08d07889f40db3d498fee72"}},{"ruleId":"D1","level":"warning","message":{"text":"StampsDialog.StampsDialog (cyclomatic 29): StampsDialog.StampsDialog has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 15 function items inside it that branch (a function literal at line 372, insertField, a function literal at line 337, \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":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c69b99f4152ab63a3302b6a7d305a4661af356e51991457ab9d404ac7e61268"}},{"ruleId":"D1","level":"warning","message":{"text":"HeaderFooterDialog.HeaderFooterDialog (cyclomatic 29): HeaderFooterDialog.HeaderFooterDialog has cyclomatic complexity 29 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 13 belong to 9 function items inside it that branch. 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":"apps/web/src/components/HeaderFooterDialog.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcf0c4366d8838c31c71e8400926cab7edc223c12bbb6aac502be6a012f9975"}},{"ruleId":"D1","level":"warning","message":{"text":"ShortcutsDialog.ShortcutsDialog (cyclomatic 29): ShortcutsDialog.ShortcutsDialog has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 122, a function literal at line 82, a function literal at line 58, \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":"apps/web/src/components/ShortcutsDialog.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5449fcb0e58643f4b68df86d9f9ea2426bb5b00e5a3470205a0ce1c6eb81c15c"}},{"ruleId":"D1","level":"warning","message":{"text":"pdf.textOps (cyclomatic 29): pdf.textOps has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 14 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 257). 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":"apps/web/src/cad/pdf.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5aafb53e1b726f19ed54358597b44212bd79bf77aabdaf21300b792f13782e"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog.parseIndex (cyclomatic 29): catalog.parseIndex 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":"apps/web/src/library/catalog.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f800d15a8d16a24ef24721850979e752d5a3ec326ec8bcce55c1b3586e0e3735"}},{"ruleId":"D1","level":"warning","message":{"text":"process.recolourPages (cyclomatic 28): process.recolourPages has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 2 function items inside it that branch (rewrite, rewriteForm). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/process.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b688bcd38b8a8decc4fde4c584d3f5e6e782ccebef2dfe5383cc8ca09f3a17e"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusBar.StatusBar (cyclomatic 28): StatusBar.StatusBar has cyclomatic complexity 28 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. 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":"apps/web/src/components/StatusBar.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"81485fe503665d13cee0462e60360fb0c6dc33cffa3352ce7ae86c75971fb166"}},{"ruleId":"D1","level":"warning","message":{"text":"startTips.parseTip (cyclomatic 28): startTips.parseTip has cyclomatic complexity 28 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 9 belong to one function item 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":"apps/web/src/help/startTips.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf7a0ebf9c0edf1902f3f649ee0d1505af71d936864d4650856716515cf2f83"}},{"ruleId":"D1","level":"warning","message":{"text":"indexer.readPdfAnnotations (cyclomatic 28): indexer.readPdfAnnotations has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 264, 298, 311). 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":"apps/web/src/sheets/indexer.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c1b025f489f9427d65c13f065ce69eba8554a71b3a394d2f25d58e42b5d352"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectsPanel.Members (cyclomatic 28): ProjectsPanel.Members has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 11 of the 28 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 1038, a function literal at line 1024, load, \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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"7694e8640fdcecd528682b43ff571f8fe7f12ffd5c6f63320c339339ec434f82"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryDialog.LibraryDialog (cyclomatic 28): LibraryDialog.LibraryDialog has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 9 of the 28 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 108, a function literal at line 36, add, \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":"apps/web/src/components/LibraryDialog.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"53345a01fba996e076783faa0fd42494c11024dde869b29be727e8617c411c71"}},{"ruleId":"D1","level":"warning","message":{"text":"xml.parseXml (cyclomatic 28): xml.parseXml has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function item 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":"packages/markup/src/xml.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6da9df35b6d8650afb156ee9fae0178ec1aeaebf439262a29a47de5a1b3363"}},{"ruleId":"D1","level":"warning","message":{"text":"revuWrite.imageObjects (cyclomatic 28): revuWrite.imageObjects 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/revuWrite.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c02a59adc7dca3568d790ee7e6c6a84203c8fc2a8bc5e81e752067b26c53e9"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuBar.MenuBar (cyclomatic 27): MenuBar.MenuBar has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 9 function items inside it that branch (menu, a function literal at line 672, a function literal at line 696, \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":"apps/web/src/components/MenuBar.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0459d3d9488f5296b7c3199d9dafc3b8ea3113f31742ce18ce0ef956dabda40"}},{"ruleId":"D1","level":"warning","message":{"text":"semantic.similarPairs (cyclomatic 27): semantic.similarPairs has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 366, 355, 404, \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":"apps/web/src/compare/semantic.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"af39f612b7601bcec2f1b65a41b3d3e842e42a92c7142224ae7c1c25ec59a479"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolPreviewCard.ToolPreviewCard (cyclomatic 27): ToolPreviewCard.ToolPreviewCard has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 82, 51, 70, \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":"apps/web/src/components/ToolPreviewCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da7e7044116cac8f414ae72a73e97f09c200af17d049415f4bb5b7f89f4ada0"}},{"ruleId":"D1","level":"warning","message":{"text":"PagesPanel.Thumbnail (cyclomatic 27): PagesPanel.Thumbnail has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 260, 289, 319, \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":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"55571646b77abdb1c198a65d0ef42fb7c47ec5877a09d5c6ffa4200a6da01793"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionDialogs.EndSessionDialog (cyclomatic 27): SessionDialogs.EndSessionDialog has cyclomatic complexity 27 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. 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":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aaca7ae4d598cfee8e6161ecddb2d8c988b2289ddcb091b62008e23f4252a2b"}},{"ruleId":"D1","level":"warning","message":{"text":"pack.parseTradePack (cyclomatic 27): pack.parseTradePack has cyclomatic complexity 27 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 7 belong to 4 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":"apps/web/src/library/pack.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e00187abb427096038b76f61c65adef8e6b1ccfd571163bfbd2c8280256695"}},{"ruleId":"D1","level":"warning","message":{"text":"assistant.assistantCall (cyclomatic 27): assistant.assistantCall has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"333835ac7984b3cc1f583cef14ef506e9837fae836eaa218e7587581f7182493"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupStore.transformPages (cyclomatic 27): MarkupStore.transformPages has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 988, pt, rect, \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":"packages/markup/src/store.ts"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"cead57cc9dcf1148af1b29d599cc0ccb82a3b84aef35679a55bdcdd1ed0c296c"}},{"ruleId":"D1","level":"warning","message":{"text":"Scanner.next (cyclomatic 26): Scanner.next has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d73fc7170cbb6a3a4f04af0da018b6456f2fc4e3b59843784e6d86134f45a32"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.ownPreview (cyclomatic 26): MarkupTools.ownPreview has cyclomatic complexity 26 (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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4974}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d7c372ccc754e624aa400c9c1288221934913dbef676a4a8b9859af7bf70f4"}},{"ruleId":"D1","level":"warning","message":{"text":"ScriptsDialog.ScriptsDialog (cyclomatic 26): ScriptsDialog.ScriptsDialog has cyclomatic complexity 26 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 6 belong to 4 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":"apps/web/src/components/ScriptsDialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"79154736a57983196e74ce8ac3a3fbc37c351012903863b247c64de493656ae0"}},{"ruleId":"D1","level":"warning","message":{"text":"viewScales.proposeViews (cyclomatic 26): viewScales.proposeViews has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 11 of the 26 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 168, inArea, a function literal at line 131, \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":"apps/web/src/measure/viewScales.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"38982dd3af68e2e867853d6794760d0b86960627b4b42726fb0e719d6e431592"}},{"ruleId":"D1","level":"warning","message":{"text":"process.recolourPicture (cyclomatic 26): process.recolourPicture has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/process.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3064b75254436ffe4b2ff6907f5acfbcb68026fec056348d440d49dab75ac581"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflinePrefs.OfflinePrefs (cyclomatic 26): OfflinePrefs.OfflinePrefs has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 belong to 3 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":"apps/web/src/components/OfflinePrefs.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1071d65b1f44a618f76dbf69d64ff69a4497fe400103e91cb5bd416dd8cd293d"}},{"ruleId":"D1","level":"warning","message":{"text":"objects.hatch (cyclomatic 26): objects.hatch has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff453bacc0541f627bfc53268f486cfa195f2a828dd3b89e02024ecf3659bbb"}},{"ruleId":"D1","level":"warning","message":{"text":"objects.readTableObject (cyclomatic 26): objects.readTableObject has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7436dacbe83ac6e01175c9445c5460809b34b67c949100c30adf02cf3e965450"}},{"ruleId":"D1","level":"warning","message":{"text":"sheets.layoutSheet (cyclomatic 26): sheets.layoutSheet has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/sheets.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d9ddcac7dde7013d800cfb9fe17fd71b9f5f233d070ccc39069962c745f8c0"}},{"ruleId":"D1","level":"warning","message":{"text":"repeatedRegions.findRepeatedRegions (cyclomatic 26): repeatedRegions.findRepeatedRegions has cyclomatic complexity 26 (threshold 15). Of this number, 24 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":"apps/web/src/sheets/repeatedRegions.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d9b65fb0c03024fe484887b8060b2ee788bd8981714694ba5d604fbda1de35"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectsPanel.ManageProject (cyclomatic 26): ProjectsPanel.ManageProject has cyclomatic complexity 26 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 6 belong to 3 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"712ae41efca705561511ea50882469bb4827145972516a85657a49fbbe251be1"}},{"ruleId":"D1","level":"warning","message":{"text":"estimating.sanitizeProductLists (cyclomatic 26): estimating.sanitizeProductLists has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/estimating.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb6ccb57fc3d1350fe9547a826c3aed33edc741a08b8c8cc3890a4bc005790c"}},{"ruleId":"D1","level":"warning","message":{"text":"bluebeam.scaleFromMeasure (cyclomatic 26): bluebeam.scaleFromMeasure has cyclomatic complexity 26 (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":"packages/markup/src/bluebeam.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f691b19f19e47e9209d789161a71347374539f570f6241b7f17209067cf252"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.extractSegments (cyclomatic 26): worker.extractSegments has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (walkPath, paperOnly, walk, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/worker.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3c7c1bbd11f9acd7e2fa0fa4668ac3ae4e3a58f4bba6fdd80d338e65ce7ef9"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphBroker.request (cyclomatic 25): GraphBroker.request has cyclomatic complexity 25 (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":"apps/desktop/src/graph.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6151d1ee3a9dec1ebf1c8cc836796f8f2d178e60cbb8dc312ebf36c083d144"}},{"ruleId":"D1","level":"warning","message":{"text":"RevuSettings.scan (cyclomatic 25): RevuSettings.scan has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 2 function items inside it that branch (walk, rank). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/revuSettings.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"12becf6eead15714e38164eb228b7c4a6e3f5cb8bf6548543c2b1ce08dc3c734"}},{"ruleId":"D1","level":"warning","message":{"text":"formula.evaluate (cyclomatic 25): formula.evaluate has cyclomatic complexity 25 (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":"apps/web/src/columns/formula.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"85aeb9ceea8d5788c4925e3f5a150fe3921037b9d8e36e35bf3de522e8f86301"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertiesPanel.slopeOfKind (cyclomatic 25): PropertiesPanel.slopeOfKind has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"7daa11985b6fafb8dfe49bf639d34f406a199c1b9203effa3aeb80a6de35ea7d"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolBar.HatchMenu (cyclomatic 25): ToolBar.HatchMenu has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 belong to 6 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":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ce612fee07c5e52aaa3c661fbb8fceb1bc3d478b0f02875ab10a8d9a90cfdf"}},{"ruleId":"D1","level":"warning","message":{"text":"quantities.assemblyProblems (cyclomatic 25): quantities.assemblyProblems has cyclomatic complexity 25 (threshold 15). Of this number, 19 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":"apps/web/src/assemblies/quantities.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0088d56dd3000e2ca6ab92097c6595cfacca707f70197605efceba58492de914"}},{"ruleId":"D1","level":"warning","message":{"text":"scaleCheck.dimensionScale (cyclomatic 25): scaleCheck.dimensionScale has cyclomatic complexity 25 (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":"apps/web/src/measure/scaleCheck.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"22587ee605e7f093e00aedeb189ab6f5e9adf0c0f09df0192ffe2ce443755be9"}},{"ruleId":"D1","level":"warning","message":{"text":"pki.completeChain (cyclomatic 25): pki.completeChain has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to 2 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":"apps/web/src/documents/pki.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8218d536530ee1fdea5903e10e3b869610610e48722549d930799315d6acb5"}},{"ruleId":"D1","level":"warning","message":{"text":"semantic.wordDiff (cyclomatic 25): semantic.wordDiff has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/compare/semantic.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff8c74488a2decb6d09a002abb74b810918a65379e6ac51f01fa1612129c1cc"}},{"ruleId":"D1","level":"warning","message":{"text":"r2007.lz77ac21 (cyclomatic 25): r2007.lz77ac21 has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 4 function items inside it that branch (literal, chunks, instructions, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: r2007.copyRun (cyclomatic 32) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/r2007.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c7770d05851656619bd3e61e078935fa7c48bd1dc70cb5652c4522bbebcb4d"}},{"ruleId":"D1","level":"warning","message":{"text":"index.assemble::toEntity (cyclomatic 25): index.assemble::toEntity has cyclomatic complexity 25 (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 (index.assemble) 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":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9294eee970421157a48dc6fee46a8013753bfd24da05402aba09ef8a6825d0f"}},{"ruleId":"D1","level":"warning","message":{"text":"pack.readStyle (cyclomatic 25): pack.readStyle has cyclomatic complexity 25 (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":"apps/web/src/library/pack.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2ec317b2bdad1aa6ea6e96566ef9a5ba00bf2f9d8c80ccf11ba17035959545"}},{"ruleId":"D1","level":"warning","message":{"text":"pack.readTool (cyclomatic 25): pack.readTool has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/library/pack.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"515d8ed3bf680bd442aa6ed873c953ede25163b7a6e85730b903181e8130db2e"}},{"ruleId":"D1","level":"warning","message":{"text":"assistant.styleOf (cyclomatic 25): assistant.styleOf has cyclomatic complexity 25 (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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c3ce9619e628031af986c0369c3c3c02d3b250ea2f0e2583cfb8c1a37c6ed5"}},{"ruleId":"D1","level":"warning","message":{"text":"codebase-reach.canvas.FlowGraph (cyclomatic 25): codebase-reach.canvas.FlowGraph has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 200, 183). 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":"docs/codebase-reach.canvas.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"48931b12e2d44f13c6622d1128ba6652cf218fbd975f3e1a18f95029cdab2156"}},{"ruleId":"D1","level":"warning","message":{"text":"import.importAnnotations::finish (cyclomatic 25): import.importAnnotations::finish has cyclomatic complexity 25 (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 (import.importAnnotations) 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":"packages/markup/src/import.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2200a58cde14ecc5c8d767a6f057370b53bad00d88d5ebc2fd9098fd1c615a51"}},{"ruleId":"D1","level":"warning","message":{"text":"toolchest.contentTemplate (cyclomatic 25): toolchest.contentTemplate has cyclomatic complexity 25 (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":"packages/markup/src/toolchest.ts"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"837a97cc1d89d914c5c62b2ad7fc226bfdfb10246aa13f57d35d3a4536f90671"}},{"ruleId":"D1","level":"warning","message":{"text":"message.handleMcpMessage (cyclomatic 24): message.handleMcpMessage has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/assistant/message.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87ee6ab801b8774caaa40e8914b258da91907d1433f591c470f5267eefb3a97"}},{"ruleId":"D1","level":"warning","message":{"text":"content.readClipScope (cyclomatic 24): content.readClipScope has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77828149bbf79188638dca658bf7b239b3925c97ec8fb70f7f3fb4115c10554"}},{"ruleId":"D1","level":"warning","message":{"text":"cadTools.cornerClick (cyclomatic 24): cadTools.cornerClick has cyclomatic complexity 24 (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":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b3d2948c6f60edf196f0d356018f7f98abcdb12e5e5644e5bb78200ec1b922"}},{"ruleId":"D1","level":"warning","message":{"text":"formula.parseFormula (cyclomatic 24): formula.parseFormula 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 4 function items inside it that branch (primary, expr, isOp, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/columns/formula.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dba41fd01cc724d5abf46b0e4cc26055c203adb07738e4ed69d56568e093250"}},{"ruleId":"D1","level":"warning","message":{"text":"marks.readLabel (cyclomatic 24): marks.readLabel has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 2 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c808cebe84e6641164a037baf77bb5244f351f0934c5e52f4443570eef8c4d0"}},{"ruleId":"D1","level":"warning","message":{"text":"marks.findOnPage (cyclomatic 24): marks.findOnPage has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to one function item 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bb8980f2a401c4874e58317dc640d567986850c2d98870b533b70e23aef08f"}},{"ruleId":"D1","level":"warning","message":{"text":"reports.detail (cyclomatic 24): reports.detail has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"apps/web/src/takeoff/reports.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd905aa6c0b4cb2896eac070b3f917756cffb8032b57c04862c7086c2632a9b"}},{"ruleId":"D1","level":"warning","message":{"text":"pdfSign.signPdf (cyclomatic 24): pdfSign.signPdf has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"699da3990e7bfc46e4fbc977ece775b4e5f5fcb731ed0d44e82671ff623673c5"}},{"ruleId":"D1","level":"warning","message":{"text":"forms.modelOf (cyclomatic 24): forms.modelOf has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 belong to 3 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dee780e9cd0e4b2c8f91e3366fd773f34fdfb4309d9aff3bbb12cd359a199ee"}},{"ruleId":"D1","level":"warning","message":{"text":"export.mergeAnnotation (cyclomatic 24): export.mergeAnnotation has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/export.ts"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"a745b4119fd98404b90f3b2be71e47b109354688cf450615488cd676749f6b26"}},{"ruleId":"D1","level":"warning","message":{"text":"export.writeColumns.entries (cyclomatic 24): export.writeColumns.entries has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item 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":"packages/markup/src/export.ts"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"577a97a7bcbf33d70d7da0b74ce1b7614f4094def84445a02f9efa3315608942"}},{"ruleId":"D1","level":"warning","message":{"text":"toolchest.execContent (cyclomatic 24): toolchest.execContent has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b2b73260b9f45f79412c613bd32211580f988c02c1091518520d0a7efe1a1f"}},{"ruleId":"D1","level":"warning","message":{"text":"cadTools.cadPickTarget (cyclomatic 23): cadTools.cadPickTarget has cyclomatic complexity 23 (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":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7023b58eda0916635a6ba2ef664f8c24bd1ea8648498d8c8cdfeaa131b30ae"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.joinSelected (cyclomatic 23): MarkupTools.joinSelected has cyclomatic complexity 23 (threshold 15). Of this number, 21 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4779}}}],"partialFingerprints":{"codehealthFindingId/v1":"e818f6ae22a6c1867d717fdc59923e3ce0ce9d9623d191eafa8d8265d7704838"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertiesPanel.MeasurementSection (cyclomatic 23): PropertiesPanel.MeasurementSection has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d6649cee533105fb1047486685d63998d1c2b6ab4573f2fba87c9544917546"}},{"ruleId":"D1","level":"warning","message":{"text":"SheetScaleReview.SheetScaleReview (cyclomatic 23): SheetScaleReview.SheetScaleReview 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 literals inside it that branch (lines 107, 170, 59, \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":"apps/web/src/components/SheetScaleReview.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bcaee5cc77978428bcf49d973070fa386e7ac905379790b4cefe4b74af88eb"}},{"ruleId":"D1","level":"warning","message":{"text":"TextEditor.TextEditor::onKeyDown (cyclomatic 23): TextEditor.TextEditor::onKeyDown has cyclomatic complexity 23 (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":"apps/web/src/components/TextEditor.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ea762219efb2b9e14baef68ebb6936d5d955cf9e39c9fd8eb048c4c17903b6"}},{"ruleId":"D1","level":"warning","message":{"text":"imagePdf.imageDpi (cyclomatic 23): imagePdf.imageDpi has cyclomatic complexity 23 (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":"apps/web/src/documents/imagePdf.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"453632292654f6efa9b2c93d63b100fb1ff4953862675b6038ace0ad61b397cc"}},{"ruleId":"D1","level":"warning","message":{"text":"PublishDialog.PublishDialog (cyclomatic 23): PublishDialog.PublishDialog has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 3 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":"apps/web/src/components/PublishDialog.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1707fe4bf9d7cb3f88967c811b0679648668983fab3533f68b4a4da125b5255"}},{"ruleId":"D1","level":"warning","message":{"text":"TableCellEditor.TableCellEditor (cyclomatic 23): TableCellEditor.TableCellEditor has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (onKeyDown, finish, onKeyDown::along, \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":"apps/web/src/components/TableCellEditor.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f5a94fd58932c968be9878ba316e1945fbe6ea648a9aac2837cb47d7443939"}},{"ruleId":"D1","level":"warning","message":{"text":"CadConvertDialog.CadConvertDialog (cyclomatic 23): CadConvertDialog.CadConvertDialog has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 35, 50, 57, \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":"apps/web/src/components/CadConvertDialog.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f285348007ae57f5f27e8b3593bfe39a1dc860246266076ac6904b8eccce3a3"}},{"ruleId":"D1","level":"warning","message":{"text":"assistantStandards.proposeSheetLinks (cyclomatic 23): assistantStandards.proposeSheetLinks 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 one function literal inside it that branches (line 143). 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":"apps/web/src/desktop/assistantStandards.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"949610dc5343730d50fa1022f35fbe787b6d2d33a2567eed473ed50020129333"}},{"ruleId":"D1","level":"warning","message":{"text":"activeContent.findActiveContent (cyclomatic 23): activeContent.findActiveContent 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 3 function items inside it that branch (visit, runs, deref). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/activeContent.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"531d114a35e1faa8f702c2db88d4b17ac67c6954f31195415b213ea1a018754f"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App::runExport (cyclomatic 23): App.App::runExport has cyclomatic complexity 23 (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: 8 other methods here (App.App, App.App::saveAsTemplate, App.App::useToolItem, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 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":"apps/web/src/App.tsx"},"region":{"startLine":6291}}}],"partialFingerprints":{"codehealthFindingId/v1":"9550ad313d0d448c091e245c6adae0f91b7d955f1bb3b1fcc82fa4ccfed1bb85"}},{"ruleId":"D1","level":"warning","message":{"text":"RawWriter.write (cyclomatic 23): RawWriter.write has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 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":"packages/markup/src/bax.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9d932174d80cf6ea2a05b897ed56e3a35b28d49762f6c47cbaed20010cc038"}},{"ruleId":"D1","level":"warning","message":{"text":"fdf.fdfFromPdf (cyclomatic 23): fdf.fdfFromPdf 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 3 function items inside it that branch (visit, a function literal at line 271, nameOfAnnot). 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":"packages/markup/src/fdf.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"beebbe022f4d1fab0719ec6d52403e104c1c1df18335d24a0ad044a25b0f51e4"}},{"ruleId":"D1","level":"warning","message":{"text":"Scanner.skipInlineImage (cyclomatic 22): Scanner.skipInlineImage has cyclomatic complexity 22 (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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"525557a7c4840d1665393513d2f7e60a699c5ad598bebf05f11d94b60cbef5b7"}},{"ruleId":"D1","level":"warning","message":{"text":"content.parseStrokeForm (cyclomatic 22): content.parseStrokeForm has cyclomatic complexity 22 (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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a4a1dabfc8348be4fb8667692a22ebe80a6e6b3cc51e8c835c6b3d01771f96"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.finish (cyclomatic 22): MarkupTools.finish has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8783e3f52f749cf9077ed16f0699a09cfc5063105061d66b4ac799f31aacd698"}},{"ruleId":"D1","level":"warning","message":{"text":"ifc.parseIfc::item (cyclomatic 22): ifc.parseIfc::item has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: 2 other methods here (ifc.parseIfc, ifc.parseIfc::curve) 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":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e7560b5ec234769681132f32ce1c451a5365cfab1776a42f3a9922bd7ca48d"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveSession.readFile (cyclomatic 22): DriveSession.readFile has cyclomatic complexity 22 (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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c70051cc39a66e0d665d4f3ad5a05bd0da4726f20248c916d6be61019c5eff1"}},{"ruleId":"D1","level":"warning","message":{"text":"marks.sectionFrame (cyclomatic 22): marks.sectionFrame has cyclomatic complexity 22 (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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b26105c15ad3a47a1db62d9316707ca97ddf535a77778ab16da052d6ec1860"}},{"ruleId":"D1","level":"warning","message":{"text":"StampsDialog.StampFieldsBuilder (cyclomatic 22): StampsDialog.StampFieldsBuilder has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 15 function items inside it that branch (a function literal at line 195, add, a function literal at line 236, \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":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a61b52c9b20e315b0f01b1d037a616ee25714e87cd66649858faa5cb33423d"}},{"ruleId":"D1","level":"warning","message":{"text":"revuLibraries.importRevuFiles (cyclomatic 22): revuLibraries.importRevuFiles has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item 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":"apps/web/src/toolchest/revuLibraries.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9b94a11de021bf4fbd4de3563ed89c40375914c44002e5200586a9de9ff2c7"}},{"ruleId":"D1","level":"warning","message":{"text":"process.reduceFileSize (cyclomatic 22): process.reduceFileSize has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/process.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c862265be993e3102c548de947d0a2fc13df5f6b5aa7cdea5886609e5f6c9aeb"}},{"ruleId":"D1","level":"warning","message":{"text":"ltv.addDss (cyclomatic 22): ltv.addDss has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item 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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bf33b6e6f9490de8df9120368963ea03732b37c9ce16852f04aad47448ea0e"}},{"ruleId":"D1","level":"warning","message":{"text":"pki.ocspStatus (cyclomatic 22): pki.ocspStatus has cyclomatic complexity 22 (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":"apps/web/src/documents/pki.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"d681c39a0d734d8e0a19286c446e9f3eb42c11bf3fc3569a5a73f24b3689cca7"}},{"ruleId":"D1","level":"warning","message":{"text":"layers.layersOnPages (cyclomatic 22): layers.layersOnPages has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 3 function items inside it that branch (ocgsOf, scan, a function literal at line 114). 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":"apps/web/src/documents/layers.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e44c7ad7e560dc098e8f8a3f19820dfd474a8ca56bc30e0b55e1c6720e63d1"}},{"ruleId":"D1","level":"warning","message":{"text":"FieldEditor.FieldEditor (cyclomatic 22): FieldEditor.FieldEditor has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 4 function items inside it that branch (keys, a function literal at line 21, finish, \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":"apps/web/src/components/FieldEditor.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedc6b82ce39b24237004f824926f7778fc2e3285b4ad525db4d0186a17e1c92"}},{"ruleId":"D1","level":"warning","message":{"text":"CompareResultsPanel.CompareResultsPanel (cyclomatic 22): CompareResultsPanel.CompareResultsPanel has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 106, go, a function literal at line 40, \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":"apps/web/src/components/CompareResultsPanel.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2d5c58e65de1ae9c3673b2441c3017cd67f612007c3e9d572634146c72cc81"}},{"ruleId":"D1","level":"warning","message":{"text":"text.mtextHeightRuns (cyclomatic 22): text.mtextHeightRuns has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 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":"apps/web/src/cad/text.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe9aa5e650c1976719546ab31bea27f54ba6faaf4b977d0db399d21a5d28c5e"}},{"ruleId":"D1","level":"warning","message":{"text":"callout.calloutLanding (cyclomatic 22): callout.calloutLanding has cyclomatic complexity 22 (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":"packages/markup/src/callout.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b40966126410ed441fb8a14bf318cfc14a82612a8748c5b580461553443752"}},{"ruleId":"D1","level":"warning","message":{"text":"bookmarkTemplate.place (cyclomatic 22): bookmarkTemplate.place has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 4 function items inside it that branch (walk, find, a function literal at line 84, \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":"packages/markup/src/bookmarkTemplate.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"166a854d06fe1a95c4336be794ec83f09c5dde5d53de26be1b6158311394dd41"}},{"ruleId":"D1","level":"warning","message":{"text":"bsiLegend.keyFor (cyclomatic 22): bsiLegend.keyFor has cyclomatic complexity 22 (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":"packages/markup/src/bsiLegend.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bfe8ea5fe5576a86426f301f4d1b9eed573d9e5bdcabd5a8a183656a25c53c"}},{"ruleId":"D1","level":"warning","message":{"text":"cad.stretchMarkup (cyclomatic 22): cad.stretchMarkup has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/cad.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fccfd5a59630a59ef37fdf994a1a80c6628f3cd2bb0315c629e6438d27d758"}},{"ruleId":"D1","level":"warning","message":{"text":"pdfExtras.readPdfExtras (cyclomatic 22): pdfExtras.readPdfExtras has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/pdfExtras.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4ae5f933f39efd1d2d6e8624acb8ffaef4295eb3eff1449c982b1d3d3d1a8c"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.extractWords (cyclomatic 22): worker.extractWords has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function item 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae74769a2ca6dc58a3840631263ad152b27fc5620beea5df4887f46eba3fd7f"}},{"ruleId":"D1","level":"warning","message":{"text":"links.findDetailTitle (cyclomatic 22): links.findDetailTitle has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. 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":"packages/sheets/src/links.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"528e4f6754577ee09b4cf3f9e90f9d5f1f9b73effbe689320e0dcf2116d170e1"}},{"ruleId":"D1","level":"warning","message":{"text":"groupBox.groupAffine (cyclomatic 21): groupBox.groupAffine has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/groupBox.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"992624b01b5503731f2a7962f46fd41fab37922392f55cafd845c3bef0e9e1a9"}},{"ruleId":"D1","level":"warning","message":{"text":"script.applySet (cyclomatic 21): script.applySet 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b880fb35c1b9d2b67e5051c49d67e8e951209d0ff9606005f8959595b0b80178"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessDialog.ProcessDialog (cyclomatic 21): ProcessDialog.ProcessDialog has cyclomatic complexity 21 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 4 belong to 3 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":"apps/web/src/components/ProcessDialog.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0c52d5a93a0a651668b664b749eebe3d5b017b37e0e0084f6b42e0a865f138"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionsPanel.RecordView (cyclomatic 21): SessionsPanel.RecordView has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. 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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f5d9fcbac293a13eee69e02d95cc4ae5c6a8831607e77e92d54c7cfb3e9e6a"}},{"ruleId":"D1","level":"warning","message":{"text":"lineStyle.lineArt (cyclomatic 21): lineStyle.lineArt has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/lineStyle.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"298fc21706d70dfe7525eadae5f9c83a389c2b5bdeff4dda7dc039443747a29f"}},{"ruleId":"D1","level":"warning","message":{"text":"bsiLegend.bsiLegendValue (cyclomatic 21): bsiLegend.bsiLegendValue has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 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":"packages/markup/src/bsiLegend.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"78422b152dca3bf9c25a6a2cb9e27fccee5dc9d339ffd334e905ebb77285bbc8"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupStore.importAnnotations (cyclomatic 21): MarkupStore.importAnnotations has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 791, 802). 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":"packages/markup/src/store.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c81d5b4dc9a907d43daf6c433bfd05c71f039f2d62cedc9271a373b54f41712"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupStore.update (cyclomatic 21): MarkupStore.update has cyclomatic complexity 21 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: 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":"packages/markup/src/store.ts"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"043c636c5df59fee999f4c00a7cb0a0ce2f770531034f7cd437ce3a9f3153be9"}},{"ruleId":"D1","level":"warning","message":{"text":"geo.projectionOfEpsg (cyclomatic 21): geo.projectionOfEpsg has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/geo.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3beeb745e863843f276e3aec4bac6f751f6edaaeb205f60f14fa6c9799b06ba8"}},{"ruleId":"D1","level":"warning","message":{"text":"lineStyleEdit.draftProblem (cyclomatic 21): lineStyleEdit.draftProblem has cyclomatic complexity 21 (threshold 15). Of this number, 15 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":"packages/markup/src/lineStyleEdit.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea9db79aaf3f93d179fc3961392cef765f77eb9a6e88818c896072945f843fd"}},{"ruleId":"D1","level":"warning","message":{"text":"fill.outerBoundary (cyclomatic 21): fill.outerBoundary has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 belong to 2 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":"packages/measure/src/fill.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cc85cef750dccd30e6124065a35bad9cb3c90451c8c8535860a74dec9476e9"}},{"ruleId":"D1","level":"warning","message":{"text":"rasterSearch.rasterSearch (cyclomatic 21): rasterSearch.rasterSearch has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 109, 137). 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":"packages/measure/src/rasterSearch.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb31ae7acd4792c8c1a2e43b0f9687eb79446127c9a2498b63f7fac406cfd50d"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.readAnnotations (cyclomatic 21): worker.readAnnotations 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"4946b86dbcf0b69feb5285ee3c55b16dfb9541d65c5ee3a72de6aa0f079022d1"}},{"ruleId":"D1","level":"warning","message":{"text":"incremental.saveIncremental (cyclomatic 20): incremental.saveIncremental has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/incremental.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"983cbf3b39e577a74c9bba839fc958dc0dc5d239556981b90c3dcca764dddbba"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.addNextShape (cyclomatic 20): MarkupTools.addNextShape has cyclomatic complexity 20 (threshold 15). Of this number, 16 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdf33f71a5fc0796d1e3b0d49b6ee4bc076e550da102846a1b66cd2760db03c"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.rest (cyclomatic 20): MarkupTools.rest has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4252}}}],"partialFingerprints":{"codehealthFindingId/v1":"147e625e657b7a73634315585e6f0fadaef71564187d5252def08de8b90a122c"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.pickTargetsAt (cyclomatic 20): MarkupTools.pickTargetsAt has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4581}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8e8d929c02083679fd2dec5c6c89366b3366b5ed638a62670b9b3ab6d4cb94"}},{"ruleId":"D1","level":"warning","message":{"text":"listColumns.matchesFilter (cyclomatic 20): listColumns.matchesFilter 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cab6aa4ab791bf40e1ce2419b60939452d5adf35fb1b81900cf2bd266b5ba3"}},{"ruleId":"D1","level":"warning","message":{"text":"LineStyleSelect.LineStyleSelect (cyclomatic 20): LineStyleSelect.LineStyleSelect has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 3 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":"apps/web/src/components/LineStyleSelect.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6cd015fa1ca27138006d3e90b41d1b61ef28e888c208105ba1dd3beeb41dfb"}},{"ruleId":"D1","level":"warning","message":{"text":"TemplatesDialog.TemplatesDialog (cyclomatic 20): TemplatesDialog.TemplatesDialog has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 65, a function literal at line 141, what, \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":"apps/web/src/components/TemplatesDialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2b6ca8c1bd4b89bf61ee2c9e8434c36a0b3aa00af03845bd262e659a3a1f13"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentsTableDialog.CommentsTableDialog (cyclomatic 20): CommentsTableDialog.CommentsTableDialog has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 77, 34, 88, \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":"apps/web/src/components/CommentsTableDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d839e0c184543e13b3e449795fd688f2e182993207501d9a554aec4945cdc98"}},{"ruleId":"D1","level":"warning","message":{"text":"process.flattenAnnotations (cyclomatic 20): process.flattenAnnotations has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item 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":"apps/web/src/documents/process.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"819e5e2335f192204e42a65afcb1dc7de9c2a70e2af1919415328219759451fc"}},{"ruleId":"D1","level":"warning","message":{"text":"semantic.counterpart (cyclomatic 20): semantic.counterpart 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":"apps/web/src/compare/semantic.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ed1122ed2f9acc103315ad432cddec5f8d172b2504c81f84f3c5f7dfc750b8"}},{"ruleId":"D1","level":"warning","message":{"text":"ScaleRegionsPanel.ScaleRegionsPanel (cyclomatic 20): ScaleRegionsPanel.ScaleRegionsPanel has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ScaleRegionsPanel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f0c106141db99041c563903246cb59742ba63957c7aa3e08b05c704f509931"}},{"ruleId":"D1","level":"warning","message":{"text":"CalibrateDialog.CalibrateDialog (cyclomatic 20): CalibrateDialog.CalibrateDialog has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 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":"apps/web/src/components/CalibrateDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6404c5e1f4d097ed0a7be5e47f179e04ac472f481f9eca90c18be330989dded0"}},{"ruleId":"D1","level":"warning","message":{"text":"Project.poll (cyclomatic 20): Project.poll 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":"apps/web/src/studio/projects/Project.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"507e820285b3f6425387f085f11aae700d602133568df74422ef35dc2194d408"}},{"ruleId":"D1","level":"warning","message":{"text":"assistantSymbols.findSymbolMatches (cyclomatic 20): assistantSymbols.findSymbolMatches has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantSymbols.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5500656adc377dc1884a1a28469d9e85e9252c90861141c60788ada6b0d8d664"}},{"ruleId":"D1","level":"warning","message":{"text":"pdfTemplates.drawingSheet (cyclomatic 20): pdfTemplates.drawingSheet 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":"apps/web/src/documents/pdfTemplates.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3b8a37a016bb9abe0676b092d3a7c7c92e8c04500088db052adf3e27a8f19e"}},{"ruleId":"D1","level":"warning","message":{"text":"table.tableLineAt (cyclomatic 20): table.tableLineAt has cyclomatic complexity 20 (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":"packages/markup/src/table.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a099c2c4273f025a06833ef083dab2f2452457421145897dfc6648b2d407f84"}},{"ruleId":"D1","level":"warning","message":{"text":"columns.bluebeamColumnsFromXml (cyclomatic 20): columns.bluebeamColumnsFromXml has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, 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":"packages/markup/src/columns.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6a3acf85e99782d170ad4d20a8868abe83b01b4bc913a6ce52a81ef270b3a8"}},{"ruleId":"D1","level":"warning","message":{"text":"estimating.sanitizeItems (cyclomatic 20): estimating.sanitizeItems has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item 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":"packages/markup/src/estimating.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"818b01f264ed429452828d87150a9e00ee4f437f0471ecdad5884897d888ad9b"}},{"ruleId":"D1","level":"warning","message":{"text":"flowchart.routeConnector (cyclomatic 20): flowchart.routeConnector has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/flowchart.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45f05ecf38c7ed5c3721d83f5a2cd3767c6e66c71fb2a5c8aae1068ec8d3b6c"}},{"ruleId":"D1","level":"warning","message":{"text":"pdfExtras.imageDataUrl (cyclomatic 20): pdfExtras.imageDataUrl has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/pdfExtras.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d713786f2235dd6036e32ce065f77f92521f51adcaafdb6b189a976f5015a64c"}},{"ruleId":"D1","level":"warning","message":{"text":"report.reportPdf (cyclomatic 20): report.reportPdf has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 4 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":"packages/markup/src/report.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f5b532b43eb7aa5af9281d214026347dbb32c9da7579731c86ef0b779a3e34"}},{"ruleId":"D1","level":"warning","message":{"text":"scale.parseLength (cyclomatic 20): scale.parseLength 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":"packages/measure/src/scale.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c2acbf29fe21a80e6b879b81306adc865e76adc7335220153227f46e269e79"}},{"ruleId":"D1","level":"warning","message":{"text":"content.polylines (cyclomatic 19): content.polylines 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2b4158b8c8637f87cbd4c920c89d2eb30f33b0b847b86af3d900b04b98f5bb"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderCopyBuilder.plan (cyclomatic 19): RenderCopyBuilder.plan has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item 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":"apps/web/src/documents/renderCopy/renderCopy.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"903e72312503769c76c766afb3a1ca6f06a694ea888e093a046b12af97c3cc1c"}},{"ruleId":"D1","level":"warning","message":{"text":"xml.parseXml (cyclomatic 19): xml.parseXml 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":"apps/web/src/geospatial/xml.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7354e6eafd912f20cc95be1297fdf95400e21c87765523f69d9dea416247c6"}},{"ruleId":"D1","level":"warning","message":{"text":"landxml.parseLandXml::coordGeom (cyclomatic 19): landxml.parseLandXml::coordGeom 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. This shape REPEATS in the file: one other method here (landxml.parseLandXml) 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":"apps/web/src/geospatial/landxml.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea66e887c569ff9ca2ee073a156f73e4547c96f4bf3cac8f9cd376cc6d1de4b1"}},{"ruleId":"D1","level":"warning","message":{"text":"protocol.cleanPolicy (cyclomatic 19): protocol.cleanPolicy has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 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":"apps/web/src/studio/protocol.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72af35fb5aeb5834a3cb17a5d3ec30eff12acda135d05944903d402b55047cc"}},{"ruleId":"D1","level":"warning","message":{"text":"OneDrive.shareWithLink (cyclomatic 19): OneDrive.shareWithLink has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item 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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c67dfd5c91ed91d0b979030e2f7522813d50eda7632cb1f59b4207f5c95fe6f"}},{"ruleId":"D1","level":"warning","message":{"text":"marks.backgroundLines (cyclomatic 19): marks.backgroundLines 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 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"376c6f82994c1ce7b052e7074160622fc626347a36cb42280f6ee5b6e1c2ebac"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertiesPanel.CustomFields (cyclomatic 19): PropertiesPanel.CustomFields has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 380, 382, 403, \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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa14cefb45481f368762be3b144714f1ff6efc5bb5ec830d78b1ae1967bfa07"}},{"ruleId":"D1","level":"warning","message":{"text":"SignaturesPanel.SignaturesPanel (cyclomatic 19): SignaturesPanel.SignaturesPanel has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 289, validity, a function literal at line 236, \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":"apps/web/src/components/SignaturesPanel.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f86e8806aee5b14b6d91af6ab70fc4898da43814fe9058bd91687f5a114dc4e"}},{"ruleId":"D1","level":"warning","message":{"text":"script.parseScript (cyclomatic 19): script.parseScript has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 273). 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b3450d1e2c70e2cd05500d21c6501bb39d8512bcb7be23b33094dc3fca1ac4"}},{"ruleId":"D1","level":"warning","message":{"text":"MeasurementsPanel.Properties (cyclomatic 19): MeasurementsPanel.Properties has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 6 function items inside it that branch (commit, a function literal at line 690, a function literal at line 660, \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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"644183293f13ea1de816413460d0f1c641238aad88d49bea1ad735ad5b440082"}},{"ruleId":"D1","level":"warning","message":{"text":"MeasurementsPanel.Viewports (cyclomatic 19): MeasurementsPanel.Viewports has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 8 function items inside it that branch (removeMany, a function literal at line 924, a function literal at line 910, \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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6eed37cb713342d4fe723022c8f4243d8f117120f71282a63fc87edea481c59"}},{"ruleId":"D1","level":"warning","message":{"text":"ExportDialog.FilterMenu (cyclomatic 19): ExportDialog.FilterMenu has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 3 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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"05582f656b8ea44d8f56b69cbbdfdd39c8405efb5e277ce7bce9af613e0abcbc"}},{"ruleId":"D1","level":"warning","message":{"text":"pki.readTimestamp (cyclomatic 19): pki.readTimestamp 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":"apps/web/src/documents/pki.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b3f75d26ac4e1e7a884071dc5f42730e3bc3e050d9e330ccc758eb986315eb"}},{"ruleId":"D1","level":"warning","message":{"text":"diff.diffMasks (cyclomatic 19): diff.diffMasks has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"apps/web/src/compare/diff.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7629b50628d9468eb00f68e48124ef3cac774a1e948da05a44240e4d8a12640a"}},{"ruleId":"D1","level":"warning","message":{"text":"diff.diffWords (cyclomatic 19): diff.diffWords has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to 4 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":"apps/web/src/compare/diff.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9224adde454f7ca6c157c55ccc1a8f62fc5a8fefed92d6d448c666a279c4721"}},{"ruleId":"D1","level":"warning","message":{"text":"SecurityDialog.SecurityDialog (cyclomatic 19): SecurityDialog.SecurityDialog has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 3 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":"apps/web/src/components/SecurityDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"162512ebb6a6862a958b0218963b4197f2d85fb5091f83c966b74895ba55e53a"}},{"ruleId":"D1","level":"warning","message":{"text":"FormsPanel.ValueEditor (cyclomatic 19): FormsPanel.ValueEditor has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 belong to 4 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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c023bb7b2204e711a91458fe54f29c28f5dcaf78e226f1d5596ab15784feee"}},{"ruleId":"D1","level":"warning","message":{"text":"PictureColoursDialog.PictureColoursDialog (cyclomatic 19): PictureColoursDialog.PictureColoursDialog has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 56, 66, 79, \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":"apps/web/src/components/PictureColoursDialog.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a554b363cebf0f1fb9b332423dcbcf80f451e8cdc9cc13db2af47e99713a5c9a"}},{"ruleId":"D1","level":"warning","message":{"text":"lz77.lz77ac18 (cyclomatic 19): lz77.lz77ac18 has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 4 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":"apps/web/src/cad/dwg/lz77.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"24abc1fd4ed4c7cc1ef69ecd3528c61b8239f9bc85d49a4c2ea7052e90023ee7"}},{"ruleId":"D1","level":"warning","message":{"text":"render.text (cyclomatic 19): render.text has cyclomatic complexity 19 (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":"apps/web/src/cad/render.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4b41f711a09cdf2888c61c7cd2f9f1c08524295b60fcc4e53af5f30fd5b737"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionsPanel.SessionsPanel (cyclomatic 19): SessionsPanel.SessionsPanel has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to 3 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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1210badee445fa93ef6e87b6d42a9ca54f02c4be099a0c5205be7df0140c3c78"}},{"ruleId":"D1","level":"warning","message":{"text":"InviteDialog.InviteDialog (cyclomatic 19): InviteDialog.InviteDialog has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to 4 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":"apps/web/src/components/sessions/InviteDialog.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9119cdcd28686f974f6768f6663b899562196eaeb80a22760d8a113cb9b5303"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App::markupMenu::tableItems (cyclomatic 19): App.App::markupMenu::tableItems has cyclomatic complexity 19 (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. This shape REPEATS in the file: 8 other methods here (App.App, App.App::saveAsTemplate, App.App::useToolItem, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 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":"apps/web/src/App.tsx"},"region":{"startLine":6938}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c485c31c1d4b7375c5672b8ffb4e824c3c17d870597516c5fe1a203a59a9cc"}},{"ruleId":"D1","level":"warning","message":{"text":"estimating.sanitizeTemplates (cyclomatic 19): estimating.sanitizeTemplates 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":"packages/markup/src/estimating.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ed0f1a7c2b898cf319fb91522682f01101a851271454aa24c83b0ca36ce0e6"}},{"ruleId":"D1","level":"warning","message":{"text":"arrange.segmentsCross (cyclomatic 19): arrange.segmentsCross has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/arrange.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8de6a74e12fa52bef7a89b3b8dc17a3070e7e808648a08f2687d07e9eb8a42"}},{"ruleId":"D1","level":"warning","message":{"text":"arrange.drawnGeometry (cyclomatic 19): arrange.drawnGeometry 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":"packages/markup/src/arrange.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eff845dc298971e57fed093a38af0c9b6a5ae01ed9871cfcffc162acca99479"}},{"ruleId":"D1","level":"warning","message":{"text":"export.writeViewports (cyclomatic 19): export.writeViewports has cyclomatic complexity 19 (threshold 15). Of this number, 15 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":"packages/markup/src/export.ts"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b4327e2ae11a6c4e585ff1b6199b4ad36506f688119294655663eebc59d5dd"}},{"ruleId":"D1","level":"warning","message":{"text":"revuWrite.writeBlx (cyclomatic 19): revuWrite.writeBlx has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 56, 85). 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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6970c37188b7ffd3cea90ea4d3a16302a577bb925d0b87c9444a9862264ed138"}},{"ruleId":"D1","level":"warning","message":{"text":"visualSearch.visualSearch (cyclomatic 19): visualSearch.visualSearch has cyclomatic complexity 19 (threshold 15). Of this number, 17 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":"packages/measure/src/visualSearch.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f60d2540d12880482b14e7626f4ed085fd7982c1457f533bb3dd4cffcecc235"}},{"ruleId":"D1","level":"warning","message":{"text":"chainage.readChainages (cyclomatic 19): chainage.readChainages 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":"packages/sheets/src/chainage.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3182900bc582b8f8d156eb760e79483454b769d986cda96bb19a065b8e5a37b"}},{"ruleId":"D1","level":"warning","message":{"text":"excel.writeWorkbook (cyclomatic 18): excel.writeWorkbook 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":"apps/desktop/src/excel.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"542d92f1ce9425a778339b1712a67255f8791494c2faf883dd299d54e0cc738b"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemFonts.scan (cyclomatic 18): SystemFonts.scan has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (walk, worker, a function literal at line 261). 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":"apps/desktop/src/fonts.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b714840986247cd9ab4ed4d1b47c76b19249d53e7a10c70a234ebbe6e649cb"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenService.sign (cyclomatic 18): TokenService.sign has cyclomatic complexity 18 (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":"apps/desktop/src/token.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"86693f2ccdaeb3bdbca70057f838f706f7484e72971f479dec1ee8bccd5f9d70"}},{"ruleId":"D1","level":"warning","message":{"text":"keys.keyName (cyclomatic 18): keys.keyName 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":"apps/web/src/commands/keys.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"565280d7ea9b978b513b0f6fd4002c1ab0d6b3cfb82dfc3585db7f29f89f5a9a"}},{"ruleId":"D1","level":"warning","message":{"text":"TileViewer.onPointerMove (cyclomatic 18): TileViewer.onPointerMove 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ea70bf6b9930739e3129815129dda59cec341c35196143876ea74521e53797"}},{"ruleId":"D1","level":"warning","message":{"text":"images.rescalable (cyclomatic 18): images.rescalable 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":"apps/web/src/documents/renderCopy/images.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd943ebf7f131c0a33536e8f05bdfc19e38b3a9f4649ac8ba2844dfd18bdf94d"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.fillAt (cyclomatic 18): MarkupTools.fillAt 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"02669579c8aaffd0faa16e9a1c761d234ea673c10c9dfbdd18ace8d29a280017"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.drawLinks (cyclomatic 18): MarkupTools.drawLinks has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3986}}}],"partialFingerprints":{"codehealthFindingId/v1":"560ac8fe1d4307d62d8cd00b90bc7f9dcca37a8330d455d17947dba5875535e7"}},{"ruleId":"D1","level":"warning","message":{"text":"QuantitiesDialog.QuantitiesDialog (cyclomatic 18): QuantitiesDialog.QuantitiesDialog has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 93, a function literal at line 29, a function literal at line 38, \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":"apps/web/src/components/QuantitiesDialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a7916a3a313a362e6bdb60da57137e4ecf0d4684f5acc8e00f0a2352cc8c78"}},{"ruleId":"D1","level":"warning","message":{"text":"scaleCheck.scaleBars (cyclomatic 18): scaleCheck.scaleBars has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/measure/scaleCheck.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7f4dd67d6a3f252b8b9bd21ea95e779f1ab64a5663be08d10bef0a668087d8"}},{"ruleId":"D1","level":"warning","message":{"text":"semantic.compareParagraphs.changes (cyclomatic 18): semantic.compareParagraphs.changes 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":"apps/web/src/compare/semantic.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6bd4e3b952e36c2557a37ab05521b564e011fb68b53128cc38c073cee4f4e4"}},{"ruleId":"D1","level":"warning","message":{"text":"Ribbon.SlopePicker (cyclomatic 18): Ribbon.SlopePicker has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 5 function items inside it that branch (apply, a function literal at line 568, a function literal at line 542, \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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f28b05fca07b89222f0c028dc7d95216ea7dbf3e909dfcbfbce24853b734a78"}},{"ruleId":"D1","level":"warning","message":{"text":"revuMigration.runRevuMigration (cyclomatic 18): revuMigration.runRevuMigration 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":"apps/web/src/migrate/revuMigration.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8579f5bafe3375365588f38b2d7a8b98c36a1c0e6a17398cbb5bb6676c741b5f"}},{"ruleId":"D1","level":"warning","message":{"text":"PagesPanel.PagesPanel::keys (cyclomatic 18): PagesPanel.PagesPanel::keys has cyclomatic complexity 18 (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":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ad3b568370c454fb1dca6405d2d90ccf999d59c79a8431db92aba9b7e7fb87"}},{"ruleId":"D1","level":"warning","message":{"text":"LinksPanel.LinksPanel (cyclomatic 18): LinksPanel.LinksPanel has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 5 function items inside it that branch (row, a function literal at line 81, a function literal at line 37, \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":"apps/web/src/components/LinksPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c157e9149ae023f281afa4456f2a3a1d3e158121d457f4cb776d07896590bdff"}},{"ruleId":"D1","level":"warning","message":{"text":"StandardSettings.StandardSettings (cyclomatic 18): StandardSettings.StandardSettings has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to 6 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":"apps/web/src/components/standardsWizard/StandardSettings.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fab9f7fde09e36f0517ae8326e2d480f275af0aa4d6a11ff112c81068bbc10"}},{"ruleId":"D1","level":"warning","message":{"text":"wizardLinks.learnMatchLine (cyclomatic 18): wizardLinks.learnMatchLine 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":"apps/web/src/sheets/wizardLinks.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba0cb287a4c12109c034cda7ad3adcc0d2b258d2883f96ff791d6a6717360a6"}},{"ruleId":"D1","level":"warning","message":{"text":"assistantScales.proposePageScale (cyclomatic 18): assistantScales.proposePageScale 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":"apps/web/src/desktop/assistantScales.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd3c90d5105323dec800e433c722e702c8ef8a33684344b486f384878cb8fd6"}},{"ruleId":"D1","level":"warning","message":{"text":"table.cleanFormats (cyclomatic 18): table.cleanFormats has cyclomatic complexity 18 (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":"packages/markup/src/table.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dde45c40a1608043145da7db03f481293cd860ef254d23a646b014e64668475"}},{"ruleId":"D1","level":"warning","message":{"text":"geometry.lineEnding (cyclomatic 18): geometry.lineEnding has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/geometry.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1bab814deb26e40e42959730bc86fbb9976b83563907e6ced66497d462e039"}},{"ruleId":"D1","level":"warning","message":{"text":"bax.baxTypeInternal (cyclomatic 18): bax.baxTypeInternal has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 54). 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":"packages/markup/src/bax.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"78690db94de33468234c592b6cb74bf225e4b405b9a18f016ca14d88cc93c7c1"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupStore.constructor (cyclomatic 18): MarkupStore.constructor has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 233, label, a function literal at line 225). 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":"packages/markup/src/store.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaa265eb3b439594865ac9859ac0817822301915b3f1274953dbd87d58afe96"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupStore.refresh (cyclomatic 18): MarkupStore.refresh has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/store.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2933b6ee0b9067cf7bb3a907987e9ebd626caea09959e657a576580c69a47b66"}},{"ruleId":"D1","level":"warning","message":{"text":"pdfExtras.removePredictor (cyclomatic 18): pdfExtras.removePredictor 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":"packages/markup/src/pdfExtras.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a4dd36d9c0a20bf48dd13f6621aa63edfc453692f1ca57eaf4297ca6682d96"}},{"ruleId":"D1","level":"warning","message":{"text":"snapPoints.unrotatedSnapPoints (cyclomatic 18): snapPoints.unrotatedSnapPoints has cyclomatic complexity 18 (threshold 15). Of this number, 11 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":"packages/markup/src/snapPoints.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4507d0b40749bdec38e98c0b755c39e211092df82f29aead7e8832132a9fd796"}},{"ruleId":"D1","level":"warning","message":{"text":"tracking.track (cyclomatic 18): tracking.track 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":"packages/measure/src/tracking.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6141ba51de31f5c1ade4abccc3692f73dacd328aea2418e1cfafbee053631262"}},{"ruleId":"D1","level":"warning","message":{"text":"server.listenForAssistant (cyclomatic 17): server.listenForAssistant has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 28, 15, 57, \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":"apps/desktop/src/assistant/server.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0049448be946a37760554857e2c7752223c6d5b01f2db6f32bd6f4aa63883bc2"}},{"ruleId":"D1","level":"warning","message":{"text":"selectionFormat.followFormat (cyclomatic 17): selectionFormat.followFormat 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":"apps/web/src/markup/selectionFormat.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c383ac91ba5a5abb961a87cabd9b690062012da159552f783054764f37350d"}},{"ruleId":"D1","level":"warning","message":{"text":"ifc.parseIfc::curve (cyclomatic 17): ifc.parseIfc::curve 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 (ifc.parseIfc, ifc.parseIfc::item) 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":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea616bcbcf58cbba508064fb6f18a66a12d5fc8ac32b44807fb8b0e1202b3b8e"}},{"ruleId":"D1","level":"warning","message":{"text":"OneDrive.listPermissions (cyclomatic 17): OneDrive.listPermissions has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 924). 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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b9a2e23c0e4faf2ff53e629ad462ef9bfbf5d393082eefc5c829f34f97cbc9"}},{"ruleId":"D1","level":"warning","message":{"text":"exportSummary.outputColumns (cyclomatic 17): exportSummary.outputColumns has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/summary/exportSummary.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"05784fbd07746a6ecd6c365b064f7da27197633016960aad184c1c9edffa9633"}},{"ruleId":"D1","level":"warning","message":{"text":"exportSummary.buildSummary (cyclomatic 17): exportSummary.buildSummary has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/summary/exportSummary.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a767ec240514b088f9bc53e3d0fed9b9f9800c8a6744a57ffb09475cf25c661"}},{"ruleId":"D1","level":"warning","message":{"text":"pdfSign.statusAt (cyclomatic 17): pdfSign.statusAt has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"38afb380f532053896ba31050775e5b597c2d74805eda3ed5856cfd8f5140c69"}},{"ruleId":"D1","level":"warning","message":{"text":"DigitalSignatures.CardPicker (cyclomatic 17): DigitalSignatures.CardPicker has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 4 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d490edce31b74db070bb585663a1ea26cb0a431ed8cafc93b97b437cdb4c974b"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandPalette.CommandPalette (cyclomatic 17): CommandPalette.CommandPalette has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 64, a function literal at line 77, a function literal at line 34, \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":"apps/web/src/components/CommandPalette.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe4467474ea025562dcdd6e0153a3233d44488bd3e1bd5da7b9c36e80622303"}},{"ruleId":"D1","level":"warning","message":{"text":"SpellCheckDialog.SpellCheckDialog::change (cyclomatic 17): SpellCheckDialog.SpellCheckDialog::change 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":"apps/web/src/components/SpellCheckDialog.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b86e69357e092cbbfa8f52424ec8de855015f7510a1ded643aabd8ba1e2e2dd"}},{"ruleId":"D1","level":"warning","message":{"text":"revuFolder.classifyRevuPath (cyclomatic 17): revuFolder.classifyRevuPath has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/migrate/revuFolder.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"604daa7be50575aca32ad3e663c2f618056713d493eed5b1f4ef5f221ce03e03"}},{"ruleId":"D1","level":"warning","message":{"text":"objects.text (cyclomatic 17): objects.text has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffc47a34135fa2a51fd2307f1f1e814652fc5a92c990a2f75262ad36420d124"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionDialogs.SessionSettingsDialog (cyclomatic 17): SessionDialogs.SessionSettingsDialog has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 5 function items inside it that branch. 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":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc14b5da9f7af91f03dfe9cdbb19b742cb7f7ced5fdb13245965c84ae06de3c4"}},{"ruleId":"D1","level":"warning","message":{"text":"assistantStitch.deleteMatchLines (cyclomatic 17): assistantStitch.deleteMatchLines has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantStitch.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e802de93cd552f85d852be98799cbd59219c09cdbc88e7a8e54e82d7b295b3"}},{"ruleId":"D1","level":"warning","message":{"text":"assistantStandards.listSheetLinks (cyclomatic 17): assistantStandards.listSheetLinks has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantStandards.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"31163eb443cd0bcb9b6c2846f5cf16f3c9dfa528fbb9233cc4e2ef8d4ec75e0b"}},{"ruleId":"D1","level":"warning","message":{"text":"assistant.requirePoints (cyclomatic 17): assistant.requirePoints 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af2d9eabe8712b6e805004062422655183e6d5f9f099685d67b9d3201324561"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App::runPublish (cyclomatic 17): App.App::runPublish 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: 8 other methods here (App.App, App.App::saveAsTemplate, App.App::useToolItem, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 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":"apps/web/src/App.tsx"},"region":{"startLine":8823}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e017dc2aa249821f84bd60658ad0ef74d7c9c27c1e6643d6abe7d610e0cf34"}},{"ruleId":"D1","level":"warning","message":{"text":"flowchart.routeCost (cyclomatic 17): flowchart.routeCost 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":"packages/markup/src/flowchart.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15adb7924b84c4f62ba0f284178a518fbeec17efac9d2a280a3d46659c20c67"}},{"ruleId":"D1","level":"warning","message":{"text":"pdfValue.toPdfValue (cyclomatic 17): pdfValue.toPdfValue has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/pdfValue.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f304cc549b6f81b736777ebca509aa7aec8e9e99d5e7f99d05aab75d64c01a"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupStore.setDetectedLinks (cyclomatic 17): MarkupStore.setDetectedLinks has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 583, overlaps). 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":"packages/markup/src/store.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ead335baf724025e2d7930ffd552049bf85534d45cdd847ec49f04c6e23c715"}},{"ruleId":"D1","level":"warning","message":{"text":"scale.scaleParts (cyclomatic 17): scale.scaleParts 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":"packages/measure/src/scale.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8bebc6555ce1cbeff6b9cad2879720a6e22d70bd0ff74adedb5dd1b86d66fb"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.editPdf (cyclomatic 17): worker.editPdf has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a72300f8dc8b9f03bc1e58ff0b8591ed64f60642175af89cfcb7b4866538a3c"}},{"ruleId":"D1","level":"warning","message":{"text":"detect.findTitle (cyclomatic 17): detect.findTitle has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 301, 302, 296, \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":"packages/sheets/src/detect.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81d1f5d72d7e483b2814adc4b6921a721c08ceea257885556b5a5916515948a"}},{"ruleId":"D1","level":"warning","message":{"text":"manual.manualEdges (cyclomatic 17): manual.manualEdges 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":"packages/stitch/src/manual.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7005e911d5ff3bcc31a7fea516b7355e98b5dd718647804b37bc0f379f759fd"}},{"ruleId":"D1","level":"warning","message":{"text":"token.signOn (cyclomatic 16): token.signOn has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/token.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f9f6838a278e6a41208b84d7419c4c0226ad495d2988e18ab3b459162efb1f"}},{"ruleId":"D1","level":"warning","message":{"text":"main.createWindow (cyclomatic 16): main.createWindow has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 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":"apps/desktop/src/main.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"03188e58ffb709ea0ea2534dac1f8db5bc688357f2e96a4c3c40332f5fe6429d"}},{"ruleId":"D1","level":"warning","message":{"text":"TileViewer.drawLoupe (cyclomatic 16): TileViewer.drawLoupe has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e9d8dfe2b3b94402ffc151978870e64d1f8f0dd7dec223684d6e4bf7bbe5ce"}},{"ruleId":"D1","level":"warning","message":{"text":"clip.asRect (cyclomatic 16): clip.asRect has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/renderCopy/clip.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c038c62f2c3a90c03a8fdda71aa8e7d3e22ce255848f215f94fc9b9231b4fa"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.drawConnectionPoints (cyclomatic 16): MarkupTools.drawConnectionPoints has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76b05756c7ad09b368189fcffdc0a86c378d03854b17f707cd44eda5b448348"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTools.resolve (cyclomatic 16): MarkupTools.resolve has cyclomatic complexity 16 (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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1da6db4b80944b92c415922af8f08751c751a651f9e979e4193c5d26f76fbeb"}},{"ruleId":"D1","level":"warning","message":{"text":"ifc.parseValue (cyclomatic 16): ifc.parseValue has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3df44fca5389c29020402e6b9671baea4750fa68c624accd07d327050424f39"}},{"ruleId":"D1","level":"warning","message":{"text":"formula.tokenize (cyclomatic 16): formula.tokenize has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/columns/formula.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"edefd6272181d365b46de5251392ae6b6dbe8acbcb790398e16f74661941dd34"}},{"ruleId":"D1","level":"warning","message":{"text":"AskText.AskTextHost (cyclomatic 16): AskText.AskTextHost has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 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":"apps/web/src/components/AskText.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25cf28724412163fbb16a8ed9a4ca8fb6453043d7b678bf92c272c47bb9d5b8"}},{"ruleId":"D1","level":"warning","message":{"text":"LineStylesDialog.SymbolCanvas (cyclomatic 16): LineStylesDialog.SymbolCanvas has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 151, 189, 179). 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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0991472f10da62539d1d47964f6bc0f90e3aa1fda5b60d8ba093db60dc85d5ca"}},{"ruleId":"D1","level":"warning","message":{"text":"systemFonts.ensureMarkupFonts (cyclomatic 16): systemFonts.ensureMarkupFonts has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/fonts/systemFonts.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c530cf759aea3bceee22168990f247833656d0d125dcb4c03e1460ea2ef4ee20"}},{"ruleId":"D1","level":"warning","message":{"text":"toolSets.fromRevu (cyclomatic 16): toolSets.fromRevu has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 17, 29). 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":"apps/web/src/toolchest/toolSets.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a27f8ba464b386fa8bdafb6c60dda637db93525fe44d45bb7b1176513139dad"}},{"ruleId":"D1","level":"warning","message":{"text":"exportSummary.displayText (cyclomatic 16): exportSummary.displayText has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/summary/exportSummary.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"723616ac326de7d09d8efa1862e1f4ecbee8e57b1e0b3abf2a258c252058ad27"}},{"ruleId":"D1","level":"warning","message":{"text":"ltv.unpredict (cyclomatic 16): ltv.unpredict has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/ltv.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3178f930f3313e9eb973a36f7df8714d911a3a5784eceab2b60705713f9b44"}},{"ruleId":"D1","level":"warning","message":{"text":"pdfSign.parseCms (cyclomatic 16): pdfSign.parseCms has cyclomatic complexity 16 (threshold 15). 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: 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ebdaa7789fceddd52aa45fbb3f2fa2dff993696169ead8c50ec1b8e63e790d"}},{"ruleId":"D1","level":"warning","message":{"text":"layers.readLayers (cyclomatic 16): layers.readLayers has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (walk, layer). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/layers.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28d4778ce3e80580d2265a65fb96b5f3b8aa978218da418cd8ff1e218e50915"}},{"ruleId":"D1","level":"warning","message":{"text":"PrintDialog.PrintDialog (cyclomatic 16): PrintDialog.PrintDialog has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. 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":"apps/web/src/components/PrintDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"12853dfb223be492e90511f90727dcb64c20145e36cd649d3a5a9a78c3099e1b"}},{"ruleId":"D1","level":"warning","message":{"text":"compare.comparePages (cyclomatic 16): compare.comparePages has cyclomatic complexity 16 (threshold 15). 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, 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":"apps/web/src/compare/compare.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0179270fb5cec0d85bfb084fc5c716c096795f7736cb4cdbe1947c2a7cb6950"}},{"ruleId":"D1","level":"warning","message":{"text":"container.openR2004.section (cyclomatic 16): container.openR2004.section has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/container.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3d694413290efc2acbd5f6e21aa7d3e53f1c14c84de65b954d2ef5dbed8e5e"}},{"ruleId":"D1","level":"warning","message":{"text":"geom.bspline (cyclomatic 16): geom.bspline has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/geom.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58eb2f44872f44db03e09f36fb54a07a7506a6010ef9f2124572343e3c894e1"}},{"ruleId":"D1","level":"warning","message":{"text":"render.fontFor (cyclomatic 16): render.fontFor has cyclomatic complexity 16 (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":"apps/web/src/cad/render.ts"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9454b22f00c71c101b81da462ac4e003cf45dd7ef5d77ba2c3360135159e7be"}},{"ruleId":"D1","level":"warning","message":{"text":"render.insert (cyclomatic 16): render.insert has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/render.ts"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"d611f762f832bb2f084df4414335465c8fc025bc758447358ee222bb41a0bd89"}},{"ruleId":"D1","level":"warning","message":{"text":"DeletePagesDialog.DeletePagesDialog (cyclomatic 16): DeletePagesDialog.DeletePagesDialog has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 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":"apps/web/src/components/DeletePagesDialog.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f45934bf9c47b6f6eb10fea40e36f0ff1d8e153f049aa7e973c925e35e1fd3"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchPanel.SearchPanel::search (cyclomatic 16): SearchPanel.SearchPanel::search 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 (SearchPanel.SearchPanel, SearchPanel.SearchPanel::onArrow) 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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a9085557ef550bc54d4913acb2e393f4b1f2aa6388c4c36866308d9ba42a63"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchPanel.SearchPanel::onArrow (cyclomatic 16): SearchPanel.SearchPanel::onArrow has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (SearchPanel.SearchPanel, SearchPanel.SearchPanel::search) 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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57ccfaca5b68016fbe92f922157d161cf0292aa6ee008c019da1e3311c320c2"}},{"ruleId":"D1","level":"warning","message":{"text":"assistant.setPatch (cyclomatic 16): assistant.setPatch has cyclomatic complexity 16 (threshold 15). 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: 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5fc8f99ebcad1929ebe80be10f3185b9b91db65c0178eee4b4260013cdeb4d"}},{"ruleId":"D1","level":"warning","message":{"text":"pageImages.renderPageImages (cyclomatic 16): pageImages.renderPageImages has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/pageImages.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60894ffc217bd9f36a9ba3a1cf94ae9f005993a799d58bed5862df6009130ed"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App::saveAsTemplate (cyclomatic 16): App.App::saveAsTemplate has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 8 other methods here (App.App, App.App::useToolItem, App.App::runExport, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 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":"apps/web/src/App.tsx"},"region":{"startLine":6160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3744a781800d35100398839acdffbdc9de51e410b08ed4303d70043aa3605b2e"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App::flattenSelected (cyclomatic 16): App.App::flattenSelected has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 8 other methods here (App.App, App.App::saveAsTemplate, App.App::useToolItem, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 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":"apps/web/src/App.tsx"},"region":{"startLine":6842}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3c631e9418fbdc943fb8fc11cad2973c70444e3a6a960c8cdf788e283a0a02"}},{"ruleId":"D1","level":"warning","message":{"text":"dialogFocus.installDialogFocus (cyclomatic 16): dialogFocus.installDialogFocus has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 33, 62). 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":"apps/web/src/dialogFocus.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48bcfb13f1c12ef13ea4320066dc71d089629820010cb00f512e0c2b1b57cd5"}},{"ruleId":"D1","level":"warning","message":{"text":"columns.columnsFromXml (cyclomatic 16): columns.columnsFromXml has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"packages/markup/src/columns.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"932c8c08f0829c2da402ca7f60d7c6da398acc270ffea9cb36587771a36d878c"}},{"ruleId":"D1","level":"warning","message":{"text":"legend.legendSymbol (cyclomatic 16): legend.legendSymbol has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/legend.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bb809717350e4a710538b7e22fac51535ae99d9acd97fbf8f19be0a91c77e0"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupStore.setMarkLinks (cyclomatic 16): MarkupStore.setMarkLinks has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 613, a function literal at line 606, overlaps). 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":"packages/markup/src/store.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"54953b59e31a6558a0b47e3633b07055cc982d30880a3a3a720d5a0d84060a5f"}},{"ruleId":"D1","level":"warning","message":{"text":"store.editKind (cyclomatic 16): store.editKind has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/store.ts"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5dfddfdc1567556c60c78307e70ac5a75b244548d9ec099517dfc2e6c6e481"}},{"ruleId":"D1","level":"warning","message":{"text":"fdf.parseFdf (cyclomatic 16): fdf.parseFdf has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/fdf.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fd0206947e2c9d09feb34b3ed7889eed4a6597444b9971b5945d7136a3e98f"}},{"ruleId":"D1","level":"warning","message":{"text":"summary.appendSummary (cyclomatic 16): summary.appendSummary has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (newPage, a function literal at line 120, a function literal at line 119, \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":"packages/markup/src/summary.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac1b13b8608f55af8e16c915ee78b6534b9a12c25ad9021b4cfcd198d16c586"}},{"ruleId":"D1","level":"warning","message":{"text":"measure.labelAnchor (cyclomatic 16): measure.labelAnchor has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/measure.ts"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a54b78654eeaf79909c014b7bf9ef35f4b0e4a2cba8ae26da3669568b5bc1d"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.blankImagePixels (cyclomatic 16): worker.blankImagePixels has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"990ca96472ae05096d4f3a0e2889deb69ba4de96ad95d5e9c0c10d6b9fc976cc"}},{"ruleId":"D1","level":"warning","message":{"text":"confidence.stepMeter (cyclomatic 16): confidence.stepMeter has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sheets/src/confidence.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfafc79e4bf95812a28dbf01f7010e0597624c90925328554827bcbcceb3596a"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App::sidePanel (cognitive 607): App.App::sidePanel has cognitive complexity 607 (threshold 15). Drivers by points: ternaries 57 (574 pts), boolean chains 32, if/else 1 (nesting depth added 517). 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. This shape REPEATS in the file: 6 other methods here (App.App, App.App::useToolItem, App.App::runExport, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"apps/web/src/App.tsx"},"region":{"startLine":9022}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d338b5e2f53b530c3d5c6e700d5ab11e9b8ba6f48675fef5281b0f6fffa223"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.pointerDown (cognitive 320): MarkupTools.pointerDown has cognitive complexity 320 (threshold 15). Drivers by points: if/else 92 (177 pts), boolean chains 72, ternaries 31 (67 pts), loops 2 (4 pts) (nesting depth added 123). Of this number, 317 points are the body\u0027s own statements and 3 belong to 4 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93622ecdde79471fa68a4237f6c117b2fd63245e0caedbc429b3e2457b72fa0"}},{"ruleId":"D2","level":"warning","message":{"text":"export.exportWithAnnotations (cognitive 308): export.exportWithAnnotations has cognitive complexity 308 (threshold 15). Drivers by points: if/else 57 (164 pts), ternaries 25 (71 pts), loops 20 (46 pts), boolean chains 27 (nesting depth added 179). Of this number, 242 points are the body\u0027s own statements and 66 belong to 10 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":"packages/markup/src/export.ts"},"region":{"startLine":2064}}}],"partialFingerprints":{"codehealthFindingId/v1":"944454a9944a2d315c378f04c176409856757f05518805793b3a133e79701ef3"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 288): App.App has cognitive complexity 288 (threshold 15). Drivers by points: ternaries 737 (1990 pts), if/else 769 (1306 pts), boolean chains 699, loops 114 (231 pts), error handling 68 (90 pts), match/switch 4 (5 pts) (nesting depth added 1930). 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. This shape REPEATS in the file: 6 other methods here (App.App::useToolItem, App.App::runExport, App.App::markupMenu, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"apps/web/src/App.tsx"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d1f2995565a07a52e4871215fa59a677a6a44bdec67d098554ead2f1e4a331"}},{"ruleId":"D2","level":"warning","message":{"text":"export.appearance (cognitive 228): export.appearance has cognitive complexity 228 (threshold 15). Drivers by points: if/else 44 (95 pts), ternaries 33 (92 pts), loops 13 (30 pts), boolean chains 11 (nesting depth added 127). Of this number, 215 points are the body\u0027s own statements and 13 belong to 5 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":"packages/markup/src/export.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f248019e1ca861393a9b8d371762f6a75d45bd82c4e123196827434dd9368f"}},{"ruleId":"D2","level":"warning","message":{"text":"import.fromRaw (cognitive 219): import.fromRaw has cognitive complexity 219 (threshold 15). Drivers by points: ternaries 46 (94 pts), if/else 36 (82 pts), boolean chains 41, loops 1, match/switch 1 (nesting depth added 94). Of this number, 198 points are the body\u0027s own statements and 21 belong to 9 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":"packages/markup/src/import.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5190e065a329ba98386fd69a3f9e0a032c5da4de88f6381894b26984d0888b3"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.redact (cognitive 172): worker.redact has cognitive complexity 172 (threshold 15). Drivers by points: if/else 42 (114 pts), loops 17 (44 pts), boolean chains 10, ternaries 1 (4 pts) (nesting depth added 102). Of this number, 148 points are the body\u0027s own statements and 24 belong to 5 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa27a3156c4aefa8cd19a62f0086baea3c96f8e50f347755336de74ba81ff1b"}},{"ruleId":"D2","level":"warning","message":{"text":"import.importAnnotations (cognitive 164): import.importAnnotations has cognitive complexity 164 (threshold 15). Drivers by points: if/else 75 (185 pts), ternaries 28 (62 pts), boolean chains 46, loops 11 (20 pts), error handling 1 (3 pts) (nesting depth added 155). 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. This shape REPEATS in the file: one other method here (import.importAnnotations::finish) 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":"packages/markup/src/import.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"077d8bd90c499b64770e7f96d23021ff043cd7897edd32a18afaf435755190e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.draw (cognitive 156): MarkupTools.draw has cognitive complexity 156 (threshold 15). Drivers by points: if/else 42 (70 pts), ternaries 17 (39 pts), boolean chains 36, loops 6 (11 pts) (nesting depth added 55). Of this number, 154 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"7196db389fb010fcd95a0974ea96e5e7f1b178dbe46869a7e9e61bf86f20bca2"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.pointerUp (cognitive 140): MarkupTools.pointerUp has cognitive complexity 140 (threshold 15). Drivers by points: if/else 57 (97 pts), boolean chains 22, ternaries 5 (11 pts), loops 3 (10 pts) (nesting depth added 53). Of this number, 115 points are the body\u0027s own statements and 25 belong to 3 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3568}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac3557f2b062fd59dad9028ed644e10510f4f3d9f52115893f9163af8ff1b32"}},{"ruleId":"D2","level":"warning","message":{"text":"AssembliesDialog.AssembliesDialog (cognitive 125): AssembliesDialog.AssembliesDialog has cognitive complexity 125 (threshold 15). Drivers by points: ternaries 40 (68 pts), boolean chains 45, if/else 8 (10 pts), error handling 1, loops 1 (nesting depth added 30). Of this number, 23 points are the body\u0027s own statements and 102 belong to 36 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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"072f07a0f152ab4487838fcd3e4f9c30c7111c4eb3ccd58ea8d0e4c1f9af5fa4"}},{"ruleId":"D2","level":"warning","message":{"text":"PreferencesDialog.PreferencesDialog (cognitive 120): PreferencesDialog.PreferencesDialog has cognitive complexity 120 (threshold 15). Drivers by points: ternaries 32 (36 pts), if/else 26 (35 pts), boolean chains 29, loops 7 (16 pts), error handling 4 (nesting depth added 22). Of this number, 44 points are the body\u0027s own statements and 76 belong to 29 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"380c468c1a6cecca10428ddccd8e5e6b0e5ab33b63f7db7b942d0b7acc80bd51"}},{"ruleId":"D2","level":"warning","message":{"text":"appCommands.buildCommands (cognitive 119): appCommands.buildCommands has cognitive complexity 119 (threshold 15). Drivers by points: boolean chains 106, ternaries 13. Of this number, 104 points are the body\u0027s own statements and 15 belong to 11 function items inside it that branch. 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":"apps/web/src/commands/appCommands.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5788daa71409f14b8931e082be944387528fbd9c8f652eadf86d52b574be04c"}},{"ruleId":"D2","level":"warning","message":{"text":"GeospatialPanel.GeospatialPanel (cognitive 118): GeospatialPanel.GeospatialPanel has cognitive complexity 118 (threshold 15). Drivers by points: boolean chains 57, ternaries 31 (36 pts), if/else 22 (23 pts), error handling 1, loops 1 (nesting depth added 6). Of this number, 51 points are the body\u0027s own statements and 67 belong to 26 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/GeospatialPanel.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a13664aa3951d53c2aa68c00a0bb74eb26f30949d170ad80345c048ea340afe"}},{"ruleId":"D2","level":"warning","message":{"text":"ltv.oneValidationUpdate (cognitive 118): ltv.oneValidationUpdate has cognitive complexity 118 (threshold 15). Drivers by points: if/else 39 (72 pts), boolean chains 25, loops 12 (16 pts), ternaries 4 (5 pts) (nesting depth added 38). Of this number, 117 points are the body\u0027s own statements and 1 belongs 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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb32c81aa3cc8c296b5dac459b241ad892d35ba2bafd73b90b149c62d0a8c4e"}},{"ruleId":"D2","level":"warning","message":{"text":"cadTools.cadClick (cognitive 113): cadTools.cadClick has cognitive complexity 113 (threshold 15). Drivers by points: if/else 40 (87 pts), boolean chains 12, ternaries 5 (11 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 54). 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":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6588feeb661fd231b281c0d7f907eb997258f8ae4ba33e6ed24a941bc3aeaf"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.hover (cognitive 113): MarkupTools.hover has cognitive complexity 113 (threshold 15). Drivers by points: ternaries 20 (48 pts), if/else 32 (44 pts), boolean chains 21 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"7278a38acb9eb0c5731c44b7d5e4d820b68ecc82eeae789ebf1882cd70bdc764"}},{"ruleId":"D2","level":"warning","message":{"text":"forms.updateField (cognitive 112): forms.updateField has cognitive complexity 112 (threshold 15). Drivers by points: if/else 43 (77 pts), ternaries 7 (22 pts), boolean chains 10, loops 2 (3 pts) (nesting depth added 50). Of this number, 111 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d548e14ca2ba0fe193196b56393d6b029a66e4f59bd0250d5b0a7864a6b7cc"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.pointerMove (cognitive 109): MarkupTools.pointerMove has cognitive complexity 109 (threshold 15). Drivers by points: if/else 57 (84 pts), boolean chains 13, ternaries 5 (12 pts) (nesting depth added 34). 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3386}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6da8f7d1c40fc3d1e8174badf00522f7f51bfc73712eb4f11645da7eed68aa7"}},{"ruleId":"D2","level":"warning","message":{"text":"sets.setSheets (cognitive 102): sets.setSheets has cognitive complexity 102 (threshold 15). Drivers by points: if/else 24 (55 pts), boolean chains 20, loops 10 (16 pts), ternaries 5 (9 pts), match/switch 2 (nesting depth added 41). Of this number, 63 points are the body\u0027s own statements and 39 belong to 8 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":"apps/web/src/storage/sets.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"2977ddc55e866693db061e4928a579ca92c32b8a0f399d3bf27fbac8e9b68971"}},{"ruleId":"D2","level":"warning","message":{"text":"dxf.readDxf (cognitive 102): dxf.readDxf has cognitive complexity 102 (threshold 15). Drivers by points: if/else 32 (62 pts), loops 12 (19 pts), ternaries 4 (11 pts), boolean chains 10 (nesting depth added 44). Of this number, 90 points are the body\u0027s own statements and 12 belong to 3 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":"apps/web/src/cad/dxf.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be72978120938143bec599afc44e789861473a0f2bbc9848f5e86cbcedd79ea"}},{"ruleId":"D2","level":"warning","message":{"text":"objects.entityData (cognitive 102): objects.entityData has cognitive complexity 102 (threshold 15). Drivers by points: if/else 29 (57 pts), loops 11 (24 pts), ternaries 7 (14 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 49). Of this number, 100 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"690616c32cf1af90f5363d2c880a96b6c55a70e0d0d3d867eaee0756624e13e0"}},{"ruleId":"D2","level":"warning","message":{"text":"toolchest.parseBtx (cognitive 102): toolchest.parseBtx has cognitive complexity 102 (threshold 15). Drivers by points: ternaries 25 (60 pts), boolean chains 31, if/else 5 (8 pts), loops 2 (3 pts) (nesting depth added 39). Of this number, 99 points are the body\u0027s own statements and 3 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4197fb6dede654cd635cc74d37273406020a385f54418401b5be2b928a29d2d4"}},{"ruleId":"D2","level":"warning","message":{"text":"render.readHatch (cognitive 101): render.readHatch has cognitive complexity 101 (threshold 15). Drivers by points: loops 12 (45 pts), if/else 16 (43 pts), ternaries 3 (8 pts), boolean chains 5 (nesting depth added 65). Of this number, 94 points are the body\u0027s own statements and 7 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":"apps/web/src/cad/render.ts"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b3a542a53ffcf5688672d1fba6517ed3a74fd6764ac1facb22670ec258907b"}},{"ruleId":"D2","level":"warning","message":{"text":"render.drawMarkup (cognitive 98): render.drawMarkup has cognitive complexity 98 (threshold 15). Drivers by points: if/else 30 (56 pts), ternaries 6 (19 pts), loops 6 (13 pts), boolean chains 10 (nesting depth added 46). Of this number, 94 points are the body\u0027s own statements and 4 belong to 2 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":"packages/markup/src/render.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a027c34df024a391e019b2961bc0f800ffc58b42ff0a1e3e9e7c1af7f65b8983"}},{"ruleId":"D2","level":"warning","message":{"text":"main.start (cognitive 94): main.start has cognitive complexity 94 (threshold 15). Drivers by points: if/else 39 (41 pts), boolean chains 29, ternaries 16 (20 pts), loops 3 (4 pts) (nesting depth added 7). Most of this is not in the body itself: 9 of the 94 points are its own statements and the rest belongs to 29 function items inside it that branch (a function literal at line 349, a function literal at line 140, a function literal at line 183, \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":"apps/desktop/src/main.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42c3497c4790790078b18447f3062575a5a03a2c9af8fbeafc728baa14e2674"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnsDialog.ColumnsDialog (cognitive 94): ColumnsDialog.ColumnsDialog has cognitive complexity 94 (threshold 15). Drivers by points: ternaries 24 (43 pts), boolean chains 38, if/else 9 (12 pts), error handling 1 (nesting depth added 22). Of this number, 36 points are the body\u0027s own statements and 58 belong to 24 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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"599836c57d4ec5da970ab916527cfb56518484dcc4eede03d1e266ea2c0f669d"}},{"ruleId":"D2","level":"warning","message":{"text":"bax.exportBax (cognitive 90): bax.exportBax has cognitive complexity 90 (threshold 15). Drivers by points: if/else 24 (56 pts), ternaries 8 (16 pts), loops 7 (12 pts), boolean chains 6 (nesting depth added 45). Of this number, 52 points are the body\u0027s own statements and 38 belong to 7 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":"packages/markup/src/bax.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca70b2e5ff00181982fc43c6e88d690ef0c1f9f831374c1a2ed7e725df2f802"}},{"ruleId":"D2","level":"warning","message":{"text":"blocks (cognitive 89): blocks has cognitive complexity 89 (threshold 15). Drivers by points: if/else 17 (43 pts), ternaries 6 (20 pts), loops 6 (15 pts), boolean chains 11 (nesting depth added 49). Of this number, 85 points are the body\u0027s own statements and 4 belong to 7 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":"apps/web/public/help/help.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90321519b6cd641eb0694ec59f287b2ed06c5255d946ca6db0f7277653ea52e"}},{"ruleId":"D2","level":"warning","message":{"text":"BookmarksPanel.BookmarksPanel (cognitive 88): BookmarksPanel.BookmarksPanel has cognitive complexity 88 (threshold 15). Drivers by points: ternaries 23 (56 pts), boolean chains 16, if/else 8 (15 pts), loops 1 (nesting depth added 40). Of this number, 17 points are the body\u0027s own statements and 71 belong to 15 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":"apps/web/src/components/BookmarksPanel.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67756b7bb40d90e00f44e8b1df4fca78880b41f3be88b4129a688215bea2e8c"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportDialog.MarkupSummaryDialog (cognitive 84): ExportDialog.MarkupSummaryDialog has cognitive complexity 84 (threshold 15). Drivers by points: boolean chains 35, ternaries 18 (23 pts), if/else 19 (22 pts), loops 3, error handling 1 (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 60 belong to 39 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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"620ff7a3411ceb39a2f0f3b1e65fb63df651285c6c46d99ae9f6083cc4422d94"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfa.archiveAsPdfA (cognitive 84): pdfa.archiveAsPdfA has cognitive complexity 84 (threshold 15). Drivers by points: if/else 27 (52 pts), ternaries 10 (20 pts), boolean chains 8, loops 3 (4 pts) (nesting depth added 36). Of this number, 80 points are the body\u0027s own statements and 4 belong 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":"apps/web/src/documents/pdfa.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"14529051b9cc1543fdd1ee5855fddb73a211f214ee2b3d3e357a6e1e1db1fa6a"}},{"ruleId":"D2","level":"warning","message":{"text":"bluebeam.parseDefaultStyle (cognitive 84): bluebeam.parseDefaultStyle has cognitive complexity 84 (threshold 15). Drivers by points: if/else 25 (50 pts), ternaries 8 (25 pts), boolean chains 8, loops 1 (nesting depth added 42). 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":"packages/markup/src/bluebeam.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfc7fedaf4653eb4dea47bdfd807fd898c6f78d3266c47da6d5ba8cfc48fc46"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfSign.checkSignatures (cognitive 83): pdfSign.checkSignatures has cognitive complexity 83 (threshold 15). Drivers by points: if/else 23 (52 pts), boolean chains 11, loops 4 (8 pts), error handling 3 (7 pts), ternaries 2 (5 pts) (nesting depth added 40). Of this number, 75 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6b8c385ff111b1c2fa8fc927c93a405c570c0d8b184a9a086f714fdc50e9f6"}},{"ruleId":"D2","level":"warning","message":{"text":"assemblies.sanitizeAssemblies (cognitive 82): assemblies.sanitizeAssemblies has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 14 (47 pts), if/else 8 (20 pts), boolean chains 10, loops 3 (5 pts) (nesting depth added 47). Of this number, 80 points are the body\u0027s own statements and 2 belong 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":"packages/markup/src/assemblies.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5d14418df6684903392ddfe3ffca38cddb9452dd7eb6842827ad2d30e75563"}},{"ruleId":"D2","level":"warning","message":{"text":"MeasurementsPanel.PageScale (cognitive 81): MeasurementsPanel.PageScale has cognitive complexity 81 (threshold 15). Drivers by points: boolean chains 38, ternaries 24 (26 pts), if/else 17 (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 60 belong to 14 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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bfc496ead7234903817c8d0f8bd882e315ecebf577bc676e36a83301f40b36"}},{"ruleId":"D2","level":"warning","message":{"text":"SetsPanel.SetsPanel (cognitive 79): SetsPanel.SetsPanel has cognitive complexity 79 (threshold 15). Drivers by points: ternaries 26 (31 pts), boolean chains 27, if/else 14 (20 pts), loops 1 (nesting depth added 11). Most of this is not in the body itself: 5 of the 79 points are its own statements and the rest belongs to 27 function items inside it that branch (a function literal at line 192, a function literal at line 298, a function literal at line 75, \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":"apps/web/src/components/SetsPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d572d96fa67472ef1da7497ea94824e97f46014102d35921f74cdc0fc903a76"}},{"ruleId":"D2","level":"warning","message":{"text":"LayersPanel.LayersPanel (cognitive 79): LayersPanel.LayersPanel has cognitive complexity 79 (threshold 15). Drivers by points: ternaries 30 (41 pts), if/else 14 (18 pts), boolean chains 14, loops 5 (6 pts) (nesting depth added 16). Most of this is not in the body itself: 6 of the 79 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 680, dial, toggle, \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":"apps/web/src/components/LayersPanel.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c952da79e229fc93b2b2464939b95d4fb621c61d6c2fbd3153e42ebe070340"}},{"ruleId":"D2","level":"warning","message":{"text":"StandardsWizard.StandardsWizard (cognitive 77): StandardsWizard.StandardsWizard has cognitive complexity 77 (threshold 15). Drivers by points: boolean chains 34, ternaries 24 (31 pts), if/else 12 (nesting depth added 7). Of this number, 46 points are the body\u0027s own statements and 31 belong to 15 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b4c5fc7a33ece64ed8de94d7ce8dcc4403305709b6b1c3985ae31fd4385c12"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App::markupMenu (cognitive 77): App.App::markupMenu has cognitive complexity 77 (threshold 15). Drivers by points: boolean chains 49, ternaries 24 (26 pts), if/else 2 (nesting depth added 2). 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. This shape REPEATS in the file: 6 other methods here (App.App, App.App::useToolItem, App.App::runExport, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"apps/web/src/App.tsx"},"region":{"startLine":6885}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f42985dd2699cd86ac2883a7eec56183e3e24c8c928e0326e27d8b37d8c01f3"}},{"ruleId":"D2","level":"warning","message":{"text":"TileViewer.draw (cognitive 76): TileViewer.draw has cognitive complexity 76 (threshold 15). Drivers by points: if/else 27 (51 pts), loops 6 (13 pts), boolean chains 8, ternaries 2 (4 pts) (nesting depth added 33). Of this number, 71 points are the body\u0027s own statements and 5 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd5f7f231b286e6b512b68c29f67c87c1a109dd7e5a88724cbb55095f3916f1"}},{"ruleId":"D2","level":"warning","message":{"text":"landxml.parseLandXml (cognitive 75): landxml.parseLandXml has cognitive complexity 75 (threshold 15). Drivers by points: if/else 21 (40 pts), ternaries 15 (37 pts), loops 14 (26 pts), boolean chains 9 (nesting depth added 53). 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. This shape REPEATS in the file: one other method here (landxml.parseLandXml::coordGeom) 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":"apps/web/src/geospatial/landxml.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b72e6f15e493d22aa4f61541287cfb781ca0c590ca9f816889e939933aec98"}},{"ruleId":"D2","level":"warning","message":{"text":"render.multileader (cognitive 75): render.multileader has cognitive complexity 75 (threshold 15). Drivers by points: if/else 30 (39 pts), boolean chains 28, loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/render.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe3af289760264bd89beecbf7f07f00f6940fa54294e8003a13c59659d82eb6"}},{"ruleId":"D2","level":"warning","message":{"text":"ChainageStep.ChainageStep (cognitive 75): ChainageStep.ChainageStep has cognitive complexity 75 (threshold 15). Drivers by points: boolean chains 32, ternaries 14 (22 pts), if/else 14 (20 pts), loops 1 (nesting depth added 14). Of this number, 31 points are the body\u0027s own statements and 44 belong to 14 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":"apps/web/src/components/standardsWizard/ChainageStep.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"968b1786d4eac5964be36d574273e25419a82e827dd5f07f669a47bae41d64e9"}},{"ruleId":"D2","level":"warning","message":{"text":"bax.injectBax (cognitive 75): bax.injectBax has cognitive complexity 75 (threshold 15). Drivers by points: if/else 22 (44 pts), loops 8 (15 pts), ternaries 5 (11 pts), boolean chains 5 (nesting depth added 35). Of this number, 16 points are the body\u0027s own statements and 59 belong to 7 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":"packages/markup/src/bax.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec90ccc1c45fa5bf7f6423629da68c5f3238dcb6851f67dc573bbc96cd145ed"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchDialog.BatchDialog (cognitive 74): BatchDialog.BatchDialog has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 15 (34 pts), boolean chains 32, if/else 6 (7 pts), match/switch 1 (nesting depth added 20). Of this number, 45 points are the body\u0027s own statements and 29 belong to 8 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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9656a73379652bca0967dccea6480bae51b587762235c85035cf0b6dc01fb243"}},{"ruleId":"D2","level":"warning","message":{"text":"objects.hatch (cognitive 72): objects.hatch has cognitive complexity 72 (threshold 15). Drivers by points: if/else 16 (38 pts), loops 10 (33 pts), ternaries 1 (nesting depth added 45). 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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"029ebd4c61560419acc4d0ec2a6d89ca7e70cd8adf28eb958472a3fa0ffc877a"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionsPanel.InSession (cognitive 72): SessionsPanel.InSession has cognitive complexity 72 (threshold 15). Drivers by points: boolean chains 49, ternaries 12 (15 pts), if/else 3 (4 pts), loops 4 (nesting depth added 4). Of this number, 50 points are the body\u0027s own statements and 22 belong to 15 function literals inside it that branch. 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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd35f9d00e4338abef1eaf5ed2ffc74798856888abf336f2856627bd394a48c0"}},{"ruleId":"D2","level":"warning","message":{"text":"toolchest.parsePdfObject::value (cognitive 71): toolchest.parsePdfObject::value has cognitive complexity 71 (threshold 15). Drivers by points: if/else 25 (47 pts), loops 7 (16 pts), boolean chains 7, ternaries 1 (nesting depth added 31). 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5b83660b4a8d378de50b2ae395c4920b692004d90d4038a7cdbeed9285ac5b"}},{"ruleId":"D2","level":"warning","message":{"text":"content.readItem (cognitive 70): content.readItem has cognitive complexity 70 (threshold 15). Drivers by points: if/else 18 (42 pts), ternaries 4 (12 pts), boolean chains 8, loops 3 (8 pts) (nesting depth added 37). 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"070b49dfeb4304a50417c21f3152471393fff0991bb6c1c43afa6421c8a5fa83"}},{"ruleId":"D2","level":"warning","message":{"text":"toolchest.lexContent (cognitive 70): toolchest.lexContent has cognitive complexity 70 (threshold 15). Drivers by points: if/else 21 (44 pts), loops 7 (20 pts), boolean chains 6 (nesting depth added 36). Of this number, 69 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ed7185647f13ad32c210ab237ecf9f0f2208a4790199b50359d85e5343198e"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapIndex.snap (cognitive 70): SnapIndex.snap has cognitive complexity 70 (threshold 15). Drivers by points: if/else 18 (34 pts), loops 10 (17 pts), ternaries 4 (10 pts), boolean chains 9 (nesting depth added 29). Of this number, 65 points are the body\u0027s own statements and 5 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":"packages/measure/src/snap.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36ae5a4c3d428c434d8a8dee4dc5adfc24dc9e4dcc30cd6173fc95b85eca2af"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.commitDraft (cognitive 68): MarkupTools.commitDraft has cognitive complexity 68 (threshold 15). Drivers by points: if/else 42 (54 pts), boolean chains 12, ternaries 1 (2 pts) (nesting depth added 13). 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4370}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a55e4ee54451269b9d4de698afeef1cf231d962832b9a3383a5f46f7e513f8e"}},{"ruleId":"D2","level":"warning","message":{"text":"xml.parseXml (cognitive 68): xml.parseXml has cognitive complexity 68 (threshold 15). Drivers by points: if/else 18 (40 pts), loops 7 (23 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 40). Of this number, 67 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":"packages/markup/src/xml.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"835d5818a789aa384a393303879f9e4cab3e7b644c7122f40b196914ecc3bf8c"}},{"ruleId":"D2","level":"warning","message":{"text":"geometry.baseShape (cognitive 68): geometry.baseShape has cognitive complexity 68 (threshold 15). Drivers by points: if/else 13 (26 pts), ternaries 13 (26 pts), boolean chains 13, loops 1 (2 pts), match/switch 1 (nesting depth added 27). Of this number, 59 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/geometry.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb8a443b7ddca6302d36bc07a22417fabea98c2d930120f42d26c4faee29661"}},{"ruleId":"D2","level":"warning","message":{"text":"store.describeChange (cognitive 68): store.describeChange has cognitive complexity 68 (threshold 15). Drivers by points: ternaries 10 (39 pts), if/else 13 (22 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 39). Of this number, 66 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/store.ts"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaff26ad6a6b34d3e02a7b17b4230a53f557c36004045a9f619845801a61a54"}},{"ruleId":"D2","level":"warning","message":{"text":"chainage.chainageReport (cognitive 68): chainage.chainageReport has cognitive complexity 68 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 17, ternaries 5 (13 pts), loops 4 (7 pts) (nesting depth added 26). None of this is in the body itself: all 68 points belong to 13 function literals inside it that branch (lines 502, 514, 485, \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":"packages/sheets/src/chainage.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cbcf813d3c9db5575e25833cb2bdf8df1285d2c54c2cdf5d5651e720987ce0"}},{"ruleId":"D2","level":"warning","message":{"text":"marks.marksToLinks (cognitive 67): marks.marksToLinks has cognitive complexity 67 (threshold 15). Drivers by points: if/else 14 (35 pts), ternaries 8 (20 pts), boolean chains 10, loops 2 (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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"52702513f78f83f40e73ef7111569f75252fb5788b649cccbe8a867104b46a22"}},{"ruleId":"D2","level":"warning","message":{"text":"render.hatch (cognitive 67): render.hatch has cognitive complexity 67 (threshold 15). Drivers by points: if/else 16 (43 pts), loops 7 (18 pts), boolean chains 6 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/render.ts"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86132d318c29199641964a8b1112d45bdf81c37bf00104af3e441b6d47f6a00"}},{"ruleId":"D2","level":"warning","message":{"text":"lineStyle.lineArt (cognitive 67): lineStyle.lineArt has cognitive complexity 67 (threshold 15). Drivers by points: if/else 13 (54 pts), loops 4 (10 pts), boolean chains 2, ternaries 1 (nesting depth added 47). Of this number, 60 points are the body\u0027s own statements and 7 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":"packages/markup/src/lineStyle.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b9ba4cba1e9d899be39c0c63c89e98c38c1167f008f28867720dc99c584f20"}},{"ruleId":"D2","level":"warning","message":{"text":"CalloutStep.CalloutStep (cognitive 66): CalloutStep.CalloutStep has cognitive complexity 66 (threshold 15). Drivers by points: boolean chains 27, ternaries 16 (26 pts), if/else 10 (13 pts) (nesting depth added 13). Of this number, 40 points are the body\u0027s own statements and 26 belong to 10 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":"apps/web/src/components/standardsWizard/CalloutStep.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc66adb8f19d950b0187d0a1d975cee7cba4aa6dc473925c48c6dce6240eb09"}},{"ruleId":"D2","level":"warning","message":{"text":"LineStylesDialog.LineStylesDialog (cognitive 65): LineStylesDialog.LineStylesDialog has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 19 (27 pts), if/else 14 (20 pts), boolean chains 15, error handling 1 (2 pts), loops 1 (nesting depth added 15). Most of this is not in the body itself: 8 of the 65 points are its own statements and the rest belongs to 21 function items inside it that branch (a function literal at line 589, a function literal at line 506, targetSet, \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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f282b0d915d78274253183c34e5b6378676a42d06c390b3599ec688afa427b"}},{"ruleId":"D2","level":"warning","message":{"text":"fieldDetect.detectFields (cognitive 64): fieldDetect.detectFields has cognitive complexity 64 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 21, loops 6 (7 pts), ternaries 3 (7 pts) (nesting depth added 21). Of this number, 49 points are the body\u0027s own statements and 15 belong to 9 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":"apps/web/src/documents/fieldDetect.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"876c81eeade9a1916ddfa4bcdf78282b9286f65a7fbfe04f9d6e574dc20f475d"}},{"ruleId":"D2","level":"warning","message":{"text":"export.annotationDict (cognitive 64): export.annotationDict has cognitive complexity 64 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 20, ternaries 14 (19 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 14). Of this number, 63 points are the body\u0027s own statements and 1 belongs to 3 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":"packages/markup/src/export.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98315577fe5f732a12f0546dfe30f0e433723d90b149f34eb4faeab7e4d4cec"}},{"ruleId":"D2","level":"warning","message":{"text":"content.readClipScope (cognitive 62): content.readClipScope has cognitive complexity 62 (threshold 15). Drivers by points: if/else 13 (42 pts), ternaries 3 (9 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 39). Of this number, 61 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0bbd11fc8e5cfd56b3f71d43065deaabefd7f872cb998c3647835f984e22b5"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitalSignatures.DigitalSignaturesSection (cognitive 62): DigitalSignatures.DigitalSignaturesSection has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 15 (48 pts), boolean chains 14 (nesting depth added 33). Most of this is not in the body itself: 4 of the 62 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 78, 135, 151). 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b5b1ccd17cad5836afd7c8245bf0f1806edb34e5e15ce15f4836be74fe2257"}},{"ruleId":"D2","level":"warning","message":{"text":"PageNav.PageNav (cognitive 62): PageNav.PageNav has cognitive complexity 62 (threshold 15). Drivers by points: boolean chains 49, if/else 9, ternaries 3 (4 pts) (nesting depth added 1). Of this number, 41 points are the body\u0027s own statements and 21 belong to 13 function items inside it that branch. 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":"apps/web/src/components/PageNav.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36e816ccc1b1a8b3a068bff183e549b99f5b2ea1cd7aa621918c9a3a8bd55d4"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionsPanel.SessionList (cognitive 62): SessionsPanel.SessionList has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 16 (33 pts), boolean chains 18, if/else 6 (11 pts) (nesting depth added 22). Of this number, 17 points are the body\u0027s own statements and 45 belong to 9 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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a869bb5648b65c65b178ca4e582d90b35c0ce6a9e6c7f4c4570072d10de06b"}},{"ruleId":"D2","level":"warning","message":{"text":"script.tokenize (cognitive 61): script.tokenize has cognitive complexity 61 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 5 (13 pts), ternaries 4 (13 pts), boolean chains 10 (nesting depth added 30). 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"33347e0593a87f91342f7f7c324c38dd607952a32b8fa3e798c68f6c312b336e"}},{"ruleId":"D2","level":"warning","message":{"text":"toolchest.toolType (cognitive 61): toolchest.toolType has cognitive complexity 61 (threshold 15). Drivers by points: if/else 31, boolean chains 22, ternaries 4 (8 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02d63703f843250b4b81c73abf691cbdbd8c6a2d52b3e8fea4f1f55b1fc8c17"}},{"ruleId":"D2","level":"warning","message":{"text":"MatchLineStep.MatchLineStep (cognitive 60): MatchLineStep.MatchLineStep has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 17 (27 pts), boolean chains 21, if/else 9 (12 pts) (nesting depth added 13). Of this number, 35 points are the body\u0027s own statements and 25 belong to 9 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":"apps/web/src/components/standardsWizard/MatchLineStep.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8704d08e8b75da480d9f933d66de93e978b4836c07f0c5e51057b36935906e31"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolChest.ToolChestPanel (cognitive 59): ToolChest.ToolChestPanel has cognitive complexity 59 (threshold 15). Drivers by points: boolean chains 24, ternaries 14 (19 pts), if/else 15 (16 pts) (nesting depth added 6). Most of this is not in the body itself: 10 of the 59 points are its own statements and the rest belongs to 23 function items inside it that branch (a function literal at line 449, a function literal at line 226, finishNaming, \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":"apps/web/src/components/ToolChest.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d396ceff338d069839c6559a75746490ad94094682d761e150d24c328436e65a"}},{"ruleId":"D2","level":"warning","message":{"text":"ltv.xrefAt (cognitive 59): ltv.xrefAt has cognitive complexity 59 (threshold 15). Drivers by points: if/else 14 (30 pts), ternaries 3 (12 pts), loops 5 (9 pts), boolean chains 8 (nesting depth added 29). Of this number, 58 points are the body\u0027s own statements and 1 belongs 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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4ecae349e4fcac656516633ceb9c416e8b65d6140e283c5d23be11717ddd81"}},{"ruleId":"D2","level":"warning","message":{"text":"revuWrite.writeBtx (cognitive 59): revuWrite.writeBtx has cognitive complexity 59 (threshold 15). Drivers by points: if/else 13 (23 pts), ternaries 6 (17 pts), boolean chains 15, loops 2 (4 pts) (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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75044a873397766fe1f3b12a68e90a34b3bc813d1a428fe3c64fef9823be983"}},{"ruleId":"D2","level":"warning","message":{"text":"ifc.parseIfc (cognitive 58): ifc.parseIfc has cognitive complexity 58 (threshold 15). Drivers by points: if/else 41 (65 pts), ternaries 28 (49 pts), loops 21 (39 pts), boolean chains 17, match/switch 3 (nesting depth added 63). 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 (ifc.parseIfc::curve) 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":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"51adc38e8b90f819a43f552e83ffd1d16228b626a4400586801109d1e0cdd598"}},{"ruleId":"D2","level":"warning","message":{"text":"scaleCheck.dimensionScale (cognitive 58): scaleCheck.dimensionScale has cognitive complexity 58 (threshold 15). Drivers by points: if/else 11 (34 pts), loops 9 (19 pts), boolean chains 5 (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":"apps/web/src/measure/scaleCheck.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c74fd8321b902a733e579051cea8b434f063e95d39554f33a94ec1bb18086eb"}},{"ruleId":"D2","level":"warning","message":{"text":"toolchest.toolStyle (cognitive 58): toolchest.toolStyle has cognitive complexity 58 (threshold 15). Drivers by points: if/else 23 (29 pts), boolean chains 16, ternaries 7 (13 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"58100c4d93b9a364bfbd5c61595ef948f3e83e8e040eb253d770115aaae131ed"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfSign.addValidationData (cognitive 57): pdfSign.addValidationData has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 7 (20 pts), if/else 10 (15 pts), boolean chains 14, error handling 2 (5 pts), loops 3 (nesting depth added 21). Of this number, 37 points are the body\u0027s own statements and 20 belong to 4 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f890caa1f7d6588dd57213f74e0ae71625b0b81b4d835f53eed63341c21787b"}},{"ruleId":"D2","level":"warning","message":{"text":"assistantStitch.updateMatchLines (cognitive 57): assistantStitch.updateMatchLines has cognitive complexity 57 (threshold 15). Drivers by points: if/else 17 (38 pts), ternaries 5 (12 pts), boolean chains 5, loops 2 (nesting depth added 28). 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":"apps/web/src/desktop/assistantStitch.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2481594c5f8a9770fd2f169293432563343309fe80d021a69923fafb6fa7a9"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolBar.StyleControls (cognitive 56): ToolBar.StyleControls has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 36, ternaries 12 (17 pts), if/else 3 (nesting depth added 5). Of this number, 51 points are the body\u0027s own statements and 5 belong to 6 function items inside it that branch. 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":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"501832357542cf95ede835011120336e37762fa278af13803698e2731791c02c"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectsPanel.ProjectList (cognitive 56): ProjectsPanel.ProjectList has cognitive complexity 56 (threshold 15). Drivers by points: if/else 15 (26 pts), ternaries 14 (20 pts), boolean chains 10 (nesting depth added 17). Of this number, 16 points are the body\u0027s own statements and 40 belong to 8 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"966afc4bf04530cef2f8b3603a5c264d9eac62bc79941be843310e7b757070ba"}},{"ruleId":"D2","level":"warning","message":{"text":"SlowDrawingPrompt.SlowDrawingPrompt (cognitive 55): SlowDrawingPrompt.SlowDrawingPrompt has cognitive complexity 55 (threshold 15). Drivers by points: if/else 23 (28 pts), boolean chains 13, ternaries 5 (9 pts), loops 3, error handling 2 (nesting depth added 9). Most of this is not in the body itself: 7 of the 55 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 117, 160, 187, \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":"apps/web/src/components/SlowDrawingPrompt.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e252604bcae3bbcd4f9ae81daa3144134cdbc82f8ab89a1483f8edb7e2d32e3f"}},{"ruleId":"D2","level":"warning","message":{"text":"process.recolourContent (cognitive 55): process.recolourContent has cognitive complexity 55 (threshold 15). Drivers by points: if/else 30 (51 pts), boolean chains 21, ternaries 7 (17 pts), loops 3 (6 pts) (nesting depth added 34). 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 (process.recolourContent::replaceColour) 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":"apps/web/src/documents/process.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db407efdf8b0ab32e5b3dfb558f309806015f37c92f2b75681ea819e88cd070"}},{"ruleId":"D2","level":"warning","message":{"text":"chainage.readTicks (cognitive 55): chainage.readTicks has cognitive complexity 55 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 8 (13 pts), boolean chains 10 (nesting depth added 24). Of this number, 47 points are the body\u0027s own statements and 8 belong to 4 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":"packages/sheets/src/chainage.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92c8bd31f649e001409fc2d7dd935c132fe9ff72015bd44983c8ddc58be6c42"}},{"ruleId":"D2","level":"warning","message":{"text":"SetScaleDialog.SetScaleDialog (cognitive 54): SetScaleDialog.SetScaleDialog has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 17 (22 pts), if/else 15 (17 pts), boolean chains 15 (nesting depth added 7). Of this number, 26 points are the body\u0027s own statements and 28 belong to 14 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SetScaleDialog.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4deda8f4d68e9ca42d91ecce92a663bbf312a5ce0fd914c33827f0774e1f9fa1"}},{"ruleId":"D2","level":"warning","message":{"text":"convert.convertCad (cognitive 53): convert.convertCad has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 11 (13 pts), ternaries 3 (10 pts), error handling 2 (5 pts), boolean chains 3 (nesting depth added 22). Of this number, 48 points are the body\u0027s own statements and 5 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":"apps/web/src/cad/convert.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f39b9a386f69e6cffd51c1cc032663371d2c9ca60f0cbe9678686504b4b7f4"}},{"ruleId":"D2","level":"warning","message":{"text":"LabelRegionsPanel.LabelRegionsPanel (cognitive 53): LabelRegionsPanel.LabelRegionsPanel has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 21 (39 pts), boolean chains 11, if/else 2 (3 pts) (nesting depth added 19). Of this number, 44 points are the body\u0027s own statements and 9 belong to 4 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":"apps/web/src/components/LabelRegionsPanel.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2382799a9e95395e68866217513374a0787368fc22bdfd36babff34424132b"}},{"ruleId":"D2","level":"warning","message":{"text":"repeatedRegions.findRepeatedRegions (cognitive 53): repeatedRegions.findRepeatedRegions has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 7 (14 pts), ternaries 4 (12 pts), boolean chains 4 (nesting depth added 26). Of this number, 48 points are the body\u0027s own statements and 5 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":"apps/web/src/sheets/repeatedRegions.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c128e3a83b70760668380c37e6c927f7ebbe68e7b75b5e494da0ed847c8a6968"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupStore.remapPages (cognitive 53): MarkupStore.remapPages has cognitive complexity 53 (threshold 15). Drivers by points: if/else 19 (32 pts), ternaries 5 (11 pts), loops 7 (8 pts), boolean chains 2 (nesting depth added 20). Most of this is not in the body itself: 1 of the 53 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 840, a function literal at line 898, turn, \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":"packages/markup/src/store.ts"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"296724aa2717f2e17cf7024ee453bb1af098f67f568b32d63091419e4bf8ae02"}},{"ruleId":"D2","level":"warning","message":{"text":"index.assemble (cognitive 52): index.assemble has cognitive complexity 52 (threshold 15). Drivers by points: if/else 22 (35 pts), boolean chains 30, loops 15 (20 pts), ternaries 12 (20 pts) (nesting depth added 26). 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 (index.assemble::toEntity) 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":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e432e182b8990bd5c0d9cf7bd08097476e07ee82bd422043eeec52aba8785507"}},{"ruleId":"D2","level":"warning","message":{"text":"PagesPanel.PagesPanel (cognitive 52): PagesPanel.PagesPanel has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 15 (20 pts), if/else 18 (19 pts), boolean chains 12, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 12 of the 52 points are its own statements and the rest belongs to 16 function items inside it that branch (keys, click, a function literal at line 566, \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":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f84029c87e0cf6321434e3dbb71ea917aa312eb2fdc2280b74b094fe958545"}},{"ruleId":"D2","level":"warning","message":{"text":"detect.detectSheets (cognitive 52): detect.detectSheets has cognitive complexity 52 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 10 (15 pts), boolean chains 10, ternaries 3 (4 pts) (nesting depth added 17). Most of this is not in the body itself: 9 of the 52 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 460, pagesNear, a function literal at line 429, \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":"packages/sheets/src/detect.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"7471329f419d792520674f073a490520564f223fe2db6647e98e135c75251ae3"}},{"ruleId":"D2","level":"warning","message":{"text":"revuMigration.runRevuMigration (cognitive 51): revuMigration.runRevuMigration has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 5 (21 pts), if/else 6 (12 pts), error handling 3 (9 pts), loops 4 (9 pts) (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":"apps/web/src/migrate/revuMigration.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43ae9ce7b4e727f872b6bba36b3a3bbec0441b41d28d75ba90c3de579fa84d1"}},{"ruleId":"D2","level":"warning","message":{"text":"revuWrite.applyStyle (cognitive 51): revuWrite.applyStyle has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 14, ternaries 4 (11 pts) (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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcde7906642e3829b424c01c74efe79f69be1c434820b3383a694112842b6006"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.clipStrokedPath (cognitive 51): worker.clipStrokedPath has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (33 pts), loops 7 (12 pts), boolean chains 6 (nesting depth added 20). Of this number, 49 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cea46dfb642b995a2e5627dc267a259cefe32a2f418e7b9cf47823db3be6c9"}},{"ruleId":"D2","level":"warning","message":{"text":"NewPdfDialog.NewPdfDialog (cognitive 49): NewPdfDialog.NewPdfDialog has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 21, ternaries 15 (20 pts), if/else 8 (nesting depth added 5). Of this number, 38 points are the body\u0027s own statements and 11 belong to 5 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":"apps/web/src/components/NewPdfDialog.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b2a01eabb8a53513427b30bc1cbc2feb88d80792b2b6c8c21736b7aaf527c7"}},{"ruleId":"D2","level":"warning","message":{"text":"cad.transformMarkup (cognitive 49): cad.transformMarkup has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 11, ternaries 4 (7 pts), loops 1 (2 pts) (nesting depth added 18). Of this number, 45 points are the body\u0027s own statements and 4 belong 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":"packages/markup/src/cad.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"875cd3a1707047ef370b05033d0b1b81836bb43f1fc8a117077b856906087789"}},{"ruleId":"D2","level":"warning","message":{"text":"dxf.parseDxf (cognitive 48): dxf.parseDxf has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 5 (9 pts), ternaries 3 (8 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 23). Of this number, 46 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":"apps/web/src/geospatial/dxf.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5a580a1ae3d7a008ef87974c4465c8df66baf17ef4915c494c66e81e413956"}},{"ruleId":"D2","level":"warning","message":{"text":"CompareDialog.CompareDialog (cognitive 48): CompareDialog.CompareDialog has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 16 (22 pts), boolean chains 18, if/else 7, error handling 1 (nesting depth added 6). Of this number, 27 points are the body\u0027s own statements and 21 belong to 11 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/CompareDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ee152529fdd6cff8ad5575e63c7eebba52b50f13fa11076d4343764a506e83"}},{"ruleId":"D2","level":"warning","message":{"text":"indexer.readPdfAnnotations (cognitive 48): indexer.readPdfAnnotations has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 5, loops 3 (5 pts), ternaries 2 (5 pts) (nesting depth added 22). Most of this is not in the body itself: 1 of the 48 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 264, 298, 311). 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":"apps/web/src/sheets/indexer.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc9615466afc790dff2ea8550ab92f80243680981e42eaf265ff045bbe986e1"}},{"ruleId":"D2","level":"warning","message":{"text":"toolchest.execContent (cognitive 48): toolchest.execContent has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (37 pts), ternaries 2 (6 pts), boolean chains 4, loops 1 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15a76b6d3e2966ee7d9dab41f6f6151833176d7d6a2784ecd23666dbf4a6c0a"}},{"ruleId":"D2","level":"warning","message":{"text":"pki.pkiRequest (cognitive 47): pki.pkiRequest has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 8, loops 3 (5 pts), error handling 2 (4 pts) (nesting depth added 19). Of this number, 45 points are the body\u0027s own statements and 2 belong 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":"apps/desktop/src/pki.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8ab252c29cc453122730d5012bae1af1c7987361a52f9284c945c9fddf678f"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.next (cognitive 47): Scanner.next has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (30 pts), loops 5 (12 pts), boolean chains 5 (nesting depth added 22). 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0e7ac837f42cee4b0c2b4a3785b52223b529a49d5ec3016073731a41d6cafa"}},{"ruleId":"D2","level":"warning","message":{"text":"DriveSession.readFolder (cognitive 47): DriveSession.readFolder has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 9, loops 4 (5 pts), error handling 2 (4 pts) (nesting depth added 14). Of this number, 45 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2acff71f7a9e23bcd07a1c78002bc0043107ece60940c06fac798e34073b6bd"}},{"ruleId":"D2","level":"warning","message":{"text":"FontPicker.FontPicker (cognitive 47): FontPicker.FontPicker has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (23 pts), boolean chains 16, ternaries 5 (7 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 14 of the 47 points are its own statements and the rest belongs to 11 function items inside it that branch (onKey, a function literal at line 53, a function literal at line 74, \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":"apps/web/src/components/FontPicker.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c3b5de450834465166176ba1d3fd34b718d3af58b3979bf861a5d5fa43bb40"}},{"ruleId":"D2","level":"warning","message":{"text":"revuLibraries.importRevuFiles (cognitive 47): revuLibraries.importRevuFiles has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (25 pts), ternaries 5 (15 pts), error handling 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 24). Of this number, 45 points are the body\u0027s own statements and 2 belong 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":"apps/web/src/toolchest/revuLibraries.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58df72f33ea5fabd0aaa7a5d3417659a072d9b25094119e5b3784fe324a2e55"}},{"ruleId":"D2","level":"warning","message":{"text":"pki.crlStatus (cognitive 47): pki.crlStatus has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 11, ternaries 4 (6 pts), loops 3 (4 pts) (nesting depth added 17). Of this number, 46 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":"apps/web/src/documents/pki.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bd9acbb9f57cc772e4c75fcc4d10b369d1c25c163d7738cef3e745895f71e0"}},{"ruleId":"D2","level":"warning","message":{"text":"revuWrite.writeBlx (cognitive 47): revuWrite.writeBlx has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 7 (29 pts), if/else 5 (8 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 29). None of this is in the body itself: all 47 points belong to 2 function literals inside it that branch (lines 56, 85). 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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cb4f4f6cfd025bdd270ce8fdb4c30f5844f46ae67ba36321db28c44a6842b5"}},{"ruleId":"D2","level":"warning","message":{"text":"pki.completeChain (cognitive 46): pki.completeChain has cognitive complexity 46 (threshold 15). Drivers by points: if/else 9 (22 pts), error handling 3 (9 pts), loops 5 (9 pts), boolean chains 6 (nesting depth added 23). Of this number, 42 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":"apps/web/src/documents/pki.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0742b7d3dae1de8363ac21ddfb4dbaf3618db14abd8a52944c505cd23a2c46"}},{"ruleId":"D2","level":"warning","message":{"text":"estimating.sanitizeProductLists (cognitive 46): estimating.sanitizeProductLists has cognitive complexity 46 (threshold 15). Drivers by points: if/else 8 (19 pts), ternaries 5 (13 pts), loops 4 (8 pts), boolean chains 6 (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":"packages/markup/src/estimating.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99b1d04351f4d69de30f6b3c18b1860c930b075af419b1dd652db897ee4425a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectsPanel.ProjectView (cognitive 45): ProjectsPanel.ProjectView has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 24, ternaries 10 (11 pts), if/else 7 (8 pts), loops 2 (nesting depth added 2). Of this number, 28 points are the body\u0027s own statements and 17 belong to 16 function items inside it that branch. 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb79e6efc71286dc409694289e28588a93f15cedd1696d47a0b90a41ce9a393"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.newMarkup (cognitive 44): MarkupTools.newMarkup has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 22 (28 pts), boolean chains 10, if/else 6 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4029}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f164425b1c2ffba949d8e29e53137bc07b4374db18dafee3ef815b8a90c929"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupList.MarkupList (cognitive 44): MarkupList.MarkupList has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 84 (169 pts), if/else 78 (123 pts), boolean chains 84, loops 11 (19 pts), match/switch 1 (nesting depth added 138). 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: 3 other methods here (MarkupList.MarkupList::selectMarkup, MarkupList.MarkupList::editor, MarkupList.MarkupList::filterInput) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7892bf82fff4e849f6897f14b21e3f8312f43f649e206a0ffe5fc80dcd9b2166"}},{"ruleId":"D2","level":"warning","message":{"text":"imagePdf.imageDpi (cognitive 44): imagePdf.imageDpi has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (29 pts), boolean chains 7, loops 2 (4 pts), ternaries 1 (4 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/imagePdf.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd74a40d447d1b9a4022546c8fcbf56f0c581bb3a3a2e80de2ffe4e80703262"}},{"ruleId":"D2","level":"warning","message":{"text":"links.detectLinks (cognitive 44): links.detectLinks has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (23 pts), ternaries 8 (11 pts), boolean chains 8, loops 2 (nesting depth added 12). None of this is in the body itself: all 44 points belong to 7 function literals inside it that branch (lines 340, 368, 338, \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":"packages/sheets/src/links.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecea2a39e9b663a8a31e27bd00f617196dbc953b3516769d5d67de0c1ba1b705"}},{"ruleId":"D2","level":"warning","message":{"text":"DriveSession.join (cognitive 43): DriveSession.join has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 10, ternaries 4 (8 pts), error handling 4 (5 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"4573efdd639d21f92e55edb7f49b08f9c47b67f0d3506c1249243053b182ff5d"}},{"ruleId":"D2","level":"warning","message":{"text":"listColumns.cellsFor (cognitive 43): listColumns.cellsFor has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 19 (22 pts), if/else 10 (11 pts), boolean chains 6, loops 4 (nesting depth added 4). Of this number, 32 points are the body\u0027s own statements and 11 belong to 4 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"9737966107ed5b99d79f00816a51403267ae2ffe971a0c80c2e9a9406a364a29"}},{"ruleId":"D2","level":"warning","message":{"text":"StampsDialog.StampsDialog (cognitive 43): StampsDialog.StampsDialog has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 14 (28 pts), if/else 5 (9 pts), boolean chains 6 (nesting depth added 18). Most of this is not in the body itself: 11 of the 43 points are its own statements and the rest belongs to 15 function items inside it that branch (insertField, a function literal at line 372, a function literal at line 404, \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":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"005307a1cfecdff6c8710326583728a18d5e8fbd1a49e3a2823edb536bb97ff7"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectsPanel.FileActions (cognitive 43): ProjectsPanel.FileActions has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 26, ternaries 8 (9 pts), if/else 6 (7 pts), error handling 1 (nesting depth added 2). Of this number, 32 points are the body\u0027s own statements and 11 belong to 9 function items inside it that branch. 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8bf6daef958b8e56a668bb7ccdc87361084d91bf5b0ed44980b6d3ca9ba642"}},{"ruleId":"D2","level":"warning","message":{"text":"paths.registerPathIpc (cognitive 42): paths.registerPathIpc has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 11, ternaries 8 (9 pts), error handling 3 (nesting depth added 3). None of this is in the body itself: all 42 points belong to 8 function literals inside it that branch (lines 65, 94, 81, \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":"apps/desktop/src/paths.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"706cff66bfcc855c8512cae328ef878c37e55b33482773bae0655b4d9217d640"}},{"ruleId":"D2","level":"warning","message":{"text":"DriveSession.update (cognitive 42): DriveSession.update has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (20 pts), ternaries 6 (12 pts), boolean chains 10 (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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fdf2ed558215c883ded2feeef76de5369dfb0a4540ca121f3bcc889ddf5e69"}},{"ruleId":"D2","level":"warning","message":{"text":"starters.starterGroups (cognitive 42): starters.starterGroups has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 42. Of this number, 40 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/assemblies/starters.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e60b4c936edba195c16556e6cbc3a0191098781ea5af80274758a164431b7a"}},{"ruleId":"D2","level":"warning","message":{"text":"semantic.compareParagraphs (cognitive 42): semantic.compareParagraphs has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 5 (10 pts), boolean chains 8, loops 7 (nesting depth added 13). Of this number, 41 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/compare/semantic.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d04cadeb3f49d561794c5506067027823bbff1ec7bb9645e225cd7e8652ff2"}},{"ruleId":"D2","level":"warning","message":{"text":"detect.candidatesFor (cognitive 42): detect.candidatesFor has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 13, ternaries 5 (8 pts), loops 2 (nesting depth added 11). Of this number, 35 points are the body\u0027s own statements and 7 belong to 4 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":"packages/sheets/src/detect.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af11af76357211f86f2f5e82c8651cd8e1ccd5dff08932eaf598a50add4384a"}},{"ruleId":"D2","level":"warning","message":{"text":"DriveSession.readFile (cognitive 41): DriveSession.readFile has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 2 (7 pts), boolean chains 5, error handling 2 (4 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2f9ca87a648e85cc793624e10d3320433faf562578d329dae7ee3769cdfd9b"}},{"ruleId":"D2","level":"warning","message":{"text":"SignaturesPanel.SignatureDialog (cognitive 41): SignaturesPanel.SignatureDialog has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 9 (11 pts), boolean chains 9, loops 2 (5 pts) (nesting depth added 9). Most of this is not in the body itself: 8 of the 41 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 33, a function literal at line 103, save, \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":"apps/web/src/components/SignaturesPanel.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c361acdc2af618986e5cd0a583a1f3e3a286f496096ef8b3bb3b435a479368d"}},{"ruleId":"D2","level":"warning","message":{"text":"ItemsDialog.ItemsDialog (cognitive 41): ItemsDialog.ItemsDialog has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 24, ternaries 13 (15 pts), if/else 1, loops 1 (nesting depth added 2). Most of this is not in the body itself: 9 of the 41 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 152, problem, a function literal at line 262, \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":"apps/web/src/components/ItemsDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bd13cb569904c595878ada4673455edb11e29b6590550e102dae32379794e9"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductListsDialog.ProductListsDialog (cognitive 41): ProductListsDialog.ProductListsDialog has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 14 (20 pts), boolean chains 17, if/else 2, error handling 1, loops 1 (nesting depth added 6). Most of this is not in the body itself: 9 of the 41 points are its own statements and the rest belongs to 19 function items inside it that branch (a function literal at line 257, a function literal at line 87, a function literal at line 51, \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":"apps/web/src/components/ProductListsDialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bca7e835fa660a59af61364e5836a78a82eb5fc5b35d948b4dd3fa6fe69de0"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitalSignatures.SignDialog (cognitive 41): DigitalSignatures.SignDialog has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 15 (27 pts), boolean chains 12, if/else 2 (nesting depth added 12). Of this number, 32 points are the body\u0027s own statements and 9 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef839c9bee668174ca22539ffea887a5582d67eb0fc862f50fe9179134dd465b"}},{"ruleId":"D2","level":"warning","message":{"text":"semantic.similarPairs (cognitive 41): semantic.similarPairs has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 9 (14 pts), boolean chains 5 (nesting depth added 15). Most of this is not in the body itself: 4 of the 41 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 366, 355, 404, \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":"apps/web/src/compare/semantic.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8b87af6d38707764312def6879411832b738783485c6254732a92717c1e8d9"}},{"ruleId":"D2","level":"warning","message":{"text":"SketchBar.SketchBar (cognitive 41): SketchBar.SketchBar has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 13 (19 pts), boolean chains 14, if/else 8 (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 19 belong to 4 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":"apps/web/src/components/SketchBar.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"57edcc5ad79f366555aa3cdda2e2ca6a94391b70525c0551522f1ad58676e897"}},{"ruleId":"D2","level":"warning","message":{"text":"teachLinks.learnLink (cognitive 41): teachLinks.learnLink has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 12, ternaries 6 (8 pts), error handling 1 (nesting depth added 9). Of this number, 40 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/teachLinks.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"972fd9f496a53cfb415e5d60f7e06de3444ac11d98b0602a56dcdc6efcc77145"}},{"ruleId":"D2","level":"warning","message":{"text":"import.toMarkups (cognitive 41): import.toMarkups has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 11 (27 pts), if/else 5 (10 pts), boolean chains 3, match/switch 1 (nesting depth added 21). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/import.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cba9aeddef32973ca0c61529379feda058abaee21b2a1f038561e6b311d31f2"}},{"ruleId":"D2","level":"warning","message":{"text":"toolchest.contentTemplate (cognitive 41): toolchest.contentTemplate has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 7 (16 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 20). 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e46ea10e5f36eb5e416e7e772e561eb19669b99d42f873d1d9abbb903dd928"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.joinSelected (cognitive 40): MarkupTools.joinSelected has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 5 (17 pts), if/else 5 (12 pts), boolean chains 6, loops 4 (5 pts) (nesting depth added 20). Of this number, 38 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4779}}}],"partialFingerprints":{"codehealthFindingId/v1":"851e241ee8b8022bc98b811e27913b0db29f0885a9143c2572d84c7ed87dc7a8"}},{"ruleId":"D2","level":"warning","message":{"text":"formula.evaluate (cognitive 40): formula.evaluate has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 8 (34 pts), match/switch 2 (3 pts), if/else 1 (2 pts), boolean chains 1 (nesting depth added 28). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/columns/formula.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01a7af47f3655003b1b76867f7b52e945181f228adb2c31f27e88dbac161cb5"}},{"ruleId":"D2","level":"warning","message":{"text":"process.flattenAnnotations (cognitive 40): process.flattenAnnotations has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (20 pts), ternaries 4 (11 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 22). Of this number, 38 points are the body\u0027s own statements and 2 belong 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":"apps/web/src/documents/process.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"952ad6bc5527deab9d43fba3c2d1af15a5e0791c291ec67b359b3cfbba36dd57"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfTemplates.drawingSheet (cognitive 40): pdfTemplates.drawingSheet has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (21 pts), ternaries 5 (12 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 21). 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":"apps/web/src/documents/pdfTemplates.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80794405c6d379a5bbf9d322b1b76c74361e4a6eddce8e37d64e2e211465533"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertiesPanel.PropertiesPanel (cognitive 39): PropertiesPanel.PropertiesPanel has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 24, if/else 8 (9 pts), ternaries 6 (nesting depth added 1). Of this number, 30 points are the body\u0027s own statements and 9 belong to 11 function items inside it that branch. 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0613f0ea713a7d3bc0fb5346b4537da2d3609a2189e8f2b5ab3403eb8125de62"}},{"ruleId":"D2","level":"warning","message":{"text":"process.recolourContent::replaceColour (cognitive 39): process.recolourContent::replaceColour has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 12, ternaries 3 (5 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. This shape REPEATS in the file: one other method here (process.recolourContent) 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":"apps/web/src/documents/process.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"af55ff583d6b892772e50f3c73aa98a48f52244aff6f013e6047912e2ab424ee"}},{"ruleId":"D2","level":"warning","message":{"text":"PageToolsDialog.PageToolsDialog (cognitive 39): PageToolsDialog.PageToolsDialog has cognitive complexity 39 (threshold 15). Drivers by points: if/else 22 (25 pts), boolean chains 8, ternaries 5, loops 1 (nesting depth added 3). Of this number, 29 points are the body\u0027s own statements and 10 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PageToolsDialog.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3733e760638e2f2aa9454e68452c5fb2b0db54cc1eb932121b3ff8b39027ad59"}},{"ruleId":"D2","level":"warning","message":{"text":"forms.modelOf (cognitive 39): forms.modelOf has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 13 (29 pts), boolean chains 6, if/else 2 (3 pts), loops 1 (nesting depth added 17). Most of this is not in the body itself: 15 of the 39 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 310, 285, 305). 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d7d13cafabb82315dbe50d2ab4e026fa1fec8713af7af00124d912620d124d"}},{"ruleId":"D2","level":"warning","message":{"text":"SheetView.SheetView (cognitive 39): SheetView.SheetView has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18, boolean chains 15, ternaries 5, error handling 1. Most of this is not in the body itself: 8 of the 39 points are its own statements and the rest belongs to 15 function items inside it that branch (down, a function literal at line 95, a function literal at line 82, \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":"apps/web/src/components/standardsWizard/SheetView.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaf1e1d91ce725e1b04c4b83988aed7f5a2ec47baa0aa9bc712cdc118a7a674"}},{"ruleId":"D2","level":"warning","message":{"text":"assistant.reportDocumentChanges (cognitive 39): assistant.reportDocumentChanges has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 15, if/else 10 (14 pts), ternaries 8, error handling 1, loops 1 (nesting depth added 4). Most of this is not in the body itself: 8 of the 39 points are its own statements and the rest belongs to one function literal inside it that branches (line 1128). 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2fc8159efb6f2cece52d55c2edae75bac6b0f834824049a6066a0879059d70"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App::useToolItem (cognitive 39): App.App::useToolItem has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 18 (28 pts), boolean chains 6, if/else 4 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 6 other methods here (App.App, App.App::runExport, App.App::markupMenu, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"apps/web/src/App.tsx"},"region":{"startLine":6233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d622ad55376091a2ceea0224ed672cf8039d76cb83b5103859622f79c808dd"}},{"ruleId":"D2","level":"warning","message":{"text":"import.importAnnotations::finish (cognitive 39): import.importAnnotations::finish has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (35 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 21). 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 (import.importAnnotations) 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":"packages/markup/src/import.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd56a109be63a5d9bc8412904b56ac15c5c840d570a8fd0f75b603bdd5c6db70"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupStore.transformPages (cognitive 39): MarkupStore.transformPages has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (19 pts), ternaries 6 (9 pts), loops 4 (6 pts), boolean chains 5 (nesting depth added 13). Most of this is not in the body itself: 2 of the 39 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 988, pt, rect, \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":"packages/markup/src/store.ts"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"93dbab4d2b45ce7ba81c2e26f1c6e210782758ebd5f2029d169371fdd66f1135"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.setTool (cognitive 38): MarkupTools.setTool has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 9 (13 pts), boolean chains 9 (nesting depth added 8). Of this number, 34 points are the body\u0027s own statements and 4 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10bb5f57c57f2a1d9d0359b46ccee1ce21cdbb12c1a29fd2d330174d2372d6a"}},{"ruleId":"D2","level":"warning","message":{"text":"script.test (cognitive 38): script.test has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 6 (11 pts), boolean chains 10, match/switch 1 (nesting depth added 8). Of this number, 32 points are the body\u0027s own statements and 6 belong 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6e8af7e7656392426a35c89a43179aed11b5f586ff8f2fbac9efefe4bb6d24"}},{"ruleId":"D2","level":"warning","message":{"text":"RevuMigrationDialog.RevuMigrationDialog (cognitive 38): RevuMigrationDialog.RevuMigrationDialog has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 19, ternaries 7 (10 pts), if/else 7 (8 pts), loops 1 (nesting depth added 4). Of this number, 25 points are the body\u0027s own statements and 13 belong to 12 function items inside it that branch. 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":"apps/web/src/components/RevuMigrationDialog.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4866ad2a52b77ab04989d1c7914b743f326f7b4ba5205d9bd92330b1810471"}},{"ruleId":"D2","level":"warning","message":{"text":"startTips.parseTip (cognitive 38): startTips.parseTip has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 4, loops 3 (4 pts), ternaries 2 (nesting depth added 13). Of this number, 25 points are the body\u0027s own statements and 13 belong 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":"apps/web/src/help/startTips.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdbc81f4642d7d58efbb276f4345e98fb256b15e6e782a6dcc0deb679a6844d"}},{"ruleId":"D2","level":"warning","message":{"text":"EraseRegionsPanel.EraseRegionsPanel (cognitive 38): EraseRegionsPanel.EraseRegionsPanel has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 18 (23 pts), boolean chains 11, if/else 4 (nesting depth added 5). Of this number, 20 points are the body\u0027s own statements and 18 belong to 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/EraseRegionsPanel.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc177c2332a6ef5e4860b3f7f39dfb448d02189929278b867b99f4d6ecdeb175"}},{"ruleId":"D2","level":"warning","message":{"text":"revuWrite.imageObjects (cognitive 38): revuWrite.imageObjects has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 5 (12 pts), loops 4 (6 pts), boolean chains 5 (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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b1c776ccdccf4132d53e7e72a8cbf746aed60a7ab94b6b4b25d109ec067d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"report.reportPdf (cognitive 38): report.reportPdf has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 6 (12 pts), ternaries 5 (9 pts) (nesting depth added 19). Of this number, 20 points are the body\u0027s own statements and 18 belong to 4 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":"packages/markup/src/report.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"843192f3c1f597df0bed62a833fd94e552b66e2362f8a71e1758cf81faee4c89"}},{"ruleId":"D2","level":"warning","message":{"text":"content.parseStrokeForm (cognitive 37): content.parseStrokeForm has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"927122a84a34c3456c00bb3aaae283011727d9081ba5abe458b7b970e7508dc3"}},{"ruleId":"D2","level":"warning","message":{"text":"systemFonts.ensureMarkupFonts (cognitive 37): systemFonts.ensureMarkupFonts has cognitive complexity 37 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 3 (11 pts), loops 3 (5 pts), error handling 1 (4 pts), boolean chains 2 (nesting depth added 22). 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":"apps/web/src/fonts/systemFonts.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05cf71980286503c1d0fa3f19a4232d3506dc853baed1f1bfc0ade373c755af"}},{"ruleId":"D2","level":"warning","message":{"text":"MeasurementsPanel.AssemblyPicker (cognitive 37): MeasurementsPanel.AssemblyPicker has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 17, ternaries 9 (11 pts), if/else 9 (nesting depth added 2). Most of this is not in the body itself: 14 of the 37 points are its own statements and the rest belongs to 6 function items inside it that branch (pick, apply, a function literal at line 764, \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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"35238300f72042e596676198ca3ab14f364319f2a0f173e20d3ef4d4d1543e6b"}},{"ruleId":"D2","level":"warning","message":{"text":"ltv.addDss (cognitive 37): ltv.addDss has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 9 (14 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 15). Of this number, 36 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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c751a0e56902100c2b12d476ac4924752ef435d66f328f0c512245354b2d51"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuSearch.MenuSearch (cognitive 37): MenuSearch.MenuSearch has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 9, ternaries 5 (8 pts) (nesting depth added 5). Most of this is not in the body itself: 7 of the 37 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 177, row, runAt, \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":"apps/web/src/components/MenuSearch.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7964cd24754b07114c984c1c83a0911b3a0e3173ebbe7e4e00a5203a22123b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"ComparePagePicker.ComparePagePicker (cognitive 37): ComparePagePicker.ComparePagePicker has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 17 (22 pts), boolean chains 7, if/else 5 (7 pts), error handling 1 (nesting depth added 7). Of this number, 23 points are the body\u0027s own statements and 14 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ComparePagePicker.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"426087b9a09cff43c235fcc31808695e68632a950a17cbe2cc846b4bf35f8531"}},{"ruleId":"D2","level":"warning","message":{"text":"assistantSymbols.findSymbolMatches (cognitive 37): assistantSymbols.findSymbolMatches has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 6 (17 pts), loops 4 (10 pts), if/else 6 (7 pts), boolean chains 3 (nesting depth added 18). Of this number, 36 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantSymbols.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"79283677db2fda2db2dbe2ae5a950f6101d115190bc300f3fce948843ecfa86d"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfExtras.readPdfExtras (cognitive 37): pdfExtras.readPdfExtras has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (19 pts), ternaries 6 (11 pts), loops 3 (4 pts), boolean chains 2, error handling 1 (nesting depth added 18). Of this number, 35 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/pdfExtras.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae7e14473370f332edabf0a02a5d0827b5781f272ebda9ee761eb4f2c926f68"}},{"ruleId":"D2","level":"warning","message":{"text":"xfdf.markupsFromXfdf (cognitive 37): xfdf.markupsFromXfdf has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 10 (11 pts), boolean chains 7, loops 4 (5 pts), error handling 1 (2 pts) (nesting depth added 8). Most of this is not in the body itself: 14 of the 37 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 260, a function literal at line 285, date, \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":"packages/markup/src/xfdf.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c0abfdf2fb52902e328434159f70497693be7fd45d306eb28fc397a7e6067c"}},{"ruleId":"D2","level":"warning","message":{"text":"fill.outerBoundary (cognitive 37): fill.outerBoundary has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 4 (6 pts), boolean chains 2, ternaries 1 (nesting depth added 19). Of this number, 34 points are the body\u0027s own statements and 3 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":"packages/measure/src/fill.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9222b2d49bafd7e92acd96714293b0ba00d68f42cf9341c79e620e09d9eb3e8d"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.readAnnotations (cognitive 37): worker.readAnnotations has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (11 pts), ternaries 4 (8 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ca3506b34e6a92fb8853c7e1cf6d79b2a886cf3e11e4fbe63e884a3c742b25"}},{"ruleId":"D2","level":"warning","message":{"text":"chainage.assignAlignments (cognitive 37): chainage.assignAlignments has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 7 (9 pts), boolean chains 8, ternaries 3 (nesting depth added 9). Of this number, 35 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":"packages/sheets/src/chainage.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc49f0cf1974df22c589c810f99ea679b42a4ab16de5d4a540b9f5d04ddbd597"}},{"ruleId":"D2","level":"warning","message":{"text":"quantities.rollup (cognitive 36): quantities.rollup has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (18 pts), ternaries 4 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 22). 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":"apps/web/src/assemblies/quantities.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabf040eb16f271b8cdf0ab6bf28c2933990dde5ff40eba38d45b248384b2f8e"}},{"ruleId":"D2","level":"warning","message":{"text":"FormsPanel.Properties (cognitive 36): FormsPanel.Properties has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 33, ternaries 3. Of this number, 29 points are the body\u0027s own statements and 7 belong to 17 function literals inside it that branch. 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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49a672392f7ed43078ab1d494813c9729d4b5882bb511a22199357fd5123cbb"}},{"ruleId":"D2","level":"warning","message":{"text":"header.readHeader (cognitive 36): header.readHeader has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (18 pts), loops 11 (12 pts), boolean chains 5, ternaries 1 (nesting depth added 2). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/header.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b3e8bc094ce7900ed6e1803efbb57c1a1fe2143ce124f89bfa42c7517d9064"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf.textOps (cognitive 36): pdf.textOps has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3 (8 pts), boolean chains 7, ternaries 3 (4 pts) (nesting depth added 13). Most of this is not in the body itself: 11 of the 36 points are its own statements and the rest belongs to one function literal inside it that branches (line 257). 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":"apps/web/src/cad/pdf.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f9ce652cfc63a826e722012e0504db8a71cca0087856df33d29f0d37bf8ce7"}},{"ruleId":"D2","level":"warning","message":{"text":"wizardLinks.learnAlignmentChain (cognitive 36): wizardLinks.learnAlignmentChain has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 10, ternaries 5 (8 pts), loops 1 (nesting depth added 4). Of this number, 33 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/wizardLinks.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb17b47fb1882d2a1fcff0f0b1cf048a530f03899b6aca2c9ee93348a7a40ffa"}},{"ruleId":"D2","level":"warning","message":{"text":"codebase-reach.canvas.CodebaseReach (cognitive 36): codebase-reach.canvas.CodebaseReach has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 11, if/else 8 (11 pts), loops 1 (nesting depth added 5). Most of this is not in the body itself: 11 of the 36 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 285, 275, 287, \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":"docs/codebase-reach.canvas.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8f72fee657dcc39a559c0adc1e7958f9dd35e1c385142c0f24a857a4e6fb2b"}},{"ruleId":"D2","level":"warning","message":{"text":"fill.dynamicFill (cognitive 36): fill.dynamicFill has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 6 (9 pts), boolean chains 8, ternaries 1 (nesting depth added 12). Of this number, 26 points are the body\u0027s own statements and 10 belong 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":"packages/measure/src/fill.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2421f5c29bc821fa10441942b9e324f846e90cb2b0f91fb01e0c7454f8f70d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolBar.MarkupFields (cognitive 35): ToolBar.MarkupFields has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 12, boolean chains 11, if/else 10 (11 pts), loops 1 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 19 belong to 10 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2212efe5df321516d44b7523eb1f944549b16bd0a0b8e0c2c559f13eed4dc3b"}},{"ruleId":"D2","level":"warning","message":{"text":"SemanticComparePanel.SemanticComparePanel (cognitive 35): SemanticComparePanel.SemanticComparePanel has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 17, ternaries 9 (12 pts), if/else 4, error handling 2 (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 15 belong to 6 function items inside it that branch. 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":"apps/web/src/components/SemanticComparePanel.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc72272efb9e6c7fa561af2044326c6b1d46e208f5bf763344be3f82502d5250"}},{"ruleId":"D2","level":"warning","message":{"text":"Ribbon.Ribbon (cognitive 35): Ribbon.Ribbon has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 15, if/else 10, ternaries 8, error handling 1, match/switch 1. Most of this is not in the body itself: 12 of the 35 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 1291, body, pick, \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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffdfd5280a3b70dc78680c6c95222921325c634a556730f207e29432729655b"}},{"ruleId":"D2","level":"warning","message":{"text":"ShortcutsDialog.ShortcutsDialog (cognitive 35): ShortcutsDialog.ShortcutsDialog has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 7 (10 pts), boolean chains 7, error handling 2 (3 pts), loops 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 35 points is its own statement and the rest belongs to 9 function items inside it that branch (a function literal at line 122, a function literal at line 82, a function literal at line 58, \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":"apps/web/src/components/ShortcutsDialog.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d72424281d4620d19c8a5d5189712ea2dc34e65d915312db08f3bfe338e222"}},{"ruleId":"D2","level":"warning","message":{"text":"r2007.lz77ac21 (cognitive 35): r2007.lz77ac21 has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (24 pts), loops 4 (7 pts), boolean chains 3, match/switch 1 (nesting depth added 12). Most of this is not in the body itself: 5 of the 35 points are its own statements and the rest belongs to 4 function items inside it that branch (literal, chunks, instructions, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/r2007.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"71339c2b87ae2ca0b874b43c6e001c6167d91eef296d70005cc7221f9ba681d3"}},{"ruleId":"D2","level":"warning","message":{"text":"text.mtextHeightRuns (cognitive 35): text.mtextHeightRuns has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 4, loops 1 (nesting depth added 16). Of this number, 31 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/text.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"febf99308be10714688d79e9f82c8c11d66d9c5862b05fe4c6022666ffa93dfc"}},{"ruleId":"D2","level":"warning","message":{"text":"sheets.layoutSheet (cognitive 35): sheets.layoutSheet has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 11 (19 pts), if/else 4 (7 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 12). Of this number, 32 points are the body\u0027s own statements and 3 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":"apps/web/src/cad/sheets.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f119b859a7cc21a3ac78089be982284cb2ab6daf0429a4cba3d1406f9329289"}},{"ruleId":"D2","level":"warning","message":{"text":"geometry.hitTest (cognitive 35): geometry.hitTest has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 9, loops 3 (6 pts), ternaries 1 (2 pts) (nesting depth added 11). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/geometry.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"614c3c21c7483933a9fc5276f4abe263457889fbfe640be9f0db4d2ee21560e3"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderCopyBuilder.plan (cognitive 34): RenderCopyBuilder.plan has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 3 (6 pts), boolean chains 5, ternaries 1 (nesting depth added 16). Of this number, 33 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":"apps/web/src/documents/renderCopy/renderCopy.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"074f64ef24c368c373ee22a44363b3ba9025e00daa418a69bdc25193b8e9c7f1"}},{"ruleId":"D2","level":"warning","message":{"text":"StampsDialog.StampFieldsBuilder (cognitive 34): StampsDialog.StampFieldsBuilder has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 14 (25 pts), boolean chains 6, if/else 2 (3 pts) (nesting depth added 12). None of this is in the body itself: all 34 points belong to 15 function items inside it that branch (add, a function literal at line 195, a function literal at line 257, \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":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c785b687464779a68b3661ed2023defaa0b7cd862c49f52a33f7602f54a1b13f"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptsDialog.ScriptsDialog (cognitive 34): ScriptsDialog.ScriptsDialog has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 11 (22 pts), boolean chains 11, if/else 1 (nesting depth added 11). Of this number, 27 points are the body\u0027s own statements and 7 belong to 4 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":"apps/web/src/components/ScriptsDialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7475a4260d6c130a1850643f620f09d5c826a733945be7df1ff33f5db20f5e88"}},{"ruleId":"D2","level":"warning","message":{"text":"scaleCheck.scaleBars (cognitive 34): scaleCheck.scaleBars has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (7 pts), ternaries 2 (6 pts), boolean chains 5 (nesting depth added 17). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/measure/scaleCheck.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cc6206252f349a15bab96b071e6403cf9326d4eae80344889b091ee90fcd75"}},{"ruleId":"D2","level":"warning","message":{"text":"process.recolourPages (cognitive 34): process.recolourPages has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 6 (10 pts), loops 6 (9 pts), boolean chains 5 (nesting depth added 9). Of this number, 17 points are the body\u0027s own statements and 17 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":"apps/web/src/documents/process.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7f9b60efd3566e4c360b0da00c8f1c67c3d74dff9aacdd12cb49a641638c68"}},{"ruleId":"D2","level":"warning","message":{"text":"semantic.wordDiff (cognitive 34): semantic.wordDiff has cognitive complexity 34 (threshold 15). Drivers by points: loops 11 (20 pts), if/else 7 (9 pts), boolean chains 5 (nesting depth added 11). Of this number, 30 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/compare/semantic.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"db85fbb1716d11350b065d75ff22c5da22b6eab88cad8fa1ad740aedba3d0763"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.parseIndex (cognitive 34): catalog.parseIndex has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 7, ternaries 3 (6 pts), loops 2 (4 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/library/catalog.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"423eb5ad857d837c4a997166a0cdd83d5c7bb91319b47b3fc9b1e5c6934b388e"}},{"ruleId":"D2","level":"warning","message":{"text":"visualSearch.visualSearch (cognitive 34): visualSearch.visualSearch has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 4 (7 pts), boolean chains 3, ternaries 1 (nesting depth added 16). Of this number, 32 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":"packages/measure/src/visualSearch.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0734711d5584cd2ffd2ef7f6f59fe539fc90cd8fcc5758f4193f009f04ef09"}},{"ruleId":"D2","level":"warning","message":{"text":"content.polylines (cognitive 33): content.polylines has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b89f0f9e8628aa258978624b0d5d0ac91db27f48edd8409d93f2be0dc2ff1b"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertiesPanel.StyleEditor (cognitive 33): PropertiesPanel.StyleEditor has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 33. Of this number, 32 points are the body\u0027s own statements and 1 belongs to 8 function literals inside it that branch. 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c8ed43cbf15a56fe13ace549899db28bea331a46a88402c355c5c7e6c66686"}},{"ruleId":"D2","level":"warning","message":{"text":"viewScales.proposeViews (cognitive 33): viewScales.proposeViews has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 8, loops 5 (6 pts), ternaries 3 (5 pts) (nesting depth added 9). Of this number, 17 points are the body\u0027s own statements and 16 belong to 7 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":"apps/web/src/measure/viewScales.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbefca321e880561e0322550d3def25ccfab6f09a0ae60433691f34a0cf11dfb"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundDialog.SoundDialog (cognitive 33): SoundDialog.SoundDialog has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 12 (21 pts), boolean chains 8, if/else 3, error handling 1 (nesting depth added 9). Most of this is not in the body itself: 9 of the 33 points are its own statements and the rest belongs to 6 function items inside it that branch (start, place, a function literal at line 38, \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":"apps/web/src/components/SoundDialog.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c553c738d325cd0d1302fbd592ac8d69d8c9dcb61776d7943acfb8d64be1be"}},{"ruleId":"D2","level":"warning","message":{"text":"callout.calloutLanding (cognitive 33): callout.calloutLanding has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 10 (22 pts), if/else 5 (7 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/callout.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3acc49d742f87ea2fe200067b756ff700f3080f5b63d9250f8ce327041879e"}},{"ruleId":"D2","level":"warning","message":{"text":"listColumns.matchesFilter (cognitive 32): listColumns.matchesFilter has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 5 (18 pts), if/else 8 (11 pts), boolean chains 3 (nesting depth added 16). 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e99d4921c5df0d65fa21c1f0b93ba6d971d8cbcc3465adcf004d0fd46a12437"}},{"ruleId":"D2","level":"warning","message":{"text":"standards.parseStandardFile (cognitive 32): standards.parseStandardFile has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 13, if/else 12, ternaries 6, error handling 1. Of this number, 25 points are the body\u0027s own statements and 7 belong to 2 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":"apps/web/src/sheets/standards.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c71532e8ed82ee49ef5089754323f0371266ab0b95a1fd847b2a0bdc9ae0d0"}},{"ruleId":"D2","level":"warning","message":{"text":"quantities.assemblyProblems (cognitive 32): quantities.assemblyProblems has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 6 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":"apps/web/src/assemblies/quantities.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"737e08c169e893fa6d13efbf5c13312f818b2b9cf9712fae0400d4993b1a4c3a"}},{"ruleId":"D2","level":"warning","message":{"text":"diff.mergeBoxes (cognitive 32): diff.mergeBoxes has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 6 (13 pts), boolean chains 1 (nesting depth added 19). Of this number, 29 points are the body\u0027s own statements and 3 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":"apps/web/src/compare/diff.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b675e1959ab57333038544f28fdb59cc12964885db8e7563ccd09b93d1b10874"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraDialog.CameraDialog (cognitive 32): CameraDialog.CameraDialog has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 14 (19 pts), if/else 5 (6 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 6). Most of this is not in the body itself: 9 of the 32 points are its own statements and the rest belongs to 11 function items inside it that branch (finish, capture, a function literal at line 120, \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":"apps/web/src/components/CameraDialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6eb52c7fc3e43c3694175394e78590fa76ae5beeffadad0728b61b832f3671"}},{"ruleId":"D2","level":"warning","message":{"text":"r2007.readAc21.section (cognitive 32): r2007.readAc21.section has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 2 (4 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/r2007.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2e4d54f32e1d33cb68c1154d9974a0c8b96f0b4014560c7f0c773cac12326a"}},{"ruleId":"D2","level":"warning","message":{"text":"export.mergeAnnotation (cognitive 32): export.mergeAnnotation has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 8, loops 4 (7 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/export.ts"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"839dec3d734af5dab5a5ea5ee47e6b9662393c71dfa02445bf5e9b9185e2ea77"}},{"ruleId":"D2","level":"warning","message":{"text":"fdf.fdfFromPdf (cognitive 32): fdf.fdfFromPdf has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 7 (9 pts), boolean chains 2, ternaries 1 (nesting depth added 9). Most of this is not in the body itself: 13 of the 32 points are its own statements and the rest belongs to 3 function items inside it that branch (visit, a function literal at line 271, nameOfAnnot). 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":"packages/markup/src/fdf.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa995d81cccb76054b335a7cf7795b70ff0d63e981dc795671e327fe58f08fcc"}},{"ruleId":"D2","level":"warning","message":{"text":"TileViewer.onPointerDown (cognitive 31): TileViewer.onPointerDown has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 13 (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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"6270c9488c66c1466850052a75dfd8d7beb39baac3f632a7368afcaec267ac1b"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupList.MarkupList::editor (cognitive 31): MarkupList.MarkupList::editor has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 8 (16 pts), boolean chains 8, if/else 6, match/switch 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: 3 other methods here (MarkupList.MarkupList, MarkupList.MarkupList::selectMarkup, MarkupList.MarkupList::filterInput) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"62770c8182ee1f585874c62e7ad157688f77db8f9fc3eef1e695997206332d16"}},{"ruleId":"D2","level":"warning","message":{"text":"reports.detail (cognitive 31): reports.detail has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 7 (15 pts), boolean chains 8, if/else 3 (7 pts), loops 1 (nesting depth added 12). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/takeoff/reports.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a9b23354c0a09e53c0d99dd2dbf36684f4d31a96e476e8dc3bbe1afaf83728"}},{"ruleId":"D2","level":"warning","message":{"text":"HyperlinkDialog.HyperlinkDialog (cognitive 31): HyperlinkDialog.HyperlinkDialog has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 10, if/else 8 (10 pts) (nesting depth added 4). Most of this is not in the body itself: 15 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (action, a function literal at line 78, a function literal at line 82, \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":"apps/web/src/components/HyperlinkDialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f520bc4e2e2446ebecd9a1b44b12bd1b7ed01e708b184d75be9ef565033293b4"}},{"ruleId":"D2","level":"warning","message":{"text":"objects.readTableObject (cognitive 31): objects.readTableObject has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (6 pts), boolean chains 3, match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0913fa8fbdc0ffe1ea73a1933db6900d1a10b53a8014862b887c61e5c65a71f9"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App::runExport (cognitive 31): App.App::runExport has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 4 (10 pts), loops 4 (5 pts), boolean chains 3, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 6 other methods here (App.App, App.App::useToolItem, App.App::markupMenu, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"apps/web/src/App.tsx"},"region":{"startLine":6291}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdc4a0bbf4386cba9299c54e574e5ee09473dfdb1348f6fc9720a14dd6d3edc"}},{"ruleId":"D2","level":"warning","message":{"text":"lineStyleEdit.draftProblem (cognitive 31): lineStyleEdit.draftProblem has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (7 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/lineStyleEdit.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe3be35271b4569927009ed55382db3e3e08af118a4045393282328ce6fe9ee"}},{"ruleId":"D2","level":"warning","message":{"text":"rasterSearch.rasterSearch (cognitive 31): rasterSearch.rasterSearch has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 7 (12 pts), boolean chains 5 (nesting depth added 12). Most of this is not in the body itself: 7 of the 31 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 109, 137). 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":"packages/measure/src/rasterSearch.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe56181ae781f676f52c1c15417626d02e381ad08a206975d65e80e140dfb3b"}},{"ruleId":"D2","level":"warning","message":{"text":"cadTools.cadPrompt (cognitive 30): cadTools.cadPrompt has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 11 (27 pts), boolean chains 1, if/else 1, match/switch 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"3988c376a7dade2298e1406a596d10b7c63ccf1c4e6f4cb0721eab2cc272d776"}},{"ruleId":"D2","level":"warning","message":{"text":"StitchPanel.StitchPanel (cognitive 30): StitchPanel.StitchPanel has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 18, ternaries 9 (10 pts), if/else 2 (nesting depth added 1). Most of this is not in the body itself: 10 of the 30 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 128, onKey, a function literal at line 103, \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":"apps/web/src/components/StitchPanel.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82d084454b2ce38f9dd4551a6e1fb7a7185447f6020c96c2989f1e48689331b"}},{"ruleId":"D2","level":"warning","message":{"text":"Library.Library (cognitive 30): Library.Library has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 9, if/else 9 (nesting depth added 2). Most of this is not in the body itself: 6 of the 30 points are its own statements and the rest belongs to 11 function items inside it that branch (finishNaming, a function literal at line 173, fileMenu, \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":"apps/web/src/components/Library.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f130173bf27188da7fb64593e4c4ac1f7f542fb7c53b56e3f9ca57255cea86ce"}},{"ruleId":"D2","level":"warning","message":{"text":"marks.findOnPage (cognitive 30): marks.findOnPage has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 7, ternaries 2 (7 pts), loops 3 (4 pts) (nesting depth added 11). Of this number, 27 points are the body\u0027s own statements and 3 belong 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddd95633fea17802b9616717915228416ff4ddc171b384988f70edbe576cd80"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfSign.signPdf (cognitive 30): pdfSign.signPdf has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 9 (12 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 6). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function item 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d40584b1c4e0acb57941d8232e2135c104f3653e55eeacfdf7bcef7d2bf1ce"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflinePrefs.OfflinePrefs (cognitive 30): OfflinePrefs.OfflinePrefs has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 13 (21 pts), boolean chains 9 (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 13 belong to 3 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":"apps/web/src/components/OfflinePrefs.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"94760c91888a36ff323bde28d4c1df87f77e40dac5d0e9bfc7d8c09c935bdfbd"}},{"ruleId":"D2","level":"warning","message":{"text":"diff.diffWords (cognitive 30): diff.diffWords has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4 (10 pts), boolean chains 4, ternaries 2 (nesting depth added 12). Of this number, 22 points are the body\u0027s own statements and 8 belong to 4 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":"apps/web/src/compare/diff.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b31385985fe23d448389e4790931099074c29c16c576ed3f5b07ce13e05422"}},{"ruleId":"D2","level":"warning","message":{"text":"PagesPanel.Thumbnail (cognitive 30): PagesPanel.Thumbnail has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 7, boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 4). Most of this is not in the body itself: 7 of the 30 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 260, 243, 289, \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":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b6640a87bc170354b7b76bcea6d4e49375240c9d12fded6509cba234f63ad2"}},{"ruleId":"D2","level":"warning","message":{"text":"tiff.writeTiff (cognitive 30): tiff.writeTiff has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 7 (16 pts), if/else 5 (10 pts), loops 2 (3 pts), boolean chains 1 (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":"apps/web/src/documents/tiff.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f7b00c4a2e910f47702b1c3c548a11fe9b5be8eb379a00827a894509643df2"}},{"ruleId":"D2","level":"warning","message":{"text":"bsiLegend.keyFor (cognitive 30): bsiLegend.keyFor has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 6 (13 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bsiLegend.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3002e6e5c604fd48590a508a80b8b05bc016284c44d7e3daa600e05a3d44607b"}},{"ruleId":"D2","level":"warning","message":{"text":"bsiLegend.bsiLegendValue (cognitive 30): bsiLegend.bsiLegendValue has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 4, loops 3 (nesting depth added 10). Of this number, 28 points are the body\u0027s own statements and 2 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":"packages/markup/src/bsiLegend.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3512076da13cfddfe644dec9e38b5609a2bb247f3095d93069a3d2c9a218665"}},{"ruleId":"D2","level":"warning","message":{"text":"incremental.saveIncremental (cognitive 29): incremental.saveIncremental has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 6 (10 pts), ternaries 5 (6 pts), boolean chains 2 (nesting depth added 8). Of this number, 26 points are the body\u0027s own statements and 3 belong to one function item 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":"apps/web/src/documents/incremental.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6c8af565ebf9133e00b27e57b1a2011aecb466a0bb543c5b51052fac535ff1"}},{"ruleId":"D2","level":"warning","message":{"text":"clip.clipLines (cognitive 29): clip.clipLines has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 3 (6 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 17). 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":"apps/web/src/documents/renderCopy/clip.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4090d3ff4e051aed10ae7da0791610b2d5cfaefe0c0007fab0913e2c0ccc34c"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.finish (cognitive 29): MarkupTools.finish has cognitive complexity 29 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 3, ternaries 1 (nesting depth added 6). Of this number, 28 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"de18930806918a52820afc9e34b4a565f2d634370c315bcbcd0b22221785835f"}},{"ruleId":"D2","level":"warning","message":{"text":"xml.parseXml (cognitive 29): xml.parseXml has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (6 pts), ternaries 1 (2 pts), boolean chains 1 (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":"apps/web/src/geospatial/xml.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a40b92d51847e67a3a3616de45f68eaacea3e2344222f5dc8c734cf6990322b"}},{"ruleId":"D2","level":"warning","message":{"text":"OneDrive.shareWithLink (cognitive 29): OneDrive.shareWithLink has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 7 (10 pts), loops 3 (4 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 11). Of this number, 28 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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcb7ba16684f731217a8750d4a1948a6ff908be75c07895927b42b40adad2a4"}},{"ruleId":"D2","level":"warning","message":{"text":"bpxLayout.layoutFromBpx (cognitive 29): bpxLayout.layoutFromBpx has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 2 (8 pts), boolean chains 5, loops 1 (nesting depth added 15). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/columns/bpxLayout.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0321cca6a3bb83a7cef1cfed48711956408dbddcd52c726dbcc3264980143ec"}},{"ruleId":"D2","level":"warning","message":{"text":"forms.fromXfdf (cognitive 29): forms.fromXfdf has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (26 pts), boolean chains 2, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/forms.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf1be6e159d5ffe03cf97d538ebc24c065b61c5ccb9cddcb7784a07758f218d"}},{"ruleId":"D2","level":"warning","message":{"text":"sheets.primsBox (cognitive 29): sheets.primsBox has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 4 (15 pts), loops 3 (7 pts), if/else 5 (6 pts), boolean chains 1 (nesting depth added 16). 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":"apps/web/src/cad/sheets.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"733ec5ae6554d06259e565dd39dc697ba2668ed92822d6562430f354621f7bec"}},{"ruleId":"D2","level":"warning","message":{"text":"pack.readStyle (cognitive 29): pack.readStyle has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 10, loops 1 (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":"apps/web/src/library/pack.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a64cae53dcdd2d7affe0ebf03ae40fc352a75a21e1b61ca713ea459b269a6a"}},{"ruleId":"D2","level":"warning","message":{"text":"activeContent.findActiveContent::visit (cognitive 29): activeContent.findActiveContent::visit has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (7 pts), ternaries 2 (5 pts) (nesting depth added 17). 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":"apps/web/src/documents/activeContent.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0ee7afe77142af0a72bf09c84788bef68339b3c42a88055eecca1f5c10acb7"}},{"ruleId":"D2","level":"warning","message":{"text":"stamp.resolveStamp (cognitive 29): stamp.resolveStamp has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (7 pts), ternaries 3 (6 pts) (nesting depth added 14). Of this number, 28 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":"packages/markup/src/stamp.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d75d905a41080f72fb6d4ba794716d276192fbe58071c4ce8d35d23633e684"}},{"ruleId":"D2","level":"warning","message":{"text":"stampPdf.parseStampPdf (cognitive 29): stampPdf.parseStampPdf has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 9, ternaries 6 (8 pts) (nesting depth added 3). Most of this is not in the body itself: 11 of the 29 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 145, 123, 130, \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":"packages/markup/src/stampPdf.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1971f2ed633e974be98fe12c3449c7f0da605e3ed2c95d743c9af011f92f07b"}},{"ruleId":"D2","level":"warning","message":{"text":"xfdf.element (cognitive 29): xfdf.element has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 12 (25 pts), boolean chains 3, match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/xfdf.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bae67c4e800960f60101f9df78c265aed32dcfb54e3475d7688a46ff892f61"}},{"ruleId":"D2","level":"warning","message":{"text":"layout.chainGroups (cognitive 29): layout.chainGroups has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (14 pts), ternaries 2 (8 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/stitch/src/layout.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b2aee59e0b369eb15c04cf89ce9e12f6197914840a207374bfda0f338a3941"}},{"ruleId":"D2","level":"warning","message":{"text":"content.optimizeContent (cognitive 28): content.optimizeContent has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (37 pts), ternaries 3 (11 pts), loops 6 (10 pts), boolean chains 5 (nesting depth added 34). 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 (content.optimizeContent::take, content.optimizeContent::flush) 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3d94c1305be4b285a7747ea9165f6f17d351f0ceb3140c08fe7d24c37e2ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.doubleClick (cognitive 28): MarkupTools.doubleClick has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 10, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3768}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9abef2cecb0dddbd69e85a799c077f040873c7e0ae2b498fcab685882c8006a"}},{"ruleId":"D2","level":"warning","message":{"text":"ifc.parseValue (cognitive 28): ifc.parseValue has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 4 (11 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ec6f048dc6bc02216e98243f531fa5ced72f2c85286a13994bfeb05989d499"}},{"ruleId":"D2","level":"warning","message":{"text":"landxml.parseLandXml::coordGeom (cognitive 28): landxml.parseLandXml::coordGeom has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 4 (5 pts), boolean chains 4, loops 2 (4 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. This shape REPEATS in the file: one other method here (landxml.parseLandXml) 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":"apps/web/src/geospatial/landxml.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a03b15f65a3d1c4a52ab062b7b3c8d7d7c3bd4680cbcb0a82cfe7996a89635"}},{"ruleId":"D2","level":"warning","message":{"text":"marks.sectionFrame (cognitive 28): marks.sectionFrame has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, loops 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51c830bb8fe29f893ebd34ba64278aa0a1466ffe248bb277fcfb4b80fbbf44c"}},{"ruleId":"D2","level":"warning","message":{"text":"process.reduceFileSize (cognitive 28): process.reduceFileSize has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 9). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/process.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7f6b1e46f4f5f413eeac1d3ddc912f4bbef891a3c4ec7a1b8bfdae5b3e4b04"}},{"ruleId":"D2","level":"warning","message":{"text":"SpellCheckDialog.SpellCheckDialog::change (cognitive 28): SpellCheckDialog.SpellCheckDialog::change has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 3 (6 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SpellCheckDialog.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9104b5757bed68afa426633a7d9147ba4d8a8e9c0b806c2af0f2ea096393669f"}},{"ruleId":"D2","level":"warning","message":{"text":"layers.layersOnPages (cognitive 28): layers.layersOnPages has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 5 (7 pts), boolean chains 4, loops 4 (nesting depth added 7). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 3 function items inside it that branch (ocgsOf, scan, a function literal at line 114). 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":"apps/web/src/documents/layers.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3c9f668e5b200083707022b1ee090fac070f9dc0783f29ecf60f868333c3b7"}},{"ruleId":"D2","level":"warning","message":{"text":"objects.multileader (cognitive 28): objects.multileader has cognitive complexity 28 (threshold 15). Drivers by points: loops 9 (20 pts), if/else 5 (8 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"984dc5c9138a72370449736dde27ed076d067aa5b356caea48fe70c54a1d2e98"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionDialogs.StartSessionDialog (cognitive 28): SessionDialogs.StartSessionDialog has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 15, ternaries 9 (11 pts), if/else 2 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 11 belong to 10 function items inside it that branch. 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":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"386d5cf55fb63f62d27198c6a746b7b8aff5616021b0d8da53d669f194c37ee4"}},{"ruleId":"D2","level":"warning","message":{"text":"pageImages.renderPageImages (cognitive 28): pageImages.renderPageImages has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 3 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/pageImages.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2586f0d5bfc93f37845994a33eec61081cabf7c47934a41115f52c9e1146b1"}},{"ruleId":"D2","level":"warning","message":{"text":"export.nativeForm (cognitive 28): export.nativeForm has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts), ternaries 4 (8 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/export.ts"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"1088d34dc3ee78722eac22e349380b04d11a95354d65d72fb02d8c6ae9b5e32d"}},{"ruleId":"D2","level":"warning","message":{"text":"export.writeColumns.entries (cognitive 28): export.writeColumns.entries has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 6, ternaries 3 (6 pts) (nesting depth added 6). Of this number, 27 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":"packages/markup/src/export.ts"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae8b01dfe9c15d6faaa39f10e76535c4db640439c054b9639b6d6cf8eae6f87"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfExtras.removePredictor (cognitive 28): pdfExtras.removePredictor has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (9 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/pdfExtras.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25591054ec4d8487d511790fd0ea18a33f175b4fed1a7d51997d46f4195f36b"}},{"ruleId":"D2","level":"warning","message":{"text":"scale.parseLength (cognitive 28): scale.parseLength has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 6, ternaries 2 (3 pts), loops 2 (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":"packages/measure/src/scale.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7e9870de60a4ee282eb01414e9b09a0b5347a3cdfb5692e402ecc95d609f01"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.skipInlineImage (cognitive 27): Scanner.skipInlineImage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 4 (7 pts), boolean chains 6 (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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"111a202b58a0f19423bc0ead3d5e0855c098b655cd1cfeafda93764bc78a9729"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol.cleanPolicy (cognitive 27): protocol.cleanPolicy has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 4 (8 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 2 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":"apps/web/src/studio/protocol.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6eec6cc095111378d73be818972d5287feec8ab4411f14adfd47b31fc33bd79"}},{"ruleId":"D2","level":"warning","message":{"text":"onedrive.signInWithMicrosoft (cognitive 27): onedrive.signInWithMicrosoft has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 3 (12 pts), error handling 3 (7 pts), if/else 6, boolean chains 2 (nesting depth added 13). Of this number, 25 points are the body\u0027s own statements and 2 belong 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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a62a2f32c838e4baa957104ce678ef130f6999008fbe4540e24117370d2dc7f"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenu.MenuList (cognitive 27): ContextMenu.MenuList has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 10, if/else 4 (nesting depth added 2). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 88, 55, 50, \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":"apps/web/src/components/ContextMenu.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc3bbdfc8a7929eea3542dc468cc41be593e1657654d85119879bd35f18c080"}},{"ruleId":"D2","level":"warning","message":{"text":"formula.tokenize (cognitive 27): formula.tokenize has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 1 (4 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/columns/formula.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b56526cfb4f44c062c55996892e9e352da48084ae70ec48f0b8215719e427b7"}},{"ruleId":"D2","level":"warning","message":{"text":"marks.backgroundLines (cognitive 27): marks.backgroundLines has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 5 (9 pts), boolean chains 3, ternaries 1 (nesting depth added 11). Of this number, 26 points are the body\u0027s own statements and 1 belongs 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d88f9166fb4321878a986087a8516664b639d4c4c7c31caf4c41800479babda"}},{"ruleId":"D2","level":"warning","message":{"text":"marks.readLabel (cognitive 27): marks.readLabel has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (nesting depth added 11). Of this number, 25 points are the body\u0027s own statements and 2 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f4b0e64530c8aa6151d76509bf6307c53fd45799150b76e5f09c6c06c3da16"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkPreview.PreviewWindow (cognitive 27): LinkPreview.PreviewWindow has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11, boolean chains 9, ternaries 7. Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 12 function items inside it that branch (zoomAt, panStart, a function literal at line 158, \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":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a789e01bc3e2aa11708246811b697f797f0534d613e8b91e5c4541f3328230"}},{"ruleId":"D2","level":"warning","message":{"text":"TakeoffReview.Proposal (cognitive 27): TakeoffReview.Proposal has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 13 (nesting depth added 3). Of this number, 23 points are the body\u0027s own statements and 4 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/TakeoffReview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf01fc052da7ac1e878db76a94aca670bc8e4338f0d22d14f5e455604a9c7dd4"}},{"ruleId":"D2","level":"warning","message":{"text":"CadBar.CadBar (cognitive 27): CadBar.CadBar has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (8 pts), ternaries 5 (6 pts), match/switch 1 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 10 belong to 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/CadBar.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"08aa246eac086b6ac86308137bc174cbfffc5a3f5c321d79fa35c0e34999c156"}},{"ruleId":"D2","level":"warning","message":{"text":"lz77.lz77ac18 (cognitive 27): lz77.lz77ac18 has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 9 belong to 4 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":"apps/web/src/cad/dwg/lz77.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3bb8f4590ffeeeefde72516e600c731d6b1d28fb86ab06502528baa619ddb1"}},{"ruleId":"D2","level":"warning","message":{"text":"container.openR2004.section (cognitive 27): container.openR2004.section has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/container.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e72168cb6e17850c99912b9263d67af9ece76737f059d3af6f8eaa8f9b0e0b"}},{"ruleId":"D2","level":"warning","message":{"text":"geom.bspline (cognitive 27): geom.bspline has cognitive complexity 27 (threshold 15). Drivers by points: loops 6 (12 pts), ternaries 4 (10 pts), boolean chains 3, if/else 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/geom.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b404c2d6d5c5e295dac04f41102c9f8da143fafe971d552d607b193d9588a621"}},{"ruleId":"D2","level":"warning","message":{"text":"wizardLinks.learnMatchLine (cognitive 27): wizardLinks.learnMatchLine has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/wizardLinks.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14f5da6fd67c7608d74c9f0e2085ca6665dadf677968e1d183e35d25fc5d78a"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryDialog.LibraryDialog (cognitive 27): LibraryDialog.LibraryDialog has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 10 (14 pts), boolean chains 9, error handling 2, if/else 2 (nesting depth added 4). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 108, add, addFile, \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":"apps/web/src/components/LibraryDialog.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c474a0371ee6d1ee5c5927dc14a4c37f43fe17a0b6aab019a136f1556e7d65"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfTemplates.gridPaper (cognitive 27): pdfTemplates.gridPaper has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 4 (16 pts), if/else 2 (6 pts), loops 3 (5 pts) (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":"apps/web/src/documents/pdfTemplates.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6aac41176662c88ac08c4856ab18eb0aa16914242fab2cb80d958d7787cf2a1"}},{"ruleId":"D2","level":"warning","message":{"text":"estimating.sanitizeItems (cognitive 27): estimating.sanitizeItems has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 9 (18 pts), if/else 3 (5 pts), boolean chains 3, loops 1 (nesting depth added 11). Of this number, 25 points are the body\u0027s own statements and 2 belong 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":"packages/markup/src/estimating.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"701bb761754621fc1b53e7b049d382a322af413b0dd0c9e0d18808a73e75d48d"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupStore.importAnnotations (cognitive 27): MarkupStore.importAnnotations has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 4, boolean chains 3, ternaries 1 (3 pts) (nesting depth added 7). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 791, 802). 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":"packages/markup/src/store.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4416d1842228334d702d94c630df5657578c2648d6d289aa69f84bb1961489"}},{"ruleId":"D2","level":"warning","message":{"text":"tracking.track (cognitive 27): tracking.track has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 5 (7 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/tracking.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13123a0206d47c906e8cc59dcd153095d5b1f8e00fd5c3c67de877cd5f7ab9d"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.extractWords (cognitive 27): worker.extractWords has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 4, loops 1 (nesting depth added 11). Of this number, 25 points are the body\u0027s own statements and 2 belong 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"1082a2ff79bac9628a65b99a1df501a2f6a031bbd1b186f3f15a7e923fc03102"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertiesPanel.SlopeRows (cognitive 26): PropertiesPanel.SlopeRows has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 16, if/else 5 (6 pts), ternaries 4 (nesting depth added 1). Most of this is not in the body itself: 11 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 736, num, a function literal at line 746, \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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"470b86c8522ee4dcd74673a03ae0ad9fa4568dbda0159d9f104126c9f69089b8"}},{"ruleId":"D2","level":"warning","message":{"text":"xlsx.sheetXml (cognitive 26): xlsx.sheetXml has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 9 (22 pts), boolean chains 2, if/else 2 (nesting depth added 13). None of this is in the body itself: all 26 points belong to 2 function literals inside it that branch (lines 143, 140). 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":"apps/web/src/sheetsync/xlsx.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bac4f0f14f14712f827ad7827acf601c7d1d55b9b42e275406248f8b40121b"}},{"ruleId":"D2","level":"warning","message":{"text":"script.parseScript (cognitive 26): script.parseScript has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 8). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 273). 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"406afc4b22a9a30a98dd88174a5b68a934d013c2073a881ef0771ffe0f4e3be9"}},{"ruleId":"D2","level":"warning","message":{"text":"process.recolourPicture (cognitive 26): process.recolourPicture has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6, ternaries 3 (5 pts), loops 2, 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":"apps/web/src/documents/process.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8810a04de8aee3654a5922c9f72cd29b0f1505962c5b74a55242b24d4372b51"}},{"ruleId":"D2","level":"warning","message":{"text":"HeaderFooterDialog.HeaderFooterDialog (cognitive 26): HeaderFooterDialog.HeaderFooterDialog has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 13, ternaries 9 (10 pts), if/else 2, error handling 1 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 12 belong to 9 function items inside it that branch. 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":"apps/web/src/components/HeaderFooterDialog.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"be236130c305b0f21b49da9208a0c26c2d69ea014a452232da3faf36d956a899"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfilesDialog.ProfilesDialog (cognitive 26): ProfilesDialog.ProfilesDialog has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 11, ternaries 6 (9 pts), if/else 4 (5 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 374, 122, 128, \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":"apps/web/src/components/ProfilesDialog.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e151030844476874a225eb78baed9efd7ae5ccfdfe99dd11d052d51cd190ca"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchPanel.SearchPanel::search (cognitive 26): SearchPanel.SearchPanel::search has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SearchPanel.SearchPanel) 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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6772045a91c31d86ef5cda149f855efdf4a4c08d35488ba24cc5d341cdcbcb12"}},{"ruleId":"D2","level":"warning","message":{"text":"Project.poll (cognitive 26): Project.poll has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, loops 5, ternaries 2 (4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/projects/Project.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80b0b73020955f933a0922363a08b4bb5ca1ab30cf050b22ce8aacc23277e83"}},{"ruleId":"D2","level":"warning","message":{"text":"assistant.assistantCall (cognitive 26): assistant.assistantCall has cognitive complexity 26 (threshold 15). Drivers by points: if/else 26. 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd7f430fb291bc6184c9e42e7105ba907260f65321912bf0ec6fe12ef8a3a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App::runPublish (cognitive 26): App.App::runPublish has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 6 (12 pts), boolean chains 1, error handling 1 (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. This shape REPEATS in the file: 6 other methods here (App.App, App.App::useToolItem, App.App::runExport, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"apps/web/src/App.tsx"},"region":{"startLine":8823}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b1bc394d062872987c074b0afc1f831254f6e196e3b08606da2b804b6c2cd3"}},{"ruleId":"D2","level":"warning","message":{"text":"codebase-reach.canvas.FlowGraph (cognitive 26): codebase-reach.canvas.FlowGraph has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 11 (12 pts), boolean chains 7, if/else 3 (5 pts), loops 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 7 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 200, 183). 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":"docs/codebase-reach.canvas.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdfb30eb912b6a5bfc76b63d3826e802624c329b4f4d261b8e5a953bce1b3dd"}},{"ruleId":"D2","level":"warning","message":{"text":"estimating.sanitizeTemplates (cognitive 26): estimating.sanitizeTemplates has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 3 (5 pts), boolean chains 4, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/estimating.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc83d2971bef8109067d3ffc3c7154a5edfa2490372883f179d5653b65b3767"}},{"ruleId":"D2","level":"warning","message":{"text":"message.handleMcpMessage (cognitive 25): message.handleMcpMessage has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 5, if/else 4 (5 pts), error handling 3 (4 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/assistant/message.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"095cdb488b60fce830ae170eec1d732545deb2fae127fd53caa19f86379da8f3"}},{"ruleId":"D2","level":"warning","message":{"text":"RevuSettings.scan::walk (cognitive 25): RevuSettings.scan::walk has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/revuSettings.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9053625202fdf307c361a4f8f84d7ee9079e07f432c3d1c11646a702bd32cca8"}},{"ruleId":"D2","level":"warning","message":{"text":"cadTools.cadPreviewOf (cognitive 25): cadTools.cadPreviewOf has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 10, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3731408aadb8596ce4e6a3b2d3fd1ed15fd990b94c0fa6d338270e721603ce8"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.ownPreview (cognitive 25): MarkupTools.ownPreview has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 11, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4974}}}],"partialFingerprints":{"codehealthFindingId/v1":"13807d65c4f2f031b74533c703456e7112c4617d9e54b5729ba176ed27ca1b41"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorMenu.ColorMenu (cognitive 25): ColorMenu.ColorMenu has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, ternaries 8 (10 pts), if/else 4 (nesting depth added 2). Of this number, 19 points are the body\u0027s own statements and 6 belong to 8 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ColorMenu.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68d57b24707ca891d3e874f748d39d93855ef17a7a4b13a71e2352f58d59e99"}},{"ruleId":"D2","level":"warning","message":{"text":"scalePresets.pagesOf (cognitive 25): scalePresets.pagesOf has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/measure/scalePresets.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"77717560656a700567d6ac9142ba123a119aa5c19d8cc02a37714dc66c8c2c41"}},{"ruleId":"D2","level":"warning","message":{"text":"diff.clusterCells (cognitive 25): diff.clusterCells has cognitive complexity 25 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 4 (10 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":"apps/web/src/compare/diff.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"34dd0f4fff96556f7f6a7a7fe26ca63601f5385d5f247ab960c44e13bd045946"}},{"ruleId":"D2","level":"warning","message":{"text":"PublishDialog.PublishDialog (cognitive 25): PublishDialog.PublishDialog has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 9, if/else 4 (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 6 belong to 3 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":"apps/web/src/components/PublishDialog.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"39400f71009926c2c78e5187e79c97237361879b5f5e84819daccca787313acd"}},{"ruleId":"D2","level":"warning","message":{"text":"layers.readLayers (cognitive 25): layers.readLayers has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 3 (8 pts), loops 3, boolean chains 2 (nesting depth added 10). Most of this is not in the body itself: 8 of the 25 points are its own statements and the rest belongs to 2 function items inside it that branch (walk, layer). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/layers.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b438a95ffe320d9181687539887e1931cb5e1b9f5c73d5e9e7b28b5828194bcb"}},{"ruleId":"D2","level":"warning","message":{"text":"render.renderEntity (cognitive 25): render.renderEntity has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 2 (4 pts), ternaries 2 (4 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/render.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"946a5583be5aef1fb209e0e4fe7c014cc43159fa542a96ef15c6c358f02ff901"}},{"ruleId":"D2","level":"warning","message":{"text":"CadConvertDialog.CadConvertDialog (cognitive 25): CadConvertDialog.CadConvertDialog has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 9, if/else 2 (nesting depth added 3). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 35, 50, 57, \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":"apps/web/src/components/CadConvertDialog.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9b4bba87c98c1535b82af60262fc783b8891b1cdc99ad9c9cce67ac6421802"}},{"ruleId":"D2","level":"warning","message":{"text":"pack.parseTradePack (cognitive 25): pack.parseTradePack has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 10, if/else 7, ternaries 5 (7 pts), error handling 1 (nesting depth added 2). Of this number, 19 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/library/pack.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d1ebfdd78c304663c8ea72767ed60d0a9a6d0de7c9a6e2242a265dedb5f365"}},{"ruleId":"D2","level":"warning","message":{"text":"columns.bluebeamColumnsFromXml (cognitive 25): columns.bluebeamColumnsFromXml has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, loops 1 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/columns.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dba489d6a2184d2f2291f85316f6bee8cbe3c77ee17c2698474fbce4522846"}},{"ruleId":"D2","level":"warning","message":{"text":"cad.joinPaths (cognitive 25): cad.joinPaths has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/cad.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0fd9dde14fb311563a7a6175306650917271f06da49a2ba28a4302352a03c0"}},{"ruleId":"D2","level":"warning","message":{"text":"fonts.readNames (cognitive 24): fonts.readNames has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (8 pts), boolean chains 4, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/fonts.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c010449ff69a12abf349d771509475af639131d899418c63c4586ce889bf891"}},{"ruleId":"D2","level":"warning","message":{"text":"TileViewer.pump (cognitive 24): TileViewer.pump has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 3, loops 1 (nesting depth added 9). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1564, 1584, 1592). 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ec3d87008f82f207f58de57c8e2a207519ddd29b8a75ad5bba168fcf6c4f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"content.within (cognitive 24): content.within has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (7 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 14). Of this number, 23 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa6e79e6901722cd4b76b2228e63b9ee4c224f2a8b87b32f05c0ab86951a55d"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.snapOnPage (cognitive 24): MarkupTools.snapOnPage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (7 pts), boolean chains 1, ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2bf7ab6588f61d423b51fba63f51e4b0254b1b9978afbe7b9e03d9a01e15bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportDialog.FilterMenu (cognitive 24): ExportDialog.FilterMenu has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 8, if/else 1 (2 pts), loops 1 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 3 belong to 3 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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d61971d6a478d6475353ada1b8a85901ed165895606e2ff0ccee2494153f4d"}},{"ruleId":"D2","level":"warning","message":{"text":"pki.ocspStatus (cognitive 24): pki.ocspStatus has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (6 pts), boolean chains 4, loops 2 (3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/pki.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd96b81cba2db6801ddc8e1e71bdafb0dbd9ae9b351c63b8ab006cbdf7d9965"}},{"ruleId":"D2","level":"warning","message":{"text":"diff.diffMasks (cognitive 24): diff.diffMasks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 6, loops 4 (6 pts) (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 2 belong 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":"apps/web/src/compare/diff.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8e187f0eafd978bcf39ece3eb861ae5a3d968eb0a48b1c7c663cacf1414795"}},{"ruleId":"D2","level":"warning","message":{"text":"semantic.counterpart (cognitive 24): semantic.counterpart has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, loops 2 (3 pts), ternaries 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/compare/semantic.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d112e87293fbe698f996b4469ef7044368cfea5c20969192ee2c8477ddf5063"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldEditor.FieldEditor (cognitive 24): FieldEditor.FieldEditor has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8, ternaries 4 (7 pts) (nesting depth added 4). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 4 function items inside it that branch (finish, keys, a function literal at line 21, \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":"apps/web/src/components/FieldEditor.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a035e0fc0a24e6d692af3631c5816eb82aeb712c8a37bbba66c67528cc29c33e"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentPropertiesDialog.DocumentPropertiesDialog (cognitive 24): DocumentPropertiesDialog.DocumentPropertiesDialog has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 18, if/else 4, ternaries 2. Of this number, 16 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. 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":"apps/web/src/components/DocumentPropertiesDialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"69daf241d71deea2de44fdc3145771fea32f1b3da9454ae5bec57fecbd66a870"}},{"ruleId":"D2","level":"warning","message":{"text":"render.insert (cognitive 24): render.insert has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, loops 2 (5 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/render.ts"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fe1907b5e8db845f27bf4b1ea7849056d6e153b387690c2944865411e83033"}},{"ruleId":"D2","level":"warning","message":{"text":"model.buildFiles (cognitive 24): model.buildFiles has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (12 pts), ternaries 3 (7 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/projects/model.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4953e4dc47249bc776f25299c2b5be09c00035672287c338c14b151a14b49f"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer.clean (cognitive 24): Writer.clean has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (21 pts), boolean chains 3 (nesting depth added 15). None of this is in the body itself: all 24 points belong to one function literal inside it that branches (line 47). 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":"apps/web/src/studio/report.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cf1a3a8a1f757a88ad04d14a9df5ec38c2d1481900b4ebcf795ca8113ce43a"}},{"ruleId":"D2","level":"warning","message":{"text":"bookmarkTemplate.place (cognitive 24): bookmarkTemplate.place has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, ternaries 2 (4 pts), loops 2 (nesting depth added 6). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 4 function items inside it that branch (find, walk, a function literal at line 84, \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":"packages/markup/src/bookmarkTemplate.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b01393b69346813c8556c95e19a6558a32f5586fa6696cd9fb70909939bfb4"}},{"ruleId":"D2","level":"warning","message":{"text":"lineStyleEdit.writeComponent (cognitive 24): lineStyleEdit.writeComponent has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 8 (20 pts), if/else 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 13). Of this number, 15 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/lineStyleEdit.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"317a3c3f9a58cb8da926dc393a5dcecc02f161937e99087649892b532d61a73c"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.handle (cognitive 24): worker.handle has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (15 pts), loops 2 (4 pts), if/else 1 (3 pts), error handling 1, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"10de33a8f0f7a193f444cc987342fa3f39a3eb05decf1e3ac06a3ba7e860106f"}},{"ruleId":"D2","level":"warning","message":{"text":"detect.lines (cognitive 24): detect.lines has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 5 (9 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sheets/src/detect.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18f5d237b4a95a7809ce98ac7c7a6baac50f1b17cb7b072cf247ebb571bbcd2"}},{"ruleId":"D2","level":"warning","message":{"text":"excel.sheetNames (cognitive 23): excel.sheetNames has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 1 (3 pts), loops 2, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/excel.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"550d960de84f96f9970f06929643f8d1b35b9419de6aaa1468bddd5ed7ccd8da"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemFonts.scan (cognitive 23): SystemFonts.scan has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 6 (7 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 7). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (worker, walk, a function literal at line 261). 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":"apps/desktop/src/fonts.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"923cd66705c927cc34d7ef079a1043c395407e1c701228be793aa1e26b5863e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.explodeSelected (cognitive 23): MarkupTools.explodeSelected has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (13 pts), if/else 3 (5 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 12). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4818}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b42daf97a37f9b66471f8d8e22573d66d3f1cfcce3d1c19beb0639d3bb90671"}},{"ruleId":"D2","level":"warning","message":{"text":"signatures.trimCanvas (cognitive 23): signatures.trimCanvas has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 2 (3 pts) (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":"apps/web/src/signatures/signatures.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"281d3480aa6cf398503ed679968bda6e7c28d0b11375cac856e25106451e5970"}},{"ruleId":"D2","level":"warning","message":{"text":"csv.parseCsv (cognitive 23): csv.parseCsv has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/assemblies/csv.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"55428bf244d33731de13002caea8b54aff7f3e1918d59e584b15c2abc3debaef"}},{"ruleId":"D2","level":"warning","message":{"text":"SheetScaleReview.SheetScaleReview (cognitive 23): SheetScaleReview.SheetScaleReview has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 9 (14 pts), boolean chains 8, if/else 1 (nesting depth added 5). 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 literals inside it that branch (lines 107, 170, 59, \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":"apps/web/src/components/SheetScaleReview.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e62ac8da569391e580181040692978af76bf1eabe188044d9fab3ae2412df5"}},{"ruleId":"D2","level":"warning","message":{"text":"exportSummary.buildSummary (cognitive 23): exportSummary.buildSummary has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 5). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/summary/exportSummary.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7e2534578b4d4c135168038656e5b01f167be8735778479d106f7b50d81a89"}},{"ruleId":"D2","level":"warning","message":{"text":"printPdf.printablePdf (cognitive 23): printPdf.printablePdf has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (8 pts), ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/printPdf.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1eab5c98d3170a0e2337b137c0bcec93a9bdd7c14c81dcb0229c5a9472e547"}},{"ruleId":"D2","level":"warning","message":{"text":"ltv.unpredict (cognitive 23): ltv.unpredict has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (9 pts), loops 2 (3 pts), boolean chains 2 (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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"91aa79628613a44cbf6145d7c337786614a0b25e9ce5859c72c0828826a7ed4e"}},{"ruleId":"D2","level":"warning","message":{"text":"diff.dilate (cognitive 23): diff.dilate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 6 (10 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/compare/diff.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bde568a7f6c0361df8b0a7ba94e90ddebe797c2ababf9a8f73e600de3780e58"}},{"ruleId":"D2","level":"warning","message":{"text":"TableCellEditor.TableCellEditor (cognitive 23): TableCellEditor.TableCellEditor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 5 (8 pts), boolean chains 5, loops 1 (nesting depth added 4). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 4 function items inside it that branch (onKeyDown, onKeyDown::along, finish, \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":"apps/web/src/components/TableCellEditor.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76ac8bb792a70e9ab0cf21c1d427dc7fb46331500c245bc8fde74ce0e28322a"}},{"ruleId":"D2","level":"warning","message":{"text":"FormsPanel.FormsPanel (cognitive 23): FormsPanel.FormsPanel has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, if/else 6, ternaries 5. Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 448, a function literal at line 387, move, \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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3a8e511170b1a34c5cc7e6f0b3ea9875d10916d2cf150e27a8f85e25897c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolPreviewCard.ToolPreviewCard (cognitive 23): ToolPreviewCard.ToolPreviewCard has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, boolean chains 8, ternaries 2. Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 82, 51, 70, \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":"apps/web/src/components/ToolPreviewCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ef1ca8b393e97be28576df6d87ed7cdb80d8235b9f4f39686befc61c4090a9"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf.writePdf (cognitive 23): pdf.writePdf has cognitive complexity 23 (threshold 15). Drivers by points: if/else 22 (41 pts), loops 8 (14 pts), ternaries 4 (12 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 34). 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 (pdf.writePdf::draw) 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":"apps/web/src/cad/pdf.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"014069600b1b60fe2c00ea4d0bb3f404f68cf3ba88874319cb64577f4e7f9684"}},{"ruleId":"D2","level":"warning","message":{"text":"pack.readTool (cognitive 23): pack.readTool has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/library/pack.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"308cf0cdad92eb4c890cd12582ae00acf2d14b7ff7e3d898712bb0f626768206"}},{"ruleId":"D2","level":"warning","message":{"text":"assistant.requirePoints (cognitive 23): assistant.requirePoints has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3, ternaries 1 (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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"049939f127469cecc511eca58729b5890c621cb00d85f1772d01480d47ef73a2"}},{"ruleId":"D2","level":"warning","message":{"text":"tiff.pixelData (cognitive 23): tiff.pixelData has cognitive complexity 23 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 5 (9 pts), ternaries 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/tiff.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84d4b10c6618fe0184225beeb978bea05aaed19055ebbb64eb567cbce1de778"}},{"ruleId":"D2","level":"warning","message":{"text":"lineStyle.compile (cognitive 23): lineStyle.compile has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 6 (10 pts) (nesting depth added 12). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 83, 81). 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":"packages/markup/src/lineStyle.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8021c63fde1bec2b2b827e01bb56d4daf8966019662ac2d3e207159303b74cd"}},{"ruleId":"D2","level":"warning","message":{"text":"arrange.drawnGeometry (cognitive 23): arrange.drawnGeometry has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 7, loops 2 (3 pts), ternaries 1 (2 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":"packages/markup/src/arrange.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"431cf7681e834ad7dc13b84495177410088fa4efb685a5916f5b2e4421e9eca2"}},{"ruleId":"D2","level":"warning","message":{"text":"RawWriter.write (cognitive 23): RawWriter.write has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bax.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c45629606c3f6eb6f7610b066b0270100b48161abd7f838ee6789011ba8aef0"}},{"ruleId":"D2","level":"warning","message":{"text":"render.paintHatch (cognitive 23): render.paintHatch has cognitive complexity 23 (threshold 15). Drivers by points: loops 2 (7 pts), boolean chains 5, if/else 4 (5 pts), ternaries 3 (4 pts), error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/render.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"291a1aefab176968dfd9d7bcca0f21d3bb994145b6bac81469c0ae80dc4be814"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.editPdf (cognitive 23): worker.editPdf has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (8 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 12). Of this number, 22 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fad5e14c32db39c3e5ea0caf797e36a809e83c5176aed616f65707a2dd3e487"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphBroker.request (cognitive 22): GraphBroker.request has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 3, loops 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/graph.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"701fd8880516b8aae8bb4579a6cf464daad487b97d9ff833de65bf25c6fbdec9"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderCopyBuilder.build (cognitive 22): RenderCopyBuilder.build has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/renderCopy/renderCopy.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f75e976a07237a57f3cf7938386360269248ec43648923115cf31b19c06ecc8"}},{"ruleId":"D2","level":"warning","message":{"text":"selectionFormat.followFormat (cognitive 22): selectionFormat.followFormat has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 4 (8 pts), boolean chains 3, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/selectionFormat.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b81fd57c8912f957b6213cdd0a4e4e548d530d2a44fa0cdc26244ab17a09b7"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomFiles.readFolder (cognitive 22): RoomFiles.readFolder has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1, loops 1 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/drive/rooms.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a02348ae750e60a3858991600af7a253bbad0359e34fd0e17271eb3e39ef1bb"}},{"ruleId":"D2","level":"warning","message":{"text":"LineStyleSelect.LineStyleSelect (cognitive 22): LineStyleSelect.LineStyleSelect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 5 (7 pts), boolean chains 6 (nesting depth added 4). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 42, 30, 34). 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":"apps/web/src/components/LineStyleSelect.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f765ad6ffb80ab92d7315946ce3e068c693aeda86e96653d2b158a78c33094f"}},{"ruleId":"D2","level":"warning","message":{"text":"SignaturesPanel.SignaturesPanel (cognitive 22): SignaturesPanel.SignaturesPanel has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 4, if/else 2 (nesting depth added 4). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 289, validity, a function literal at line 236, \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":"apps/web/src/components/SignaturesPanel.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5621abf7ca547627fcc584e4e5ff3643daee4ce259d9afce7d8461b362362c"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfSign.revocationKept (cognitive 22): pdfSign.revocationKept has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (6 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d4b898b6cccc0d4026083574232622e970c73a2096b31e05b0b4969562b958"}},{"ruleId":"D2","level":"warning","message":{"text":"slipSheet.planSlipSheet (cognitive 22): slipSheet.planSlipSheet has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 7). Of this number, 14 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":"apps/web/src/documents/slipSheet.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea79c0451827350b55e08428049301f7325c664ef0d176ba4851a9b6b9b0bbb1"}},{"ruleId":"D2","level":"warning","message":{"text":"forms.setValue (cognitive 22): forms.setValue has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/forms.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12361b83d429fdeb21729e8c9bc213bb24ebc138ad4043da184d605f64a39f7"}},{"ruleId":"D2","level":"warning","message":{"text":"FormsPanel.ValueEditor (cognitive 22): FormsPanel.ValueEditor has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 6 (8 pts), boolean chains 5 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 8 belong to 4 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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2dff9fec0b79a4ad9455b0ca7b05d1bb10dbe5eb59857f3e6ee28591930c6e"}},{"ruleId":"D2","level":"warning","message":{"text":"index.assemble::toEntity (cognitive 22): index.assemble::toEntity has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 7, ternaries 2 (3 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (index.assemble) 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":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"169c35ee15faeb3e5eb9c1051c9cc5ced21d0c6bda607287112f92380cd6b2ad"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchPanel.SearchPanel (cognitive 22): SearchPanel.SearchPanel has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 41, if/else 30 (38 pts), ternaries 20 (35 pts), error handling 1 (2 pts), loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SearchPanel.SearchPanel::search) 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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6b679ea377254b425d6782562b96d92ba77c91b7bc3104c649d51ecc94600d"}},{"ruleId":"D2","level":"warning","message":{"text":"assistantStandards.proposeSheetLinks (cognitive 22): assistantStandards.proposeSheetLinks has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 4 (6 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 143). 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":"apps/web/src/desktop/assistantStandards.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ad36a640c2398556cebe536b7886ff6487ca741e3e3d618a6963db1021b437"}},{"ruleId":"D2","level":"warning","message":{"text":"lineSet.component (cognitive 22): lineSet.component has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 6 (15 pts), if/else 1 (3 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/lineSet.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"88722bc8eff83bff4c7884f60c0dc969f93d4fac1966f8d88de3b4ad8a073a01"}},{"ruleId":"D2","level":"warning","message":{"text":"fdf.parseFdf (cognitive 22): fdf.parseFdf has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 3 (5 pts), boolean chains 2, loops 2 (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":"packages/markup/src/fdf.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c3f69702b2108be0a8256d217368f454b24bb108fe7ad61658c2a4c4c60c74"}},{"ruleId":"D2","level":"warning","message":{"text":"summary.wrap (cognitive 22): summary.wrap has cognitive complexity 22 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 3 (9 pts), boolean chains 2, ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/summary.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f5b1b713a537ae9cb2abd6d4a9f01818753be98e557be0cac98095e8670321"}},{"ruleId":"D2","level":"warning","message":{"text":"tracking.trackingPaths (cognitive 22): tracking.trackingPaths has cognitive complexity 22 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 4 (6 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/tracking.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a313e920819eef55c684f8efcf3b742f206003e6b5cee199064edb487de7ba28"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.blankImagePixels (cognitive 22): worker.blankImagePixels has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (3 pts), ternaries 2 (3 pts), boolean chains 2 (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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a630c91e2d2c270958a572a56543acaba9fb2f7079b3ac32858a3f3fd8aa4b"}},{"ruleId":"D2","level":"warning","message":{"text":"chainage.readChainages (cognitive 22): chainage.readChainages has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (4 pts), boolean chains 3, loops 2 (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":"packages/sheets/src/chainage.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ae0005e7a991cd92073ae03c18e7ce63ad92a373a671d4422ac29c3e4c409b"}},{"ruleId":"D2","level":"warning","message":{"text":"matchLines.lineProfile (cognitive 22): matchLines.lineProfile has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/stitch/src/matchLines.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"210671aeac4b6d7076e1b9e78559b760d5bc0667fd9d9daeb37e390ded1caa3b"}},{"ruleId":"D2","level":"warning","message":{"text":"clips (cognitive 22): clips has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (6 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 9). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 40, 44, 39). 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":"apps/web/public/home/home.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3854620cadf545820e8c1d9a69b2c0793d68c4d2d66ce4445311b82d8414894e"}},{"ruleId":"D2","level":"warning","message":{"text":"token.listOn (cognitive 21): token.listOn has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 2 (4 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 358, 352). 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":"apps/desktop/src/token.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6d69a049d0b1af93ee8f7f6d1e5d84cb689da18fff1679fe56c60a78db4a72"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.addNextShape (cognitive 21): MarkupTools.addNextShape has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 5, if/else 2, loops 1 (nesting depth added 5). Of this number, 19 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7400c622cbfec9bea4512d537a174da1ece25f151c43ceff114bf6f4440fbf"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.rest (cognitive 21): MarkupTools.rest has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 8, ternaries 1 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4252}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f581892064f786bff9c977ff4b50cf27fd6728554b365e6c3a68010b44023d"}},{"ruleId":"D2","level":"warning","message":{"text":"OneDrive.fetch (cognitive 21): OneDrive.fetch has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (5 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"030f6bee0482771706fb54d97ed5b2dea5a1cb1ae2391d15ed735ff083f4aa61"}},{"ruleId":"D2","level":"warning","message":{"text":"formula.parseFormula::primary (cognitive 21): formula.parseFormula::primary has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 1 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/columns/formula.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8001a03c3b8d5f17c1569890c25ed6e427d55088df72fabfad080213ad2c2de"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertiesPanel.slopeOfKind (cognitive 21): PropertiesPanel.slopeOfKind has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 7, match/switch 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28ca26ed84d1e09017734f96424f7a62e80a9bcb7b630ce96cac17ec68f2de1"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentsTableDialog.CommentsTableDialog (cognitive 21): CommentsTableDialog.CommentsTableDialog has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (14 pts), boolean chains 7 (nesting depth added 4). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 77, 34, 88, \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":"apps/web/src/components/CommentsTableDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"724f7de60bbfe35b7daf0507f0b1d69bfb2189e703fa5bd0d09224e9e8a3e97e"}},{"ruleId":"D2","level":"warning","message":{"text":"script.runScript (cognitive 21): script.runScript has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/scripts/script.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a3b0b6dff43058a55915dfa3352c8a1c15130676b9d2b525b4d732bb19b555"}},{"ruleId":"D2","level":"warning","message":{"text":"TextEditor.TextEditor::onKeyDown (cognitive 21): TextEditor.TextEditor::onKeyDown has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/TextEditor.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1397b63e0ccd32506ab028c3daebd5e46a7eddd989b5a5bb8d674f20de50de0d"}},{"ruleId":"D2","level":"warning","message":{"text":"forms.TYPE_OF (cognitive 21): forms.TYPE_OF has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (21 pts) (nesting depth added 15). 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"da74ce389659c37ef7c6683dc84a91211c0620a2e5226d5a8a8940e1185e5a8e"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf.writePdf::draw (cognitive 21): pdf.writePdf::draw has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (6 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (pdf.writePdf) 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":"apps/web/src/cad/pdf.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d5c3bfaf26db132a00cad94e1740cb37bacc0649745c4782787af5f2826435"}},{"ruleId":"D2","level":"warning","message":{"text":"assistantStitch.deleteMatchLines (cognitive 21): assistantStitch.deleteMatchLines has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 3 (4 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantStitch.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2bab6e46087a3decc1818b3c36a9076db2e250b2386f0adac6e3739f5fcb7b"}},{"ruleId":"D2","level":"warning","message":{"text":"export.writeGroups (cognitive 21): export.writeGroups has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/export.ts"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"04842bf281397a492a21af7b0303ce96c54a97bd9806f474f202548b34e30618"}},{"ruleId":"D2","level":"warning","message":{"text":"offset.offsetPath (cognitive 21): offset.offsetPath has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/offset.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4d690fcb588eef29b2bf7df81b260f2e9e74b65005f13079db424e570c1a7c"}},{"ruleId":"D2","level":"warning","message":{"text":"snapPoints.unrotatedSnapPoints (cognitive 21): snapPoints.unrotatedSnapPoints has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (11 pts), boolean chains 5, if/else 5 (nesting depth added 4). Of this number, 11 points are the body\u0027s own statements and 10 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":"packages/markup/src/snapPoints.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dcc9b2fe2c14ce5dcafd9b2d8f122daadc7e494afbeff5f0da23483097f8bd"}},{"ruleId":"D2","level":"warning","message":{"text":"measure.measureDetails (cognitive 21): measure.measureDetails has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 5 (7 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/measure.ts"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94e58775f27b5fafe06c3545fcfb1b2610ed38255034f99fac2a0929d9c9c14"}},{"ruleId":"D2","level":"warning","message":{"text":"links.findDetailTitle (cognitive 21): links.findDetailTitle has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 9, loops 1, ternaries 1 (nesting depth added 5). Of this number, 19 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":"packages/sheets/src/links.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6d4aec5ea18b5ccc32c466f4676537244186202433353116e07e857d394d95"}},{"ruleId":"D2","level":"warning","message":{"text":"excel.writeWorkbook (cognitive 20): excel.writeWorkbook has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (7 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/excel.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84c50067b451c336437007b42636240f5e440afb2fbd9aefd954fb41d424bec"}},{"ruleId":"D2","level":"warning","message":{"text":"cadTools.cornerClick (cognitive 20): cadTools.cornerClick has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, ternaries 5 (7 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7d14cf7363e209961aff5fc06c7d20495fbe0636d9ea3e27a1e84d9d7a8786"}},{"ruleId":"D2","level":"warning","message":{"text":"cadTools.cadPickTarget (cognitive 20): cadTools.cadPickTarget has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 5, if/else 2, match/switch 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":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"809016dc635eaa13deeeafca088b91828222d8d05341df1770fab086e333a112"}},{"ruleId":"D2","level":"warning","message":{"text":"ifc.parseIfc::curve (cognitive 20): ifc.parseIfc::curve has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 3 (6 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ifc.parseIfc) 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":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f683adc62b3364b105957345666c15d9a52e3f349a6bb2d3bf3907dd9d407e"}},{"ruleId":"D2","level":"warning","message":{"text":"DriveSession.admitSeats (cognitive 20): DriveSession.admitSeats has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"b716e4385a659000af83da9dea0569c55aeeb81795b075c3ba10887f6f6f5471"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertiesPanel.MeasurementSection (cognitive 20): PropertiesPanel.MeasurementSection has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (5 pts), ternaries 4 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0b70620fbf3635aab54def4a2856a31660a86a28f30c2a96edb88308d0c385"}},{"ruleId":"D2","level":"warning","message":{"text":"TemplatesDialog.TemplatesDialog (cognitive 20): TemplatesDialog.TemplatesDialog has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, ternaries 5 (6 pts), error handling 1, if/else 1 (nesting depth added 1). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 141, a function literal at line 65, what, \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":"apps/web/src/components/TemplatesDialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1895a92258f3f4f85a6ce085d2558c415c77e2807f274b4ae0b40d044c3f8ef"}},{"ruleId":"D2","level":"warning","message":{"text":"scaleReview.rowFor (cognitive 20): scaleReview.rowFor has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 3 (4 pts), boolean chains 1 (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":"apps/web/src/measure/scaleReview.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fc799dd467217605a57318e332ea967f4081948dbc34661105c0fb44a94e93"}},{"ruleId":"D2","level":"warning","message":{"text":"MeasurementsPanel.Properties (cognitive 20): MeasurementsPanel.Properties has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7, ternaries 4 (nesting depth added 1). 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 (commit, a function literal at line 690, a function literal at line 665, \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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"6110f378044effe4650c74036be56530899811f45e5ff389e56e799ad5d38fa7"}},{"ruleId":"D2","level":"warning","message":{"text":"exportSummary.outputColumns (cognitive 20): exportSummary.outputColumns has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 7, ternaries 1 (2 pts), loops 1 (nesting depth added 6). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/summary/exportSummary.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc79bd1f1b38b6104e8f6bafd71af07aded0292bf5916ebd5518c88d48b7a2c"}},{"ruleId":"D2","level":"warning","message":{"text":"semantic.pageParagraphs (cognitive 20): semantic.pageParagraphs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts), boolean chains 2 (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":"apps/web/src/compare/semantic.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5f365a4e87dc10d1dd59b1b3364709580760409ef5cafa8946f15d28c25a18"}},{"ruleId":"D2","level":"warning","message":{"text":"perspective.homography (cognitive 20): perspective.homography has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 5 (9 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/perspective.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba45693460b2ef8ad5c1e214fc07c42b471637b3a2f31e58107c1e9a87f3e65"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessDialog.ProcessDialog (cognitive 20): ProcessDialog.ProcessDialog has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (8 pts), if/else 2 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. 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":"apps/web/src/components/ProcessDialog.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b23ff6226be757a2c599aa4f443cafc5409e298c3cf42a7f3ed0fa674f4058f"}},{"ruleId":"D2","level":"warning","message":{"text":"forms.parseCsv (cognitive 20): forms.parseCsv has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/forms.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a1accff8a64c319a0f8c05297b54c478d1a580896bce05cecce162759ddc9d"}},{"ruleId":"D2","level":"warning","message":{"text":"CompareResultsPanel.CompareResultsPanel (cognitive 20): CompareResultsPanel.CompareResultsPanel has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 6, if/else 4, loops 1 (nesting depth added 3). Of this number, 10 points are the body\u0027s own statements and 10 belong to 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/CompareResultsPanel.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5b31533ee75ee4d7eae58fa933218e33cbef833a8bfe44b61a46ad50a19bf1"}},{"ruleId":"D2","level":"warning","message":{"text":"CalibrateDialog.CalibrateDialog (cognitive 20): CalibrateDialog.CalibrateDialog has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 8, if/else 2 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/CalibrateDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a913459cfa287536f99874c17c66d0b98fc5f716f35484c0d714b06ad24189"}},{"ruleId":"D2","level":"warning","message":{"text":"store.openProject (cognitive 20): store.openProject has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 2 (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":"apps/web/src/studio/projects/store.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5644d6c1a681254f92b88d5331102850d34626e878d4d2e912bc10f36db6759a"}},{"ruleId":"D2","level":"warning","message":{"text":"table.tableLines (cognitive 20): table.tableLines has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 6, loops 4 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/table.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e72bab6d71f10472e28a8f8450406ed54e0e1bd574c3fa1be681d4983793fa9"}},{"ruleId":"D2","level":"warning","message":{"text":"bluebeam.scaleFromMeasure (cognitive 20): bluebeam.scaleFromMeasure has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, ternaries 9, if/else 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bluebeam.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"35db0b8f80829940576cb4a28b8ec248cf83cf7235115e8f7cc4c1b55bf20b51"}},{"ruleId":"D2","level":"warning","message":{"text":"bax.baxTypeInternal (cognitive 20): bax.baxTypeInternal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (7 pts), boolean chains 2, match/switch 1 (nesting depth added 9). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 54). 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":"packages/markup/src/bax.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d844fe8b47f6ba03ab65b2baba506ec2d23f40775cd7b1b9242f1649cf6103f"}},{"ruleId":"D2","level":"warning","message":{"text":"cad.stretchMarkup (cognitive 20): cad.stretchMarkup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 3 (4 pts) (nesting depth added 4). Of this number, 19 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":"packages/markup/src/cad.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f270f4e5525b7d46e3adbb3e2d17ae6c4ced3e05225dd22bd308ae9c79d6c9"}},{"ruleId":"D2","level":"warning","message":{"text":"geo.projectionOfEpsg (cognitive 20): geo.projectionOfEpsg has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, boolean chains 8. 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":"packages/markup/src/geo.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7826c71ee95cdb792bc1e350fe4d8bdc71b336dafc0717e32c8994da9141ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"xfdf.markupsToXfdf (cognitive 20): xfdf.markupsToXfdf has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/xfdf.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a369359af734809e3af69dd18fc82c436da8718b375b5e54b76d8cab42c9f293"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderStore.createFile (cognitive 19): FolderStore.createFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 2 (5 pts), ternaries 3 (5 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/folderDrive.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a851b6bafa3dad32a86019bd4c8f434592a86f2e033d95620837615b49242ce5"}},{"ruleId":"D2","level":"warning","message":{"text":"content.optimizeContent::flush (cognitive 19): content.optimizeContent::flush has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (6 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (content.optimizeContent, content.optimizeContent::take) 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f4358a51f727cbf04dd60682906bba0999306a40f41d8149383ca88618b550"}},{"ruleId":"D2","level":"warning","message":{"text":"groupBox.groupAffine (cognitive 19): groupBox.groupAffine has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 6, if/else 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/groupBox.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c112b97e5c9c5547e97ccab212cc81b1af06b1b3e59c5929ac341116aee144a4"}},{"ruleId":"D2","level":"warning","message":{"text":"cadTools.transformSelection (cognitive 19): cadTools.transformSelection has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 3 (7 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1587227abf12e1bec22e128f291d4559a2c68b7837fe683dc47ad9d12ded49"}},{"ruleId":"D2","level":"warning","message":{"text":"stitching.mergeStitch (cognitive 19): stitching.mergeStitch has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 3 (6 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 5 belong to 4 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":"apps/web/src/documents/stitching.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c6022852df7b7c48d8a8358c97debd5e06589fc105dac63cad4b3e84e4decd"}},{"ruleId":"D2","level":"warning","message":{"text":"OneDrive.listPermissions (cognitive 19): OneDrive.listPermissions has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 5, if/else 1 (nesting depth added 5). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 924). 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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae87cc3832331b78d9ae608ec6e5106c612c2b25c1d9c4ac3ef7dcac3e5c402e"}},{"ruleId":"D2","level":"warning","message":{"text":"AskText.AskTextHost (cognitive 19): AskText.AskTextHost has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (13 pts), if/else 3 (4 pts), boolean chains 2 (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 8 belong to 3 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":"apps/web/src/components/AskText.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22d0d34099fc53b8867726d8cd959e9971beb4197f9a2ab61d6712cb0d594ce"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupList.MarkupList::selectMarkup (cognitive 19): MarkupList.MarkupList::selectMarkup has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, loops 1 (3 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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. This shape REPEATS in the file: 3 other methods here (MarkupList.MarkupList, MarkupList.MarkupList::editor, MarkupList.MarkupList::filterInput) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b07835ff62acaad83c6791a8e2886f3701c08961a7851dac0f6315f3e1052cb"}},{"ruleId":"D2","level":"warning","message":{"text":"pki.certFacts (cognitive 19): pki.certFacts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/pki.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"213d3a3f2151b7b72dbeb9fb47490d76d4cc5e2017a092b86df8caf1cca64c75"}},{"ruleId":"D2","level":"warning","message":{"text":"pki.readTimestamp (cognitive 19): pki.readTimestamp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, ternaries 3, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/pki.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"033eb8afe9aa41c0d40e9f88342c09aad9999e6f7fcd643cc47a29695fe84d78"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitalSignatures.CardPicker (cognitive 19): DigitalSignatures.CardPicker has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (11 pts), boolean chains 8 (nesting depth added 5). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 379, 363, 410, \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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d088baa932bef557c4c8e708edc1ba112eff92d26ead3553ff3f7007e6a80aeb"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBar.MenuBar (cognitive 19): MenuBar.MenuBar has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (8 pts), if/else 6, boolean chains 4, match/switch 1 (nesting depth added 1). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 9 function items inside it that branch (menu, a function literal at line 672, a function literal at line 696, \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":"apps/web/src/components/MenuBar.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbfca85308333a78c56af7eb986c7329c8d4ad646b9d6ee864cb035647c4aa1"}},{"ruleId":"D2","level":"warning","message":{"text":"semantic.compareParagraphs.changes (cognitive 19): semantic.compareParagraphs.changes has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 7, boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/compare/semantic.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"22212c059d39c2c7065617c866efaecad818e07d0ee13b177bb11a5f648d3e02"}},{"ruleId":"D2","level":"warning","message":{"text":"SpacesPanel.SpacesPanel (cognitive 19): SpacesPanel.SpacesPanel has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 2 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 32, 67, 80, \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":"apps/web/src/components/SpacesPanel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad50336243cb01ace41e6af7b93cb85161a37c8074d4fc741438a9648847a94"}},{"ruleId":"D2","level":"warning","message":{"text":"Ribbon.SlopePicker (cognitive 19): Ribbon.SlopePicker has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), loops 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 5 function items inside it that branch (apply, a function literal at line 568, a function literal at line 542, \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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad70892d9141c16a242d73aa1d3cf2aab28cfdf0a0b61eedfbbdfb25030499a3"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBar.StatusBar (cognitive 19): StatusBar.StatusBar has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, ternaries 7 (9 pts), if/else 1 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 2 belong to 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/StatusBar.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c9a348344c0466936b3c9afa0c8112483715f87d608340aa58901171a22081"}},{"ruleId":"D2","level":"warning","message":{"text":"objects.entityMode (cognitive 19): objects.entityMode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaa128e7a9795a2ca6fc2812af632ec39d98b7260acc104676b86718a85fa8c"}},{"ruleId":"D2","level":"warning","message":{"text":"index.readDwg (cognitive 19): index.readDwg has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"562b5aa13bbb324ce83f477d317df105803bda4bd0e43ac71bf4f70b7e007149"}},{"ruleId":"D2","level":"warning","message":{"text":"ScaleRegionsPanel.ScaleRegionsPanel (cognitive 19): ScaleRegionsPanel.ScaleRegionsPanel has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 6 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ScaleRegionsPanel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2870fc2231ffbc30bd072e9930fd69f9f5dc79ac3072b00006020c8f9811d499"}},{"ruleId":"D2","level":"warning","message":{"text":"DeletePagesDialog.DeletePagesDialog (cognitive 19): DeletePagesDialog.DeletePagesDialog has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 5, if/else 2 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 3 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":"apps/web/src/components/DeletePagesDialog.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d54035eed6641a616a95f83c121d3936d3d9e6a13612c5e25e3a832f8b7ab7"}},{"ruleId":"D2","level":"warning","message":{"text":"InviteDialog.InviteDialog (cognitive 19): InviteDialog.InviteDialog has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 7, if/else 3 (4 pts) (nesting depth added 3). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 85, 49, 53, \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":"apps/web/src/components/sessions/InviteDialog.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f67dd74d4126a2aa01be59223ea427fe5e78dc3e2f2cd885853084937991d2"}},{"ruleId":"D2","level":"warning","message":{"text":"table.formatTableCells (cognitive 19): table.formatTableCells has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/table.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51c85ffffe5f427b2827edc0bae8910c064a457ab812803829ae2ca9d9786ad"}},{"ruleId":"D2","level":"warning","message":{"text":"columns.columnsFromXml (cognitive 19): columns.columnsFromXml has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 6, if/else 3 (4 pts), loops 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"packages/markup/src/columns.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"55352c7706a498c24aca94782178a5e80abad5da47d2a1bfd4692a89a7467ea7"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfValue.toPdfValue (cognitive 19): pdfValue.toPdfValue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/pdfValue.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4f9277f16e5cd48faae17be6c9c224ff0002ca6c70c9a5b2bada7a94ec257f"}},{"ruleId":"D2","level":"warning","message":{"text":"hatchSet.parseBhx (cognitive 19): hatchSet.parseBhx has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1, loops 1 (nesting depth added 7). Of this number, 13 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body 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":"packages/markup/src/hatchSet.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"af01687a2d038aba9e7164e581672d2f598ead87e169646e6ba2354c00574f34"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.extractSegments::walkPath (cognitive 19): worker.extractSegments::walkPath has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (5 pts), boolean chains 2, ternaries 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b08ddae977b68f3e220b453d3b21d8e906ab3b9eaaad6f4eec2de3c6f46cc9a"}},{"ruleId":"D2","level":"warning","message":{"text":"token.signOn (cognitive 18): token.signOn has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), error handling 4 (6 pts), ternaries 3, boolean chains 2 (nesting depth added 3). 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":"apps/desktop/src/token.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"355c3844fa37afb675250cdc9bb1af868ec589e69bdcac6e955adeeb08a26336"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.drawStitchGuides (cognitive 18): MarkupTools.drawStitchGuides has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 3 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 4 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2894}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6c21182da7790886f9987f31849f719f6599aa33814801c47b3a104376d69a"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.drawLinks (cognitive 18): MarkupTools.drawLinks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3986}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98e8114729b53e06eee5c69949cab823ca185492d5b03aa53c476afad2647d0"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.scaleClick (cognitive 18): MarkupTools.scaleClick has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1116ab44662bc12c39fe8dab7aa933a583f8be6b6499a1fecc3cffa24ee16883"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.pickTargetsAt (cognitive 18): MarkupTools.pickTargetsAt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7, ternaries 3 (6 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4581}}}],"partialFingerprints":{"codehealthFindingId/v1":"db01aa144d48423da88e287a95e0b1786710afb5fbb9d0831231e48b18e684bd"}},{"ruleId":"D2","level":"warning","message":{"text":"model.readModel (cognitive 18): model.readModel has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 6, ternaries 3 (6 pts) (nesting depth added 3). 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":"apps/web/src/geospatial/model.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e8e03c07801eb1358ffafc9befe807f9675853e58c8e3a7510aa132ce9d5c0"}},{"ruleId":"D2","level":"warning","message":{"text":"marks.joinedSheet (cognitive 18): marks.joinedSheet has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/marks.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd89b4591e342da497ae13dd92bff9b5191cb808bf7dd2005a92d4e84877d17"}},{"ruleId":"D2","level":"warning","message":{"text":"script.applySet (cognitive 18): script.applySet has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 3 (5 pts), boolean chains 4, match/switch 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a04b0e28b6e270c0eba859132854d32ff8ffc36b2c52d9531423020b88f8278"}},{"ruleId":"D2","level":"warning","message":{"text":"viewScales.viewLabels (cognitive 18): viewScales.viewLabels has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 3 (7 pts), boolean chains 1, loops 1 (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":"apps/web/src/measure/viewScales.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c5f1fd8f1089440aef80bafa70494b67141924566c80b419c1ed951bdedff9"}},{"ruleId":"D2","level":"warning","message":{"text":"exportSummary.buildRows (cognitive 18): exportSummary.buildRows has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 2 (5 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 9). Of this number, 11 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/summary/exportSummary.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6893b4a474eb0d7da21aa61b34b884902d0df3abb2f6d7acc6a5c8d7c02f299"}},{"ruleId":"D2","level":"warning","message":{"text":"printPdf.parsePageRange (cognitive 18): printPdf.parsePageRange has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 3 (5 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":"apps/web/src/documents/printPdf.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e003d3c475df91584599bb7bacab37a8fb2be25edfe947a763379ff011787483"}},{"ruleId":"D2","level":"warning","message":{"text":"ltv.firstNewObjectNumber (cognitive 18): ltv.firstNewObjectNumber has cognitive complexity 18 (threshold 15). Drivers by points: loops 7 (12 pts), if/else 4 (5 pts), error handling 1 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/ltv.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce725149891b184be9c43897c919229da787dcfd92eaf0f02cb5e5998f7f685f"}},{"ruleId":"D2","level":"warning","message":{"text":"pki.buildChain (cognitive 18): pki.buildChain has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (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":"apps/web/src/documents/pki.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b279e14902b72e1c240c5fec30b152adc4d684e72f1ac3484f4f5972f03a1b34"}},{"ruleId":"D2","level":"warning","message":{"text":"revuFolder.classifyRevuPath (cognitive 18): revuFolder.classifyRevuPath has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, ternaries 3 (6 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/migrate/revuFolder.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"06971c4b07edc632e9dae2ed58c26b0c8d38a5736d0bb56673597d5b97502cbd"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectsPanel.ManageProject (cognitive 18): ProjectsPanel.ManageProject has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 3 (4 pts), ternaries 3 (4 pts) (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba5cfb99829167ea7f5fd30e444655930939c14653a8457bb444c6bd79ca8b1"}},{"ruleId":"D2","level":"warning","message":{"text":"assistantScales.proposePageScale (cognitive 18): assistantScales.proposePageScale has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 3 (4 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantScales.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bc2d393b16a9338aa3bcbd6a39eb2557028410cdb787d557c6005f3b5a781f"}},{"ruleId":"D2","level":"warning","message":{"text":"assistant.styleOf (cognitive 18): assistant.styleOf has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d8c09a67e82fad77df458c7c63b554a82ed92ac0c0a8a58b945a45466e92fa"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfa.invisibleTextFonts (cognitive 18): pdfa.invisibleTextFonts has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 3 (5 pts), loops 4, boolean chains 1 (nesting depth added 7). Of this number, 11 points are the body\u0027s own statements and 7 belong 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":"apps/web/src/documents/pdfa.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7489a104ca11efaaddc76712ff3828d87675450977097b61b00fc89c1d7ea6e8"}},{"ruleId":"D2","level":"warning","message":{"text":"tiff.encodeG4 (cognitive 18): tiff.encodeG4 has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 3 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/tiff.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d8de70ca39313637cf42234c6c4e83ec040bafcb4ec65b364fae8ed46ad029"}},{"ruleId":"D2","level":"warning","message":{"text":"arrange.touchesPolygon (cognitive 18): arrange.touchesPolygon has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (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":"packages/markup/src/arrange.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25df115f04fe4d95fe1f2c9592474fd01a1b290e140634b2b83c2b5023886f6"}},{"ruleId":"D2","level":"warning","message":{"text":"flowchart.routeCost (cognitive 18): flowchart.routeCost has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, loops 2 (3 pts), ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/flowchart.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bbd673ebaa038b3abaed8b11cc861990e64e35fafb1642d2341c9ca28495ae"}},{"ruleId":"D2","level":"warning","message":{"text":"cad.lengthenPath (cognitive 18): cad.lengthenPath has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 4 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/cad.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bd622488b817fd583445bf6b1f659a8de0d60b047ce9cfd821a8864f20dfaa"}},{"ruleId":"D2","level":"warning","message":{"text":"store.editKind (cognitive 18): store.editKind has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, ternaries 3 (6 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/store.ts"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"17327215ef9c4a3e5c5f93088de25429f8cf511ed901690429ff37b45e960040"}},{"ruleId":"D2","level":"warning","message":{"text":"export.writeViewports (cognitive 18): export.writeViewports has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 5 (6 pts), boolean chains 4 (nesting depth added 4). Of this number, 16 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":"packages/markup/src/export.ts"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c2c82034ee1084328631d870125cd58155fc9bb9a96454b5cd68646bce50bc"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfExtras.imageDataUrl (cognitive 18): pdfExtras.imageDataUrl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 4 (5 pts), boolean chains 4, error handling 1 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/pdfExtras.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"440bb859215f981bf24e7869483c623e4b2e4a003968b2c48d0beeace7b63a82"}},{"ruleId":"D2","level":"warning","message":{"text":"xfdf.parseXml (cognitive 18): xfdf.parseXml has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (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":"packages/markup/src/xfdf.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bbd70ca1c319c37cf3c7165d5d84d8cf421d2ea4ad78950d4c2e6a1f577a58"}},{"ruleId":"D2","level":"warning","message":{"text":"measure.labelAnchor (cognitive 18): measure.labelAnchor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 2 (5 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/measure.ts"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4147302cc56fd3399fd043f4a72fdae5b45b5f0a24125a09a0e5754ca6d66a"}},{"ruleId":"D2","level":"warning","message":{"text":"search (cognitive 18): search has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 1 belongs to 3 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":"apps/web/public/help/help.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c3766ef60deaade72a2e3d12d5e875c24fa8ae70ab4211b2a227af0e2cea57"}},{"ruleId":"D2","level":"warning","message":{"text":"TileViewer.drawLoupe (cognitive 17): TileViewer.drawLoupe has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3 (nesting depth added 5). Of this number, 10 points are the body\u0027s own statements and 7 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7442834dee784949779ba84072131ca15c41a554274626f6c825e3b65f1fcf0"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.drawCad (cognitive 17): MarkupTools.drawCad has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 3 (4 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 8). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4902}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efa4aff94c0f403ebab0990dc57f2f6f1aebacde468f17a58584ee2885c7413"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.drawPopup (cognitive 17): MarkupTools.drawPopup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), loops 3 (4 pts), ternaries 2 (4 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":5050}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad56ee49919a06bc6facf496e217e198f47e1d6c1566a1a9c225a2381e81e46d"}},{"ruleId":"D2","level":"warning","message":{"text":"LineStylesDialog.SymbolCanvas (cognitive 17): LineStylesDialog.SymbolCanvas has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 4, if/else 3, loops 2 (nesting depth added 2). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 151, 189, 179). 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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"83550db5cd441bbf70bcebeb82870e6b8eb1182f7bd6f575200dbccabcd7410f"}},{"ruleId":"D2","level":"warning","message":{"text":"StampsDialog.StampMenu::onMenuKey (cognitive 17): StampsDialog.StampMenu::onMenuKey has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (14 pts), if/else 2, boolean chains 1 (nesting depth added 9). 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":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a4e2886928c9e6e7b9065095e9f2c435c7d60322e1a6b0091824b674130b3f"}},{"ruleId":"D2","level":"warning","message":{"text":"toolSets.fromRevu (cognitive 17): toolSets.fromRevu has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 3 (nesting depth added 3). None of this is in the body itself: all 17 points belong to 2 function literals inside it that branch (lines 17, 29). 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":"apps/web/src/toolchest/toolSets.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eed26bfc277667c0cde9c0c9492dab17fe1689d9ca7e0959c7e5f2b90e04679"}},{"ruleId":"D2","level":"warning","message":{"text":"QuantitiesDialog.QuantitiesDialog (cognitive 17): QuantitiesDialog.QuantitiesDialog has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 7, loops 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 93, a function literal at line 29, a function literal at line 38, \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":"apps/web/src/components/QuantitiesDialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6353f6472fdb566eab4f3e8de7aa2b4f996e618934ff2775a9f192b54dd3710f"}},{"ruleId":"D2","level":"warning","message":{"text":"viewScales.drawingArea (cognitive 17): viewScales.drawingArea has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, loops 1, ternaries 1 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 4 belong to 4 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":"apps/web/src/measure/viewScales.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9655f820b043650c1039f03663058fd7214f6ebaac51f58afda5dfc021754313"}},{"ruleId":"D2","level":"warning","message":{"text":"MeasurementsPanel.Viewports (cognitive 17): MeasurementsPanel.Viewports has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, ternaries 5, if/else 3. Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 924, a function literal at line 910, removeMany, \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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6bf9542029b8e17897525752e4de12f8fa9429e6cfc1842f29c77bc68cc952"}},{"ruleId":"D2","level":"warning","message":{"text":"bcf.parsePageSpec (cognitive 17): bcf.parsePageSpec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). Of this number, 12 points are the body\u0027s own statements and 5 belong 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":"apps/web/src/summary/bcf.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"586b41bd025c987298bddc4106f423bc461d1be05a85972807030cee09a5266a"}},{"ruleId":"D2","level":"warning","message":{"text":"taggedContent.removeTagged (cognitive 17): taggedContent.removeTagged has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 1 (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":"apps/web/src/documents/taggedContent.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce384299a9a860fee7c034b70b38360407f31b11d69a8e05e0d982bed9344a3"}},{"ruleId":"D2","level":"warning","message":{"text":"pki.revocationEvidence (cognitive 17): pki.revocationEvidence has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (7 pts), error handling 2 (4 pts), if/else 2 (4 pts), loops 2 (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":"apps/web/src/documents/pki.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"9032e870cd8ab3453e6921112367680b06efa2459adc042953a42fce011ccd3f"}},{"ruleId":"D2","level":"warning","message":{"text":"pdfSign.parseCms (cognitive 17): pdfSign.parseCms has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 2, if/else 2, error handling 1, loops 1 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9574ecaf3f1e566f55eb4869cecbdc6edf4d7f2c8583ddeab9a917a25c58232"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitalSignatures.DigitalIdsDialog (cognitive 17): DigitalSignatures.DigitalIdsDialog has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 13, ternaries 3, if/else 1. Of this number, 14 points are the body\u0027s own statements and 3 belong to 8 function literals inside it that branch. 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40bcf525e124ed7181be8a7b9478d64fc42772b5c290c26d3b42a8941f6714d"}},{"ruleId":"D2","level":"warning","message":{"text":"compare.comparePages (cognitive 17): compare.comparePages has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 5 (6 pts), boolean chains 4 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"apps/web/src/compare/compare.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e35df34d346f797e7652fadbcba562d862906719e61e72194f27ba181e621b9"}},{"ruleId":"D2","level":"warning","message":{"text":"security.encryptStrings (cognitive 17): security.encryptStrings has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/security.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e96ad800256eb0ed5cf798d6fc4c841f56123836242c5411466b5c11bc340f4"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityDialog.SecurityDialog (cognitive 17): SecurityDialog.SecurityDialog has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8, boolean chains 7, if/else 2. Of this number, 10 points are the body\u0027s own statements and 7 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":"apps/web/src/components/SecurityDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"695990ac766f862b760e97272a884bafc9274de7640744622f9504f2d86b6958"}},{"ruleId":"D2","level":"warning","message":{"text":"revuKeys.revuOverrides (cognitive 17): revuKeys.revuOverrides has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), ternaries 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":"apps/web/src/commands/revuKeys.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b09553d9223d2d2d42dad96ba85455259609b90865a698461165a34026ada9b"}},{"ruleId":"D2","level":"warning","message":{"text":"startTips.inlineParts (cognitive 17): startTips.inlineParts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (6 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/help/startTips.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b2961584c7fe259db5da9316b7b925c4f1acf87d725b360d14359dc7409acd"}},{"ruleId":"D2","level":"warning","message":{"text":"objects.text (cognitive 17): objects.text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 6, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee3c0a66affe724f83118288e549e6f15c61ad61719fd917ba2b8269c8e8d82"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionDialogs.EndSessionDialog (cognitive 17): SessionDialogs.EndSessionDialog has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, ternaries 4, if/else 1. Of this number, 15 points are the body\u0027s own statements and 2 belong to 3 function literals inside it that branch. 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":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10c76ea337529414cab9e548c0178879da6c7811a99bd96571772deb2ebcff3"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectsPanel.Members (cognitive 17): ProjectsPanel.Members has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, ternaries 3 (5 pts), if/else 3, error handling 1 (nesting depth added 2). Of this number, 9 points are the body\u0027s own statements and 8 belong to 6 function items inside it that branch. 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf926214028bfba88f97a9df1a4ca1e8fe7420b0c2f9685d7b5edfdad7fe344"}},{"ruleId":"D2","level":"warning","message":{"text":"assistantSymbols.proposeCounts (cognitive 17): assistantSymbols.proposeCounts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4 (5 pts), boolean chains 2, error handling 1 (nesting depth added 2). Of this number, 9 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantSymbols.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f853a882161f5ce5b5b5c2507e1d0d58675b86fcdc3387c7e733243afa8ee02"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App::tabMenu (cognitive 17): App.App::tabMenu has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 11 (16 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 6 other methods here (App.App, App.App::useToolItem, App.App::runExport, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"apps/web/src/App.tsx"},"region":{"startLine":7451}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb523592dbff02880fc3348fdc962470f905d95c61cf2a086315462738c2fcfe"}},{"ruleId":"D2","level":"warning","message":{"text":"flowchart.routeConnector (cognitive 17): flowchart.routeConnector has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8, boolean chains 5, if/else 4. Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/flowchart.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"308348bb467869b2478da309dd58f9f6736b59921c531002bc4af80473f812ea"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupStore.refresh (cognitive 17): MarkupStore.refresh has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2 (nesting depth added 4). Of this number, 16 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":"packages/markup/src/store.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b703491dc05369a6f49ce739d68aa756bee68614100f354df2680c438d3b9f1d"}},{"ruleId":"D2","level":"warning","message":{"text":"export.columnData (cognitive 17): export.columnData has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 4, boolean chains 2 (nesting depth added 6). None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 1713). 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":"packages/markup/src/export.ts"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"658a58ec48cdb5ba31adb439eef1bc3e370a147da0d1ab7be2b467fde8b30d44"}},{"ruleId":"D2","level":"warning","message":{"text":"lineStyleEdit.readComponent (cognitive 17): lineStyleEdit.readComponent has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/lineStyleEdit.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd99f0a57db89e010eb98c7acd580e3bb2a2532fb6c8f0a3bf31bc4054c2049"}},{"ruleId":"D2","level":"warning","message":{"text":"scale.scaleParts (cognitive 17): scale.scaleParts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/scale.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aaceb72c58586895de52f6304a925c226f6a92ac99bf4eec3b0eab857b377c"}},{"ruleId":"D2","level":"warning","message":{"text":"regionGeometry.insideIntervals (cognitive 17): regionGeometry.insideIntervals has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/regionGeometry.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83a73f9823798b9aa1ef5dc050baa3b7875802fc4b540b921ecb0033f5ae3fd"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.getPage (cognitive 17): worker.getPage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1 (2 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ed62b23318f80b586f652012fd914d1fc98afaf8ae66146fdb20107e5608a1"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.shxWords (cognitive 17): worker.shxWords has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (5 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda7108d28b74ad1a9d5a44f227869d8fa80a0f23ec878130fd0a92146ee5412"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.onmessage (cognitive 17): worker.onmessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c7dd43aa2387b68d2f8fccce9797e2e080582599d672a8e3b1a72fb52ffe4f"}},{"ruleId":"D2","level":"warning","message":{"text":"standard.customFields (cognitive 17): standard.customFields has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 3 (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":"packages/sheets/src/standard.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"74754744e4f18f55c1c59d53b37e6302b0d3e8ed8d1d70ce13b1955f8b898809"}},{"ruleId":"D2","level":"warning","message":{"text":"matchLines.findLine (cognitive 17): matchLines.findLine has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/stitch/src/matchLines.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e1b17d9d3de95b3b96999fbb2dfb25c10e7ed7d08621a33499950296b2b12a"}},{"ruleId":"D2","level":"warning","message":{"text":"server.listenForAssistant (cognitive 16): server.listenForAssistant has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 5, ternaries 3, error handling 1. None of this is in the body itself: all 16 points belong to 5 function literals inside it that branch (lines 28, 15, 57, \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":"apps/desktop/src/assistant/server.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cfca9b9babc6dcdaf0fd85dc487273b4924c197985282528db4104fb8ff9b4"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopAuth.microsoft (cognitive 16): DesktopAuth.microsoft has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 4, ternaries 3, error handling 1 (2 pts) (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 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":"apps/desktop/src/auth.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa98f89cf91bc0c0f0ef545a45aa496802b937f7b56d094d27a561592970e8ab"}},{"ruleId":"D2","level":"warning","message":{"text":"EngineSupervisor.restart (cognitive 16): EngineSupervisor.restart has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 1 (3 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/viewer/engineSupervisor.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d2361d41c74d6562a7f54549ccb34c0b470162558a3d9515782a9e036d774b"}},{"ruleId":"D2","level":"warning","message":{"text":"clip.asRect (cognitive 16): clip.asRect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, loops 3 (nesting depth added 3). 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":"apps/web/src/documents/renderCopy/clip.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac457f4801ec0bf8c3722a7f8539d61e16a21a2aad7d7464dd3b50f3c544d723"}},{"ruleId":"D2","level":"warning","message":{"text":"content.optimizeContent::take (cognitive 16): content.optimizeContent::take has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (content.optimizeContent, content.optimizeContent::flush) 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b50812423021ee1a422e4dab9ef9be6369db095e83e6686d77478a4357f9efe"}},{"ruleId":"D2","level":"warning","message":{"text":"images.rescalable (cognitive 16): images.rescalable has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, ternaries 4 (6 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/renderCopy/images.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4482cde33abb4449d99401c7a48ce767afc0071cd31ab2701a39e0696c052c3e"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.numbered (cognitive 16): MarkupTools.numbered has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (4 pts), boolean chains 2, ternaries 2 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 2 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"c586629e21c61b27fa89a69676698eb4e65ee8c81795d0905aa1d075c6feac8a"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTools.drawGeoOverlay (cognitive 16): MarkupTools.drawGeoOverlay has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 4, ternaries 2 (3 pts), loops 2 (nesting depth added 2). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 2836, 2807, 2827). 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2799}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d5dbc1ce11ccdca7a001a37cfdc7d8633a5c6e745e69bac13c0b5700f8139e"}},{"ruleId":"D2","level":"warning","message":{"text":"listColumns.commentListMarkups (cognitive 16): listColumns.commentListMarkups has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ae3fcd43e3ec0c31f57f72ef2dc8a9423cbb508ec5d94d1f8f0de5d5451faf"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolBar.HatchMenu (cognitive 16): ToolBar.HatchMenu has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 5, ternaries 3 (4 pts) (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 7 belong to 6 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0ddd978014e926791799649950d4cf8414b446f0bb0e7dac7ec21edd713e02"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupList.MarkupList::filterInput (cognitive 16): MarkupList.MarkupList::filterInput has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 1, if/else 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (MarkupList.MarkupList, MarkupList.MarkupList::selectMarkup, MarkupList.MarkupList::editor) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e6e0f7000112c9c6bf80260c3d187f0942c503fb0fc954841b6e037c32195f"}},{"ruleId":"D2","level":"warning","message":{"text":"SheetSyncDialog.SheetSyncDialog (cognitive 16): SheetSyncDialog.SheetSyncDialog has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 4 (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":"apps/web/src/components/SheetSyncDialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e5b0323309875aaf0ce76e632518be4725238749762ee6b5f4f3d9b37ccb8d"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandPalette.CommandPalette (cognitive 16): CommandPalette.CommandPalette has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, ternaries 5, boolean chains 3. 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 (a function literal at line 64, a function literal at line 77, a function literal at line 32, \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":"apps/web/src/components/CommandPalette.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c255f0dc1e462740c5259e5edbbe1dbe3fc4341c13eb5fab8cee77c124b29c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ocr.recognise (cognitive 16): ocr.recognise has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 1 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/ocr.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"141df5210ddc1ec53e0d923a58c5e06fb15221c34de54a92d1df195b12d1f6b5"}},{"ruleId":"D2","level":"warning","message":{"text":"forms.writeAppearances (cognitive 16): forms.writeAppearances has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/forms.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"161808dd5d2a2b8342c0cfdcb6f3a27dc679f6f0970142e3b8a11f9b6d359c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualSearchPanel.VisualSearchPanel (cognitive 16): VisualSearchPanel.VisualSearchPanel has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 4, if/else 1 (nesting depth added 6). Of this number, 15 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":"apps/web/src/components/VisualSearchPanel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30e1a1343ab4fead6e163368a083adff8da94c20d44c4fcd3d3ecc36f2297f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ctb.parseCtb (cognitive 16): ctb.parseCtb has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 3 (5 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/ctb.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2351133fd452030266e89c74c3c40998bbb3f1e43f2a3555fc8fa9e1983c8c2"}},{"ruleId":"D2","level":"warning","message":{"text":"indexer.repairSquareImages (cognitive 16): indexer.repairSquareImages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 7). None of this is in the body itself: all 16 points belong to 2 function literals inside it that branch (lines 231, 237). 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":"apps/web/src/sheets/indexer.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8751dd18b905a95119c9f7dbd20bc56d6b49d49072c4991ed82e7f034c3b3a"}},{"ruleId":"D2","level":"warning","message":{"text":"StandardSettings.StandardSettings (cognitive 16): StandardSettings.StandardSettings has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 5 (7 pts), if/else 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 159, 94, 107, \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":"apps/web/src/components/standardsWizard/StandardSettings.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fbfb692c4364d84318121bcb3c13ef334e0994aa505e4e3634f144d26fd60f"}},{"ruleId":"D2","level":"warning","message":{"text":"teachLinks.titleWords (cognitive 16): teachLinks.titleWords has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (7 pts), if/else 3 (6 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/teachLinks.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3e741dadae93f80897d595a10a2567a0f9468da3c524a628511041ca4a8b8c"}},{"ruleId":"D2","level":"warning","message":{"text":"assistantStandards.proposeStandardHints (cognitive 16): assistantStandards.proposeStandardHints has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantStandards.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4cb2a69de171f5f85f2e940e264aa133f0065416106568b50338e7653cd40d"}},{"ruleId":"D2","level":"warning","message":{"text":"stitchPages.stitchToPage (cognitive 16): stitchPages.stitchToPage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (5 pts), ternaries 1 (2 pts) (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"apps/web/src/documents/stitchPages.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbee6adb49f998ba0f2de27413dc174629227db324f9889c777e71a2d700ab16"}},{"ruleId":"D2","level":"warning","message":{"text":"table.cleanFormats (cognitive 16): table.cleanFormats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, loops 2 (3 pts), 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":"packages/markup/src/table.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f12bbde8ae72123922cf59e7cd2caad39a4435ae3f8452a58fd214d8adb769a"}},{"ruleId":"D2","level":"warning","message":{"text":"lineStyle.lineStyleReach (cognitive 16): lineStyle.lineStyleReach has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (5 pts), loops 2 (3 pts) (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/lineStyle.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c83e42db0d024c880516a09bb6b28b3907bf44280be151ef483171673c35dea"}},{"ruleId":"D2","level":"warning","message":{"text":"flowchart.elbowRoute (cognitive 16): flowchart.elbowRoute has cognitive complexity 16 (threshold 15). Drivers by points: loops 6 (11 pts), boolean chains 2, if/else 2, ternaries 1 (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/flowchart.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdabb9daa50088242e2d1edf029f8b6a0f13b2bca03dd399cc0035fa9660ec25"}},{"ruleId":"D2","level":"warning","message":{"text":"bpx.parseBpx (cognitive 16): bpx.parseBpx has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 3, loops 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bpx.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ba49f4da50d7f2e7b7acfdda0a6bac22d3798720576ced03b96d649a546a11"}},{"ruleId":"D2","level":"warning","message":{"text":"cad.divisionPoints (cognitive 16): cad.divisionPoints has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 4 (5 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/cad.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3a087cf2637c6dc448f580e8c1419251b210eca70aaca642784ae110ad4a0b"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupStore.setDetectedLinks (cognitive 16): MarkupStore.setDetectedLinks has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, ternaries 2 (5 pts), if/else 2 (3 pts), loops 2 (nesting depth added 4). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 583, overlaps). 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":"packages/markup/src/store.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa475b8fb7523fd14ecdc6932ae26d50620785a85231eb17dced1b136547c0d"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupStore.update (cognitive 16): MarkupStore.update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, loops 1 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/store.ts"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7566134a10affd6afc83f07282b6802d4b9ea3ed11893e95bee78a95514667"}},{"ruleId":"D2","level":"warning","message":{"text":"export.writeColumns (cognitive 16): export.writeColumns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 4). Of this number, 9 points are the body\u0027s own statements and 7 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":"packages/markup/src/export.ts"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"d528971f6ba3ca43e8cea05db1eb51111cf157b3a81bb510fec33237302766e4"}},{"ruleId":"D2","level":"warning","message":{"text":"toolchest.blitImage (cognitive 16): toolchest.blitImage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74c6370320d8c9c48ca0134732e9bde41cfa494f6531c9d3922af29d8e61510"}},{"ruleId":"D2","level":"warning","message":{"text":"stampPdf.richText (cognitive 16): stampPdf.richText has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/stampPdf.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33402804399ba2d7ced88872e4b5c97e8fd72c488047c287ef04e0ee6ac5b82"}},{"ruleId":"D2","level":"warning","message":{"text":"summary.appendSummary (cognitive 16): summary.appendSummary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 3, loops 2, ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (newPage, a function literal at line 119, a function literal at line 125, \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":"packages/markup/src/summary.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d17c1b4cf24487ab350e5156059ae6778db950061043aa83aae0bd91f93a30"}},{"ruleId":"D2","level":"warning","message":{"text":"scale.parseScaleText (cognitive 16): scale.parseScaleText has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 5). Of this number, 14 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":"packages/measure/src/scale.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b74f5c90a609ee49eea6ec5f888b70cf1618ebaa9ab87cee08edf8f945f20c"}},{"ruleId":"D2","level":"warning","message":{"text":"SegmentHash.has (cognitive 16): SegmentHash.has has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (7 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/visualSearch.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"007914a0c21181736a4c253a2c368444368d403f4a114469786d5b9dfa6d5a57"}},{"ruleId":"D2","level":"warning","message":{"text":"geo.solve3 (cognitive 16): geo.solve3 has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (8 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":"packages/measure/src/geo.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2419d74db083d178c5224be60c080979b418d9bb2dc868fba7ac2323ab2a4477"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.linkTarget (cognitive 16): worker.linkTarget has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/worker.ts"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf69cf6738d82c8a30538586f28a1f46492fe0b8436819711022939fe6d2291a"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.destTarget (cognitive 16): worker.destTarget has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (7 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9a0396d8a94eb305b8464f52b8b384c67fe4e6b6bed1145d6070ae3531a90e"}},{"ruleId":"D2","level":"warning","message":{"text":"confidence.stepMeter (cognitive 16): confidence.stepMeter has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 4, boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sheets/src/confidence.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff92f0bca15c83e0c80bb674f54fff1508c16807171056792c2f8f12f870aac"}},{"ruleId":"D2","level":"warning","message":{"text":"manual.manualEdges (cognitive 16): manual.manualEdges has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 2 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/stitch/src/manual.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8113147cbc8ff4859edec91ed7599480a98401119de9be742faea25e9ab3436a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/App.tsx: FileTooLong \u2014 9072 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8572 over it, 18.14\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":"apps/web/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f02a4e5ec0b89d0248a9022804d4f036f8b6cf624ca76e5ad23eece6de76268"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: export.escapeXml: FunctionTooLong \u2014 escapeXml runs 805 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 705 over it, 8.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":"packages/markup/src/export.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"12855a07d14a2beb331a0bba930541afd4250768880da8e5c775fbbb4c08c884"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: markup/MarkupTools.ts: FileTooLong \u2014 3979 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: MarkupTools (620-4991). The bar is 500 significant lines; this is 3479 over it, 7.96\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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a091fdfc9d468cf9a7ddd79f0d72273ef57c23b49d6fafd0ab8ad70515ac39"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PreferencesDialog.PreferencesDialog: FunctionTooLong \u2014 PreferencesDialog runs 774 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 674 over it, 7.74\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":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8bf22db4176ea93be568295c52d784809a17cee19e629b9b0062eab7d962f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Ribbon.Ribbon: FunctionTooLong \u2014 Ribbon runs 677 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 577 over it, 6.77\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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff830bdefaef8949ba093e85950e6bd3a34d14b76bf442e0fe636fafe0bfe95"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarkupTools: TooManyMethods \u2014 202 methods. The bar is 30 methods; this is 172 over it, 6.73\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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b737ba3de466b1446167fcd0a95cbcce6a9a1e72bd3885ecadcbbdea2cc87b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MenuBar.MenuBar: FunctionTooLong \u2014 MenuBar runs 478 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 378 over it, 4.78\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":"apps/web/src/components/MenuBar.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"961f77b37c22943199f95b18d3f3c7d83f813b053314bc423b85b863ce46196a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ColumnsDialog.ColumnsDialog: FunctionTooLong \u2014 ColumnsDialog runs 458 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 358 over it, 4.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f1a2d8a4a21c96172b105ebee672660c832e9b2f0c5683bbed060c9a0f1ecd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: starters.starterGroups: FunctionTooLong \u2014 starterGroups runs 428 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 328 over it, 4.28\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":"apps/web/src/assemblies/starters.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6705e2caf23408415ef6e6e1f0b2cc064305c055a7e91018d6e2013cd486fce1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GeospatialPanel.GeospatialPanel: FunctionTooLong \u2014 GeospatialPanel runs 397 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 297 over it, 3.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/GeospatialPanel.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e33565fabd345c9004e78b195903d16b253a8018c444824de7f66dea20ba403"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AssembliesDialog.AssembliesDialog: FunctionTooLong \u2014 AssembliesDialog runs 394 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 294 over it, 3.94\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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ccae5824bd5c2452ea0974dc36b14e50504d1591b3f38503054cecc6b38648"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BatchDialog.BatchDialog: FunctionTooLong \u2014 BatchDialog runs 356 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 256 over it, 3.56\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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b758c0449d67fca0c844f35b38298c5acc7b5499c67a58da61ad4b141ad00ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StandardsWizard.StandardsWizard: FunctionTooLong \u2014 StandardsWizard runs 338 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 238 over it, 3.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9667f39150f930ef87d76c157ef179dc16a303995fbf9a4f1fe6bd90cf03fe44"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TileViewer: TooManyMethods \u2014 101 methods. The bar is 30 methods; this is 71 over it, 3.37\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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca6962a50626307f2f72c86af4ef6d7873979b4f0ed5c3225d01fe15644bf5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MeasurementsPanel.PageScale: FunctionTooLong \u2014 PageScale runs 336 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 236 over it, 3.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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d66427787d38ebdea7fdacbd026aa294fb98be3c3ac097bdf3143bda4034668"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompareDialog.CompareDialog: FunctionTooLong \u2014 CompareDialog runs 332 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 232 over it, 3.32\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":"apps/web/src/components/CompareDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e316cc5b03587b712d945393729093c2f78701d5913ff80110b5dd435bf27de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/export.ts: FileTooLong \u2014 1651 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1151 over it, 3.30\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":"packages/markup/src/export.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08674177ab84df9382c1317153474a7375fdca0166404f1d2241808a340d59c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SetsPanel.SetsPanel: FunctionTooLong \u2014 SetsPanel runs 328 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 228 over it, 3.28\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":"apps/web/src/components/SetsPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8995aee42cc329e6923e86fc5e44fab843de67f4bab166d4560961ee7514fad7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchPanel.SearchPanel: FunctionTooLong \u2014 SearchPanel runs 327 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 227 over it, 3.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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"092b23631194ceb12c4a79aef2844d76483cb26215c84c6171fce070d402d686"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarkupStore: TooManyMethods \u2014 96 methods. The bar is 30 methods; this is 66 over it, 3.20\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":"packages/markup/src/store.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01355974cdef0d6873b2b6f46631978507351947b0cb79d3b1862304c3a6924"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/worker.ts: FileTooLong \u2014 1517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1017 over it, 3.03\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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c214d1b4dd29480c04299364a9b65c4bb52fa7b719ff32c38215264985df9242"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: objects.entityData: FunctionTooLong \u2014 entityData runs 302 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 202 over it, 3.02\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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"7144d733d4b7616f548905f08ad86bd4280b6e6cac5d88aadb003057491dc339"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ifc.parseIfc: FunctionTooLong \u2014 parseIfc runs 302 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 202 over it, 3.02\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":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e7ab6f986eb065222997c639509396bd3d0b61441669f885b5ae956b90f8fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarkupTools.pointerDown: MethodTooLong \u2014 pointerDown runs 302 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 202 over it, 3.02\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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"485663aa4cdec4e7fb47112775514c52c025e9fe1500acdcf60fa2dc25a49c73"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: import.importAnnotations: FunctionTooLong \u2014 importAnnotations runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\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":"packages/markup/src/import.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"575a89bb02776e8307b2dd9fafcf98d019e779f15cfb3cd9a167e317154f7566"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: export.annotationDict: FunctionTooLong \u2014 annotationDict runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/export.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c67f165c04511ab2843160f471a36cb73b50d5a2baf311f21e3a4b74946d3dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: export.appearance: FunctionTooLong \u2014 appearance runs 278 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\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":"packages/markup/src/export.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bbfa1cd6e2e0e8f41338f640a64f57cf032247b07f081e77a1c464f8c4e19c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewer/TileViewer.ts: FileTooLong \u2014 1387 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: TileViewer (240-2020). The bar is 500 significant lines; this is 887 over it, 2.77\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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfce74250b53c8139be2893c4d2329a72265270aafbd0ac96ea4a2da5118ccc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: appCommands.buildCommands: FunctionTooLong \u2014 buildCommands runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\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":"apps/web/src/commands/appCommands.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8962298fe4cb9adc766b6de99da66ab774f68402f6ec5c6e3487ab9daf964f90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectsPanel.ProjectView: FunctionTooLong \u2014 ProjectView runs 267 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 167 over it, 2.67\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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36072bd61b12a47be38298b66a205b3ab756b9d67460a54f1ba6539ef4b8f0a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProfilesDialog.ProfilesDialog: FunctionTooLong \u2014 ProfilesDialog runs 259 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 159 over it, 2.59\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":"apps/web/src/components/ProfilesDialog.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90569438fec99b12b497368d138dc915d197efd97fe86a806960a241ab7eadb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FormsPanel.Properties: FunctionTooLong \u2014 Properties runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.47\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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f3dcd2db0cba587afe65bca5af01f76479217269226447a17147bd788e7cd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionsPanel.InSession: FunctionTooLong \u2014 InSession runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.47\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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e9b5247bf01e684fc78bf12202276b91564551559eadd78fd585907eec9d36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/Ribbon.tsx: FileTooLong \u2014 1222 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 722 over it, 2.44\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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4032d986db7ced6ebb023000331ed0a94118cba1675cbc6ff397c6cd033848e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: import.fromRaw: FunctionTooLong \u2014 fromRaw runs 236 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 136 over it, 2.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":"packages/markup/src/import.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f23a53fef4b05406715261d0e2f434ad04485751a8b4f8c05058ab9080797b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PageNav.PageNav: FunctionTooLong \u2014 PageNav runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.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":"apps/web/src/components/PageNav.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"51af65840cb3d0368f18bd647b0ff5e23b7f4859a7d2f6487a303dbace9a38df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BookmarksPanel.BookmarksPanel: FunctionTooLong \u2014 BookmarksPanel runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.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":"apps/web/src/components/BookmarksPanel.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"07593f7f8ed4f248d8c67a8492f6c9f970ec6ae7990e96e9b60867d255dee9fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChainageStep.ChainageStep: FunctionTooLong \u2014 ChainageStep runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.25\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":"apps/web/src/components/standardsWizard/ChainageStep.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f63d8d72e538e33f12fd4928984634679569ad4b24ae8ecc690df7b747482bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PagesPanel.PagesPanel: FunctionTooLong \u2014 PagesPanel runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\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":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"327bcedb52b4efad9a5c7a8aa7908cd5a11f9b6e1bad4fc76a7e6003f6730f14"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: export.exportWithAnnotations: FunctionTooLong \u2014 exportWithAnnotations runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.20\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":"packages/markup/src/export.ts"},"region":{"startLine":2064}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e7005b58ed3aeff4cc1c48951afad91bbf97d9bf80032c1b551f23121f9fc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dwg/objects.ts: FileTooLong \u2014 1094 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 594 over it, 2.19\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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8619aa23263d280e5961dcc77c7f307df12a09cf924b98f7fac179380408503"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SetScaleDialog.SetScaleDialog: FunctionTooLong \u2014 SetScaleDialog 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":"apps/web/src/components/SetScaleDialog.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a3fb25f69eb62597c5d86960f21cbb707101f99991932ce5aeb4ea508b7abe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProductListsDialog.ProductListsDialog: FunctionTooLong \u2014 ProductListsDialog runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.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":"apps/web/src/components/ProductListsDialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6bed0b961204a6b32bd38f9ab2c3b2977516f3b602a94d53fc2ae213f806a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: header.readHeader: FunctionTooLong \u2014 readHeader runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\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":"apps/web/src/cad/dwg/header.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdf0491a8b5e1bec1623f13f73c0fc7e77dd14c4ba0a537f9064e40c3926a6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codebase-reach.canvas.CodebaseReach: FunctionTooLong \u2014 CodebaseReach runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\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":"docs/codebase-reach.canvas.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40b946eed1675c9a7ddf5e70e7da262895dd5e3f5a27e491e16425cc1a3fe29"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ItemsDialog.ItemsDialog: FunctionTooLong \u2014 ItemsDialog runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ItemsDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6287b09c7dba9cdb983749e142648df4a48f91ba5da5b3bf3eacb474c81f7274"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolBar.StyleControls: FunctionTooLong \u2014 StyleControls runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7300760362441cc1743fb9aeb2d234a1c40e47b842dece3a9b30476321c555"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/PreferencesDialog.tsx: FileTooLong \u2014 1025 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: PreferencesDialog (215-1134). The bar is 500 significant lines; this is 525 over it, 2.05\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":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca159f4c420b4bb6117bfb46e65676b1fea26939cf1112f5ca2c2aad669dddd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionDialogs.StartSessionDialog: FunctionTooLong \u2014 StartSessionDialog runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.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":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5ba29cd75202e14371f5d0024d210ef3cce7984a2c008cd508a24cea547e4b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DriveSession: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b081df0cb77db8fa3a61ea96870d462132e5b7f28d2bac779751b8955b51b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionDialogs.SessionSettingsDialog: FunctionTooLong \u2014 SessionSettingsDialog runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"558a423d14be4c4014c53f494b30484b3bc29189428464f8d8d4cbc1554ec23c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/MarkupList.tsx: FileTooLong \u2014 974 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: lineKey (153-1194). The bar is 500 significant lines; this is 474 over it, 1.95\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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f30613e0132b046b30f605da407a95133b69c59d9de4920c8b8f7baac9617d8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PreferencesDialog: ClassTooLong \u2014 774 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 374 over it, 1.94\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":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc01b7b92ef05e87d6649fca42ec2affde7df8afccc3c59fb5514f1584cb8d6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CalloutStep.CalloutStep: FunctionTooLong \u2014 CalloutStep runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\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":"apps/web/src/components/standardsWizard/CalloutStep.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf7db60ebeb98a03a7cdf81e6bb5787c1d90b62a70292a0ec75875847afc603"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bax.escapeXml: FunctionTooLong \u2014 escapeXml runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\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":"packages/markup/src/bax.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bbd6b8dc39874d1bb0d54e7ef05d33006186b77ae9bfdd616f2e06b4c2be5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.assemble: FunctionTooLong \u2014 assemble runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"859ce01ae33dac9e229c7aaf598fa00d48265d5bd4766ef9fecc58c82d1cc37f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/MeasurementsPanel.tsx: FileTooLong \u2014 918 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 418 over it, 1.84\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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b80364a1b40f156f3ad3c044f35825797db4c4abfed0a0ee57d337e7c72b14e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MarkupStore: ClassTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded), 96 methods. The bar is 400 significant lines; this is 333 over it, 1.83\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":"packages/markup/src/store.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d0fa420eef677a52149366e5ebd3bfd1de8849c79f8e44b8a27ba994a4a46e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SemanticComparePanel.SemanticComparePanel: FunctionTooLong \u2014 SemanticComparePanel runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\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":"apps/web/src/components/SemanticComparePanel.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e778c294184a04394bbc6dacfd7b5ddec0428bbc9b97cbb15bf321d13ea1c0b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Project: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"apps/web/src/studio/projects/Project.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"97da38512ff83ebc3c8b00a7dee9eb5024f665f83859a57d62dd1ff0877b57f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ProjectsPanel.tsx: FileTooLong \u2014 897 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 397 over it, 1.79\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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e1e966f9914c4e76c79e03ff01c29ae11433eaa97d85e6a42d48249cc1ab48"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MatchLineStep.MatchLineStep: FunctionTooLong \u2014 MatchLineStep runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"apps/web/src/components/standardsWizard/MatchLineStep.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0a833672d787e9667c1376d695b970a158d13afdaac0a6f461a4195b2c27d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/PropertiesPanel.tsx: FileTooLong \u2014 887 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 387 over it, 1.77\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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a79a7385ae93ba746f218cd9529948c89f5e643b88f51971af4f160801891f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/store.ts: FileTooLong \u2014 884 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: MarkupStore (146-1337). The bar is 500 significant lines; this is 384 over it, 1.77\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":"packages/markup/src/store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d615abf61aab216bb5ff0b84f1c4e5e37b5db743facf5a4ad97e6dd00da6f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PageToolsDialog.PageToolsDialog: FunctionTooLong \u2014 PageToolsDialog runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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":"apps/web/src/components/PageToolsDialog.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d69f980ca87893de15cedb26506ec266224cb69cd7b55ae77f22871aaef74f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StitchPanel.StitchPanel: FunctionTooLong \u2014 StitchPanel runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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":"apps/web/src/components/StitchPanel.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1db875bc262b2f2f24c469fe08367e26ab6e17db9a6e2c8b854335a920aff8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: desktop/assistant.ts: FileTooLong \u2014 873 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 373 over it, 1.75\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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c4faed712e6f1e24c7a95f25674f52c6eb6e6963e1c76580b1e5e3d0efe634"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cad/render.ts: FileTooLong \u2014 871 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 371 over it, 1.74\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":"apps/web/src/cad/render.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaf30f3f2c192b824414e186ce965afe7876130ddaa9dff2898fff7f5b5e45d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Library.Library: FunctionTooLong \u2014 Library runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\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":"apps/web/src/components/Library.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"096c186bfb66dbab077b3e1f46da736e43f62918250808847d99b3cda532f081"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectsPanel.ProjectList: FunctionTooLong \u2014 ProjectList runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f8a454982781120965b056e8999d416010abbab6036be611f2abcb99e86353"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Ribbon: ClassTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 277 over it, 1.69\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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c695ec242a451a5ef993814ab78f95d10080495893161c17c94118d7773019ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SlowDrawingPrompt.SlowDrawingPrompt: FunctionTooLong \u2014 SlowDrawingPrompt runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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":"apps/web/src/components/SlowDrawingPrompt.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e4013f3d556518e7b998d1f0643e210d80cf8af7c8ad1f42e48262fc80771f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: render.drawMarkup: FunctionTooLong \u2014 drawMarkup runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\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":"packages/markup/src/render.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dc21abbc5869bd3c2cac3fd335b14b3fc13227c05a810cc5bf9786b6c48ed8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker.redact: FunctionTooLong \u2014 redact runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb2715da02e93b6fe30fb4c22fcd6d65b328757b08ff2244a452e7325a779f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drive/DriveSession.ts: FileTooLong \u2014 832 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: MISSING_KEY (200-1203). The bar is 500 significant lines; this is 332 over it, 1.66\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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0f4cca46faf57d171ea02f64234dc72d5f62c32f89007e99b568f031a6d136"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/toolchest.ts: FileTooLong \u2014 830 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 330 over it, 1.66\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":"packages/markup/src/toolchest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86857a931d703c6fa7d104b007a51890ae89f608d3c817ee6d0e31a8e914d42f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectsPanel.FileActions: FunctionTooLong \u2014 FileActions runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"725df0c75b7f7a106d2c0f32f406041229e00b423a74a41930aea42b693159fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SignaturesPanel.SignatureDialog: FunctionTooLong \u2014 SignatureDialog runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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":"apps/web/src/components/SignaturesPanel.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a574eb72a17a13041a9ce05deaf01653b4a5ed81526ab35aa1488f9159898e63"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CadBar.CadBar: FunctionTooLong \u2014 CadBar runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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":"apps/web/src/components/CadBar.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f37fa8b22205c27b509de6880d91387fc6e0e0dd0aac4553ad77be476812ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionsPanel.SessionList: FunctionTooLong \u2014 SessionList runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde0b459a7a86f03dc94471ac63f842a634194677c40e4170c5b3849c7df333e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: r2007.copyRun: FunctionTooLong \u2014 copyRun runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":"apps/web/src/cad/dwg/r2007.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f1d97bf0b7bfa210d4a45262097502d4afde759ef34cb8e2e52d18aff8981e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LabelRegionsPanel.LabelRegionsPanel: FunctionTooLong \u2014 LabelRegionsPanel runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":"apps/web/src/components/LabelRegionsPanel.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b5839fb9abeff9d0ec4e86d3a2ee518067684e3759122625739eb4c64bd37e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NewPdfDialog.NewPdfDialog: FunctionTooLong \u2014 NewPdfDialog runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":"apps/web/src/components/NewPdfDialog.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b58698ef7aee9e1762d6d07b3d7e6a86138e50c64b837e041bf5d469cbfaa2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarkupTools.draw: MethodTooLong \u2014 draw runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2379fb65a6afca8fefa4f1ecb7e8a9a5754ebf9ceaf1504893ecb3146e0432"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assistant/message.ts: FileTooLong \u2014 783 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 283 over it, 1.57\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":"apps/desktop/src/assistant/message.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe951a59a6bef0ee836fff8ae2c1a929f2ff3a75abfaf57f0820720728bead33"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarkupTools.pointerUp: MethodTooLong \u2014 pointerUp runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3568}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfe16b0940c012608dd5d08aeed601dccdcadea813f18b4dc2e677edef2c853"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: geometry.baseShape: FunctionTooLong \u2014 baseShape runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"packages/markup/src/geometry.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e18cb11d7d15973da07336cbfb321d39bff4ab66334e637beb10aa9688d3d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarkupTools.pointerMove: MethodTooLong \u2014 pointerMove runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3386}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7c1bd5392986d5670476b98c3cf92b764876c6e69fb836057a822b2696bcb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FontPicker.FontPicker: FunctionTooLong \u2014 FontPicker runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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":"apps/web/src/components/FontPicker.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f69ddafbbb1fa2ed6220e8bbb0576114d9d4f0016512863a2c4ba338f1c9435"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DigitalSignatures.DigitalIdsDialog: FunctionTooLong \u2014 DigitalIdsDialog 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee702a4cea79697038f3c7ec0fdf5415ec006d01dda9ec273553d5e2bec1826d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TakeoffReview.Proposal: FunctionTooLong \u2014 Proposal 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":"apps/web/src/components/TakeoffReview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa8db17fad7edbc5b6a18a4b0c457d32600e39f7d513ec97cfd849eebcb9a0c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TileViewer.draw: MethodTooLong \u2014 draw 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df8856280d9375cc6c0016f8493c2d11f2011330b49dabd5e7f98cad00e5730"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: objects.readTableObject: FunctionTooLong \u2014 readTableObject runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d0a23814350fdf3b631bd8d518b48b47f60dee93fffbca67a336c93f2cfe02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionDialogs.EndSessionDialog: FunctionTooLong \u2014 EndSessionDialog runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"160a9c97f95d7db46172bfe4caaa9daa0f8ba284eb91bec5b775ab7acf9c6ea9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MenuSearch.MenuSearch: FunctionTooLong \u2014 MenuSearch runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\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":"apps/web/src/components/MenuSearch.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b766ca21d75d3f528c7185cce288cefe3b6ed530f43a1cd560dee83b2e9d6ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StampsDialog.StampsDialog: FunctionTooLong \u2014 StampsDialog runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed994130a08586c6b2cf1d7d621e17405fa19aa49ceadf8a5cba3ddb90aecaa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/import.ts: FileTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 219 over it, 1.44\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":"packages/markup/src/import.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9793370dc385b825b1ab0c0a25cfc9dcc22466c7957ffa837c86f19e7fb9e9ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScriptsDialog.ScriptsDialog: FunctionTooLong \u2014 ScriptsDialog runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\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":"apps/web/src/components/ScriptsDialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a205e6890d3cdc6537907dec4d7282f9a7fbe7b5b2484c01fd45ef28eea9fc83"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EraseRegionsPanel.EraseRegionsPanel: FunctionTooLong \u2014 EraseRegionsPanel 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":"apps/web/src/components/EraseRegionsPanel.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"29be0666d757936d55eab7d8b056312cee0ce4e1489c9fa057a1f72be4a3d6fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sessions/SessionDialogs.tsx: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 196 over it, 1.39\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":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"690bb92780a4cb639ae74c7cd43ea373dddbe129a7bae79f05ee32d16a852f4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LinkPreview.PreviewWindow: FunctionTooLong \u2014 PreviewWindow runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1697fee1f2a5df72f9521a325abf5861a0a766f45a9710a55265b5229c138d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSheetSync.useSheetSync: FunctionTooLong \u2014 useSheetSync runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"apps/web/src/sheetsync/useSheetSync.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8307526b6cf574703a99929805904df4afbef27ff0269b6404c71ac5bfaa95"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ExportDialog.tsx: FileTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 177 over it, 1.35\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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ddbffcccf929062492b78a78a8811d9a025fd4230a92785ee6fd5341f5e2c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShortcutsDialog.ShortcutsDialog: FunctionTooLong \u2014 ShortcutsDialog runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ShortcutsDialog.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c707d9bffceaf7c29f2780747b9c1c59e1b15691bb33bb24936c0f5299317eb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ToolBar.tsx: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 168 over it, 1.34\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":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe3978584660b896c9dc38a02056e3c751173711ca0fe0a32a4d241c4de59ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/LayersPanel.tsx: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: pdfKey (154-768). The bar is 500 significant lines; this is 163 over it, 1.33\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":"apps/web/src/components/LayersPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1c552952ae08d0c1c6642c79040138d280b0ac38ec16d8e768e9735e2b9f76"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StampsDialog.StampMenu: FunctionTooLong \u2014 StampMenu runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bdfb5ea1b85ac997ce962f34439c9e329c0439322d5268f7a61836aed3db81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/SessionsPanel.tsx: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 158 over it, 1.32\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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3163bbe0d8bd2ea0292ad0b42721f2ac6b95bb25b5dd91ab9844d7a9c6e02de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ColorMenu.ColorMenu: FunctionTooLong \u2014 ColorMenu 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":"apps/web/src/components/ColorMenu.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccf7da61c4bc66a02c80d24c25d83c324199e3f5fdf9446a0a9d350cfedace9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SpellCheckDialog.SpellCheckDialog: FunctionTooLong \u2014 SpellCheckDialog runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"apps/web/src/components/SpellCheckDialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7907e2bcff64dbb1532b090c1e56a104b5becccc42bde8ff37b61d47386270"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/MenuBar.tsx: FileTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: MenuBar (221-734). The bar is 500 significant lines; this is 142 over it, 1.28\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":"apps/web/src/components/MenuBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"735e41134bdbae31254713bfef50321bd9888b1b57abaac59e5f8c32f7dc7e13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: standardsWizard/StandardsWizard.tsx: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 135 over it, 1.27\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":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ae1453a79eade7d0de5ec6c7324e3cd4048972f998d7ec600e29befed661c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HeaderFooterDialog.HeaderFooterDialog: FunctionTooLong \u2014 HeaderFooterDialog runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.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":"apps/web/src/components/HeaderFooterDialog.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1b325d1297aad18aaaeb6b3227a980fd9dc3610ac43242800ad2524c88330b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drive/onedrive.ts: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 134 over it, 1.27\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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dc1970d0cd422ea9b19a16d5bcec316eb2790c9a4962c5f84b0cc152145de8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DigitalSignatures.SignDialog: FunctionTooLong \u2014 SignDialog runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"89af4519cb736912a3b82dfa4fb0142fa7b66a820a9a523b992be10d3dbe8817"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dxf.readDxf: FunctionTooLong \u2014 readDxf runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"apps/web/src/cad/dxf.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92cb86cae4b4c51d0a8b23509b26bfa0b69655ec6bbacda6fd37660a503e0f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LibraryDialog.LibraryDialog: FunctionTooLong \u2014 LibraryDialog runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.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":"apps/web/src/components/LibraryDialog.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8eafc00216b8b16ddc13863b22e290b41c68a15b714118b4bbdee7023d2e07c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AccessEditor.AccessEditor: FunctionTooLong \u2014 AccessEditor runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.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":"apps/web/src/components/sessions/AccessEditor.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"31742e9d8c0b25c49f59303daa923a98a590e3b052268a553f4520c1f4782f77"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BitReader: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"apps/web/src/cad/dwg/bits.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e7930ec4fbbb584f16076d4f919e74876524f4f6f541f9c655779b0f22697f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OneDrive: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a90998f46e294d63de678bb4ed830f5dde55b49b373795a4e0f759e93bae21f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pdf.writePdf: FunctionTooLong \u2014 writePdf runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"apps/web/src/cad/pdf.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e5ca89efdbe435606701626f6542bd7be3d66ff610ef0ff451801e479e608b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MenuBar: ClassTooLong \u2014 478 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 78 over it, 1.20\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":"apps/web/src/components/MenuBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58ca776dd23c158c98fa7d6af5af3bfc457b8b90267b07456d8944aa846a18a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HyperlinkDialog.HyperlinkDialog: FunctionTooLong \u2014 HyperlinkDialog runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/HyperlinkDialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5191dcf6b4fb440f41751e535d27d9be43951beb3fe603ad98b49126f046864"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: documents/forms.ts: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 93 over it, 1.19\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":"apps/web/src/documents/forms.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14fb77bbabc97437667642ad5278e22d68e29a59761acd34251f2270a8f3e7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TemplatesDialog.TemplatesDialog: FunctionTooLong \u2014 TemplatesDialog runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.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":"apps/web/src/components/TemplatesDialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62ed69bb6e45bc17762dfa0d34bb6675d1e758c2585916708667f133d84db87"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/geometry.ts: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 89 over it, 1.18\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":"packages/markup/src/geometry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cac19f4b913a476b1afa8654d9f254ea885060cf092f689357b4c5e82cb3413"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: objects.hatch: FunctionTooLong \u2014 hatch runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"551853a319d28f1630a41de107e378a2b212cb279060fc563ecd347ad59b2597"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StampsDialog.StampFieldsBuilder: FunctionTooLong \u2014 StampFieldsBuilder runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.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":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"043cad5c0d2da5a314f5fc441e8d895e9fbd2701227a9fd7e4086824b6633ea6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/LineStylesDialog.tsx: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 83 over it, 1.17\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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ab12c12392a5431da9ba330420f40756d7a0bc36f529b8094a93e086b28e9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QuantitiesDialog.QuantitiesDialog: FunctionTooLong \u2014 QuantitiesDialog runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.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":"apps/web/src/components/QuantitiesDialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"235b79ce238aa9c0c222680b364a7b1613e55d75cc34dc7a6e39468e150a80f5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ColumnsDialog: ClassTooLong \u2014 458 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 58 over it, 1.15\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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1906adab5523ca4537fd4457f115d9618db7c50f7209f3be67a3d18d30fa029b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/render.ts: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\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":"packages/markup/src/render.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fe406b561ba4e9c98370f8368adc4daa2128f6f81e77204f984a9336e9c01c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SheetScaleReview.SheetScaleReview: FunctionTooLong \u2014 SheetScaleReview 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":"apps/web/src/components/SheetScaleReview.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cf15e9b883ed8d3e70750ffd52c95e2791bd3818904dbe26e0e1d0405fc6be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: process.recolourContent: FunctionTooLong \u2014 recolourContent 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":"apps/web/src/documents/process.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f14f838c406b9f3821aecb3fe74047ff2d2da0cf3390e2a1e2363836183add"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PdfEngine: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"packages/pdf-core/src/engine.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"387b1243871e6d29f618bef13c46dc0703b80f3e295e8496626240dbc9a36cd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/DigitalSignatures.tsx: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 60 over it, 1.12\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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8889e80686150a509067719a294313c34e10b5baa93ecdfe84ebf4811571f39"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CadConvertDialog.CadConvertDialog: FunctionTooLong \u2014 CadConvertDialog runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"apps/web/src/components/CadConvertDialog.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"30aed1c7778297bd4eb91a20104c71d85ca6585dd7aa475c8afb16cfc4fb863b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PagesPanel.Thumbnail: FunctionTooLong \u2014 Thumbnail runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0eb9ddff4f08b38c4a95d3eb3591be6287e6cd47edb0fc1cda52ddfc7f1a11"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pdfSign.checkSignatures: FunctionTooLong \u2014 checkSignatures runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"2796568b9af230fa2cfc130d649103842b0024852f21848081d70066ac82236e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/appCommands.ts: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 54 over it, 1.11\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":"apps/web/src/commands/appCommands.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b538ccc1fc17f1a49e7add92819a5ae94b0719591ec2d19cc0f375aeb75b223e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: projects/Project.ts: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: Project (118-823). The bar is 500 significant lines; this is 51 over it, 1.10\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":"apps/web/src/studio/projects/Project.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b32167a155dd204c21668b28d5ff2becbc5feda4639a4982765a5712fe2f601"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StandardSettings.StandardSettings: FunctionTooLong \u2014 StandardSettings runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"apps/web/src/components/standardsWizard/StandardSettings.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"76de63d808e7461abda22a539238b2f2ca8224591d9d15a95f55b9f5a277db06"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bax.exportBax: FunctionTooLong \u2014 exportBax runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"packages/markup/src/bax.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"84da89acd4fad8ed6ea57224ebbe896abb77acdc0d38b8a7b7a6d58ee375660d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: objects.multileader: FunctionTooLong \u2014 multileader runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec1050b0ca594a275e98914e283ac8ee2a73ecde4a421417e117180bafa0462"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CameraDialog.CameraDialog: FunctionTooLong \u2014 CameraDialog runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"apps/web/src/components/CameraDialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a198e18b6302282ae0a7ec4a065dcc2b0e86efb97278aa0cbf1c90f87c6c039c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectsPanel.ManageProject: FunctionTooLong \u2014 ManageProject runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccafae3a4485d74ec9873d3e39cfa24027af176559e6fc1b02bef9585fc7d81e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PublishDialog.PublishDialog: FunctionTooLong \u2014 PublishDialog runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"apps/web/src/components/PublishDialog.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce3fbc7d0c4eba49a56dcef1b66753b2c736f1b0a8045b36fb22db5fb398124"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/StampsDialog.tsx: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 over it, 1.06\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":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebafaaf2e24d91aeca7bc335df9b9816e47ad2a37372023ab8093aa54048509c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: documents/pki.ts: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.06\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":"apps/web/src/documents/pki.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc468218c847ede1140bcf976968ac3b893232b0b4de9d8627c6a5757648a7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TextEditor.TextEditor: FunctionTooLong \u2014 TextEditor 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":"apps/web/src/components/TextEditor.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f6932e80d843a66c805d6992ea7cd97a403cf885889a34d36b377eba8f8861"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MeasurementsPanel.MeasurementsPanel: FunctionTooLong \u2014 MeasurementsPanel 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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"d184a61947276e87ab0cc63e847d4b29e63f10d244e7193e813d4edf9c36e025"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pdfa.archiveAsPdfA: FunctionTooLong \u2014 archiveAsPdfA 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":"apps/web/src/documents/pdfa.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"904a2fa3be68154cbdc2df7cae29d04eb85ed41593ce987668801d8b01141fbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/AssembliesDialog.tsx: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: AssembliesDialog (153-596). The bar is 500 significant lines; this is 13 over it, 1.03\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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e723ab866045711bb01a0fe16413aae7da4e655555d71ea6b57984903652f748"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/cad.ts: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 over it, 1.02\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":"packages/markup/src/cad.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7375eeae0a4f8ac2f48499934f6308bb6d421f64f2e905c05b1308b12ab6a81"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InviteDialog.InviteDialog: FunctionTooLong \u2014 InviteDialog runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"apps/web/src/components/sessions/InviteDialog.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba12aa8c78cb659667bd8a69e97a7898208cad457a77e5f7244731bc3367a3b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarkupTools.commitDraft: MethodTooLong \u2014 commitDraft runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4370}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9688eab1f31b9d0cada087254755d2e71cfd838f987fa612f03b3153c5d66c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ColumnsDialog.tsx: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: ColumnsDialog (64-589). The bar is 500 significant lines; this is 3 over it, 1.01\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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4befe9b30f24ab2bb25783077282acb0981da6164b19214ba135c53acecd7c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): scripts/make_stitch_test_pdf.py:99-124 | scripts/make_test_pdf.py:84-121 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/make_stitch_test_pdf.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd093e386805e7ff3b545d0aa927fca6b910b031f35f8951aac96ae99019039d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): scripts/roadset/sheets_cross.py:134-164 | scripts/roadset/sheets_long.py:42-69 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/roadset/sheets_cross.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29938b4dbec02c5cbafda77941d15e8878f2c3fb45e9f83dc8197833bafdf2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): scripts/roadset/titleblock.py:183-191 | scripts/roadset/titleblock.py:216-226 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/roadset/titleblock.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7da205ce938c7bd7d9bb060778fee07adfc77e2217c4b7dd3791678cb1065d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): scripts/roadset/geom.py:197-202 | scripts/roadset/site.py:36-44 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/roadset/geom.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3d81b0417dadf6d2bf58db93f95f884bf74da646a554b196575f19fffd0168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scripts/roadset/sheets_general.py:482-492 | scripts/roadset/sheets_general.py:564-574 \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":"scripts/roadset/sheets_general.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafd053f35f2f7af86c1a0d0f7be2a2bc4e5e6e51d1d982c84f925e9a7d040b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/make_stitch_test_pdf.py:115-120 | scripts/make_test_pdf.py:110-115 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/make_stitch_test_pdf.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"66abfcdb24b9518dd97397b22621fa818fd3364ad992535df82179e3a1287a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): scripts/roadset/sheets_cross.py:139-145 | scripts/roadset/sheets_long.py:45-51 | scripts/roadset/sheets_plan.py:63-69 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060scripts/roadset/sheets_cross.py:146\u0060 calls \u0060pl\u0060 and \u0060scripts/roadset/sheets_plan.py:70\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/roadset/sheets_cross.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"529829f99b6df6bb4b389fcf9c3486aaa36a31941ab91bd81252f3447cc3916a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/help/make_sample.py:195-199 | scripts/help/make_sample.py:207-211 \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":"scripts/help/make_sample.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"36862daca9d15a73fbea6c7244bc5e29a32f76e2a71e78d547458de76f29cb96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/roadset/sheets_long.py:98-103 | scripts/roadset/sheets_long.py:341-346 \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":"scripts/roadset/sheets_long.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d906d5a57532235df029696453d2042e3aab3ee4321c5b20de92f568e96365e5"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @nb/sheets: @nb/sheets: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a3ea32b20b1e7b2a76a5274f0adace88005250fc7c3c4cc49f35502d73cdaa74"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @nb/measure: @nb/measure: abstractness 0.08, instability 0.00, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8919b9eaedcd839020f7f39f263d2f93a680ead4a7a69cadec94497453a25fc1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @nb/pdf-core: @nb/pdf-core: abstractness 0.25, instability 0.00, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"146ed030a7096363fab17602e043b56dfa9b45fad0bcea6890cf92be4647aee3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/detach.spec.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f02482460be478323fbf8b513499308e40b89bf74f19b368bf6797be1424f2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/document.spec.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"200a674b3c48115ae8ffc090745f3f83f955284261449ef9aa0cd1067e861ddf"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/dont-save.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7102aef596e800045b9538c7c8d65694ca2eea529520bb47c507f3c31df868ca"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/fonts.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4416e9c688cc9c22dab4f9dd0de7a5f47bbf11076197c165447bf5ed0f5fb3ec"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/session-review.spec.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f596896ecb102f86715d09329a46334827c10c64d20a308306d3159896c1ccde"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a document with unsaved markups moves with them, still unsaved: 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":"e2e/specs/detach.spec.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"931518542c5e319e3b9f64488669f3848b81f40d4eba4939f0ecead3c50d3960"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: document.bulkInsertPages puts several PDFs after the current page: 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":"e2e/specs/document.spec.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1245cc6f548e3495fc0312687a764af5986e5bd2c2c29e9a7e99c0561c175279"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: document.insertBlank adds pages the size of the current one: 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":"e2e/specs/document.spec.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0dde8e84eeebe913f8d15261e6be956bb7b35b7c66d746cda1da3ab52ebceb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: document.insertBlank: a Letter page at the end: 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":"e2e/specs/document.spec.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"929af1eccab6be6137894e678fbfb655b3aaf5f4b8b984badb9c447fdd27a10b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: document.cropPages crops margins off the current page: 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":"e2e/specs/document.spec.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"38470fb1efbb871cdd70eda6a32319b441f5e40affb9823360c1c185249efb32"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a smaller thumbnail size stacks the thumbnails in more columns: 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":"e2e/specs/document.spec.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9638520731382aa5876d5ee1cb70b3eee79e059564831443e79bd979543af64c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Layers columns resize from their header edges and keep the width: 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":"e2e/specs/layers-panel-resize.spec.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa214f8a3564ed1c415a75df5bcf7328a072043c0634550285ab1cd995c0dc2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a Tool Chest tool is saved back with its edited subject: 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":"e2e/specs/markup-identity.spec.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9f5af0a101f5f583ebc91fcd95e9203bc9cbfbdbdb4c5de353cf3d1fece8c5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: switching a PDF layer off hides the markups on it, and on again shows them: 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":"e2e/specs/pdf-layer-markups.spec.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"632be5fffd581df951ae5224be0108059e60262103f1f6c389aa2d492ed1ad56"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Ctrl\u002BShift\u002BR rotates the page like document.rotatePages: 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":"e2e/specs/shortcuts.spec.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dc285045fdef99636925b9dcdfb0f396f615469cea99ce7a471fb239adb7e7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: page keys move like the page commands: 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":"e2e/specs/shortcuts.spec.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"64818d247582bd7f33a325f9c0b64a2297a1154ee0b7bfa26a49a1fedc216de8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: chainage links: to the cross section at a station, else the plan that covers it; kept once a drawing standard says how: 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":"e2e/specs/view.spec.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"48adf54fc5e3afa3f84cd9d3265bb612f44ac52affab14b3d1cf7fae526bd40a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: full screen: 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":"e2e/specs/view.spec.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c5ef86ca8150fda71d468c072cd7c26f0a4694aefad58499aa94aeb7fc6fe6"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: selection follows the drawing on screen, and one confirmation shows at a time: This test starts work it did not wait for (\u0060second\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 400))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistant.test.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6397834eadd9a2b9538261ba9877ee331cbaf7d74d8abc9d5fde5485f7a2c2"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: calls made while the saved drivers load wait for them: This test starts work it did not wait for (\u0060pending\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((r) =\u003E setTimeout(r, 20))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/token-ipc.test.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cedb803a472cd31fd6cbb1a88be5cd1a90b01a1f2cb1f228dff34766e0e2338"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: boolean: boolean 3.2.0 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.\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":"pnpm-lock.yaml"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"46961dc0ab90eacc8ba1a42729f6d0242c4014a870fe65a3ee139215b82f2401"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 11.1.0 is resolved in pnpm-lock.yaml 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":"pnpm-lock.yaml"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aea5043151b35bb100d36c0729a1ca57c572baa7da27303eacadf44c20a97d"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 7.2.3 is resolved in pnpm-lock.yaml 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":"pnpm-lock.yaml"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"599f5d090855bc7f5321605430a57d469ecd9c495b058b933dead3b3e9599a24"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: inflight: inflight 1.0.6 is resolved in pnpm-lock.yaml 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":"pnpm-lock.yaml"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2184d7a11499e8ddfd4472a972a193f33bf06bb5f3b139fced0662b3309d6b5"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: lodash.isequal: lodash.isequal 4.5.0 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022This package is deprecated. Use require(\u0027node:util\u0027).isDeepStrictEqual 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":"pnpm-lock.yaml"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dee2fd843ecbbdd5869283e5c890f48512ebe0cf0ea5e441ddb3c448ec38c2"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: rimraf: rimraf 2.6.3 is resolved in pnpm-lock.yaml 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":"pnpm-lock.yaml"},"region":{"startLine":2539}}}],"partialFingerprints":{"codehealthFindingId/v1":"d047cf4bcae1d1bc58cf37d2e86dc7f7086f16676cc481e2e19c30d6a8dd1c0b"}},{"ruleId":"D13","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":"6dc8519d6bec6383e5b6432651034a62d5c6a6100852c6e4fd715b0a73bf103a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/App.tsx: apps/web/src/App.tsx changed 217 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 2991 in App.App at line 909. 8 of those changes were fix/bug commits, and the other 209 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/App.tsx\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":"apps/web/src/App.tsx"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d85bf046075fdec7e91ddba29b60f3edae1c36900c2bfffe4ca25d0237d6816"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/markup/MarkupTools.ts: apps/web/src/markup/MarkupTools.ts changed 73 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 249 in MarkupTools.pointerDown at line 2961. 2 of those changes were fix/bug commits, and the other 71 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/markup/MarkupTools.ts\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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0e7e72bc1ac58ec6bc64b29c46868b908b444a5341800c83b6969fc62718f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/commands/appCommands.ts: apps/web/src/commands/appCommands.ts changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 142 in appCommands.buildCommands at line 365. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/commands/appCommands.ts\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":"apps/web/src/commands/appCommands.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"43624bc8dcbf21fb2147a5fd2eee6eb9844bae39856bc325ec2e73f5cdadda89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/export.ts: packages/markup/src/export.ts changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 129 in export.exportWithAnnotations at line 2064. 2 of those changes were fix/bug commits, and the other 51 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/export.ts\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":"packages/markup/src/export.ts"},"region":{"startLine":2064}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b06e1cd5362b8000960a0c0f3aa2dd42ef0eb2ec375d3b5fd7a4f4c1c84048"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/MarkupList.tsx: apps/web/src/components/MarkupList.tsx changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 294 in MarkupList.MarkupList at line 169. 2 of those changes were fix/bug commits, and the other 19 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/MarkupList.tsx\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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"453aaeb8ba31e5e8b400d688cdad933f8b4c445b83d08ebdce642e7e1aa1e9f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/PreferencesDialog.tsx: apps/web/src/components/PreferencesDialog.tsx changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in PreferencesDialog.PreferencesDialog at line 215. 2 of those changes were fix/bug commits, and the other 39 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/PreferencesDialog.tsx\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":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe6317de2238d6bfaf30e5ff4210af428b93c27f82f53b86936c40cdfae87a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/import.ts: packages/markup/src/import.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 182 in import.importAnnotations at line 136. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/import.ts\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":"packages/markup/src/import.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9880de607b928be529f7aaed4d472177ad043e6571eb4c9604b711174f7ed819"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/ToolBar.tsx: apps/web/src/components/ToolBar.tsx changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 89 in ToolBar.StyleControls at line 327. 2 of those changes were fix/bug commits, and the other 29 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/ToolBar.tsx\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":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bee8385d543d755d5d7328523180ed21e07ab32daf6c6df778e8171a8fb81bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/desktop/src/main.ts: apps/desktop/src/main.ts changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 98 in main.start at line 80. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/desktop/src/main.ts\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":"apps/desktop/src/main.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6cf290ce395dfdece6fbff8614689f8bf7b714832aeb63ce03ee9fc811b515"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/geometry.ts: packages/markup/src/geometry.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in geometry.baseShape at line 65. 1 of those changes was a fix/bug commit, and the other 22 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/geometry.ts\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":"packages/markup/src/geometry.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4a6b5b536a3f0968f7d8982bfaac0776fc5d7c5534c3e904ea0ce1663cb3ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/render.ts: packages/markup/src/render.ts changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in render.drawMarkup at line 358. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/render.ts\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":"packages/markup/src/render.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfded5c604b09ece086ba2acbbc703a4c35bb995954cc2205ce2577c3aba26d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/PropertiesPanel.tsx: apps/web/src/components/PropertiesPanel.tsx changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in PropertiesPanel.PropertiesPanel at line 63. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/PropertiesPanel.tsx\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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"46538eff2b1cd48d113adde64d3fb0ade072c838889a9381fcf3a3d31aba50f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/SessionsPanel.tsx: apps/web/src/components/SessionsPanel.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 104 in SessionsPanel.InSession at line 352. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/SessionsPanel.tsx\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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c403d6f08723008633fcfefc3bc035929f844f8b47e0a32cae769877ef75905"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/MenuBar.tsx: apps/web/src/components/MenuBar.tsx changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in MenuBar.MenuBar at line 221. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/MenuBar.tsx\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":"apps/web/src/components/MenuBar.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d672df06dd57aaa2791e5c73e746271874a868303888e42258ce0b88a680d703"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/Ribbon.tsx: apps/web/src/components/Ribbon.tsx changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in Ribbon.Ribbon at line 607. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/Ribbon.tsx\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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daee2709cebe31a207a56fc13514e7c9d3c35e0b1272eab2da73f24cd71b259"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/pdf-core/src/worker.ts: packages/pdf-core/src/worker.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in worker.redact at line 1041. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/pdf-core/src/worker.ts\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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d766b19b2b747c9a3876a60b4b5b6cb09bd60fa38a3ae1c0bcef8c0b84fb9a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/store.ts: packages/markup/src/store.ts changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in store.describeChange at line 1340. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/store.ts\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":"packages/markup/src/store.ts"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0443e67cf7505560ca7b11e26dd833b966a0b0af877037173c067920f026e76e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/ProjectsPanel.tsx: apps/web/src/components/ProjectsPanel.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in ProjectsPanel.FileActions at line 759. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/ProjectsPanel.tsx\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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c7eff2e17e136d0c70cfc1b01acf84ae4da8f543fd2c09095f3f140437f611"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/toolchest.ts: packages/markup/src/toolchest.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in toolchest.parseBtx at line 268. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/toolchest.ts\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":"packages/markup/src/toolchest.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ead2d2bd8e9a9966d04db06ceadfeaa242aabe78859a4a2ca46b070957638bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/viewer/TileViewer.ts: apps/web/src/viewer/TileViewer.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in TileViewer.draw at line 1054. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/viewer/TileViewer.ts\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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c193b6d26ce08fe29efdffbf8f1e4459bfe7449a6e2cca7671f54c94d11873"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/PagesPanel.tsx: apps/web/src/components/PagesPanel.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in PagesPanel.PagesPanel at line 390. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/PagesPanel.tsx\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":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bafcfd11a722d1107aef7ef033a1ccd1ef6522cce81b2cf698174bdb1a6e2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/columns/listColumns.ts: apps/web/src/columns/listColumns.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in listColumns.cellsFor at line 186. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/columns/listColumns.ts\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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ec00aafd497adc94375e059b6c1adc198986837bd2f5ab1142c33d3fecff21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/BatchDialog.tsx: apps/web/src/components/BatchDialog.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in BatchDialog.BatchDialog at line 142. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/BatchDialog.tsx\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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc44f187afc2427d0ec0bde8733962da2a6b0a71a91d91b7f089590f1925dd0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/bluebeam.ts: packages/markup/src/bluebeam.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in bluebeam.parseDefaultStyle at line 134. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/bluebeam.ts\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":"packages/markup/src/bluebeam.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d7f19b41160613fdf0d9cd307ffa24bc93c4e7febed0ada5883a631da50620"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/DigitalSignatures.tsx: apps/web/src/components/DigitalSignatures.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in DigitalSignatures.DigitalSignaturesSection at line 52. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/DigitalSignatures.tsx\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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9804cdb4559a5d39390b9f4de1da55910c0f5f18c6e1f14fceeca7baf2f6c8a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/studio/drive/DriveSession.ts: apps/web/src/studio/drive/DriveSession.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in DriveSession.update at line 1019. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/studio/drive/DriveSession.ts\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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"69243c42eb11f73587c7b3b2e5bf46e662894d592a045c3227401605e305684b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/sheets/src/links.ts: packages/sheets/src/links.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in links.detectLinks at line 331. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/sheets/src/links.ts\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":"packages/sheets/src/links.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd6539ff5da707a690846b8e8ec1078457ab4c2665786b1d8e4b0e7ab3468a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/documents/pdfSign.ts: apps/web/src/documents/pdfSign.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in pdfSign.checkSignatures at line 394. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/documents/pdfSign.ts\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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bdbd1dd8e60f3e465d0444d8be277eb163b20300a7938c92a2a04e57640d50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/markup/cadTools.ts: apps/web/src/markup/cadTools.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in cadTools.cadClick at line 314. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/markup/cadTools.ts\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":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb30639d2265e13121cf9f437fe44a085a010fb27a83aa329f06a07e11eab3d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/sheets/indexer.ts: apps/web/src/sheets/indexer.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in indexer.readPdfAnnotations at line 259. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/sheets/indexer.ts\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":"apps/web/src/sheets/indexer.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"678746fbfa5af8172b88446a23f8489fa4278700c0389e53cf7c9b014099edb6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/sessions/SessionDialogs.tsx: apps/web/src/components/sessions/SessionDialogs.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in SessionDialogs.StartSessionDialog at line 95. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/sessions/SessionDialogs.tsx\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":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b764130430554e3f8d919db8e50f8cd53ca53b70f6ed923224529d8b61975cf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/ToolChest.tsx: apps/web/src/components/ToolChest.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in ToolChest.ToolChestPanel at line 194. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/ToolChest.tsx\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":"apps/web/src/components/ToolChest.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9daf0ebea532e384fa154270e04e6a886014caee4eeef30a1acfc4ad1295b03"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/standardsWizard/StandardsWizard.tsx: apps/web/src/components/standardsWizard/StandardsWizard.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 92 in StandardsWizard.StandardsWizard at line 80. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/standardsWizard/StandardsWizard.tsx\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":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bf7f4c5b242daf8e6e8d0fa9bf5210fabe60a458a0e2db32b503b475ea9284"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/studio/drive/onedrive.ts: apps/web/src/studio/drive/onedrive.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in OneDrive.shareWithLink at line 866. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/studio/drive/onedrive.ts\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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0fc7f88848b295e8d863799c0604b4b9ce94c7b32998067a1a837b155c1978"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/documents/ltv.ts: apps/web/src/documents/ltv.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 90 in ltv.oneValidationUpdate at line 482. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/documents/ltv.ts\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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"a650d3325b7570146b7b82c54ac5753a6ac90ae159706094716304059fe7f357"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/desktop/assistant.ts: apps/web/src/desktop/assistant.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in assistant.assistantCall at line 1162. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/desktop/assistant.ts\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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d35767d7817bd284488a3b8e047bc1acb63f62831499f650b71cd31378c4208"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/TextEditor.tsx: apps/web/src/components/TextEditor.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in TextEditor.TextEditor at line 83. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/TextEditor.tsx\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":"apps/web/src/components/TextEditor.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2382517577ce1481e481c7a5bf3e643e76d2e4d29e15510e740d2fc79d594c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/SearchPanel.tsx: apps/web/src/components/SearchPanel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 121 in SearchPanel.SearchPanel at line 122. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/SearchPanel.tsx\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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9e69398b555362366dee21607103d7a19f7e6bdc4e11744a114eb89bd771f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/documents/pki.ts: apps/web/src/documents/pki.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in pki.crlStatus at line 685. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/documents/pki.ts\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":"apps/web/src/documents/pki.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bede3b4ea96ed1c3f6920dda1a60e5c2c529691a1664d5361c965b538a0cbc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/ColumnsDialog.tsx: apps/web/src/components/ColumnsDialog.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in ColumnsDialog.ColumnsDialog at line 64. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/ColumnsDialog.tsx\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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76299f79c48d60af8d6e9fd4adfc919df0a001f04c23ff99e4c33b53e12ff2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/AssembliesDialog.tsx: apps/web/src/components/AssembliesDialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 115 in AssembliesDialog.AssembliesDialog at line 153. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/AssembliesDialog.tsx\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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0072bbbbdf5835755f6db1b73bef36012aa449b250d64a7cee02badca57d08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/sheets/src/detect.ts: packages/sheets/src/detect.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in detect.candidatesFor at line 171. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/sheets/src/detect.ts\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":"packages/sheets/src/detect.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcc2611cb7a6ffcc46efa5d8dcd82001577b35c0ca4a81930583d5b35d9b5ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/sheets/marks.ts: apps/web/src/sheets/marks.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in marks.marksToLinks at line 447. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/sheets/marks.ts\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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecf22a603e53582866c46a39ea8dd67711f75f82c664405fba7ca7a8b228626"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/revuWrite.ts: packages/markup/src/revuWrite.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in revuWrite.writeBtx at line 535. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/revuWrite.ts\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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"68be2a160e2b1aac4b9e9e3d2db59d94b85c0369c7dff5bad296beff6aae3177"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/StatusBar.tsx: apps/web/src/components/StatusBar.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in StatusBar.StatusBar at line 83. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/StatusBar.tsx\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":"apps/web/src/components/StatusBar.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7bd32c13741ef259ae68564de4a3e0a0c931801cd504d905d34313fa71d8c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/MeasurementsPanel.tsx: apps/web/src/components/MeasurementsPanel.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in MeasurementsPanel.AssemblyPicker at line 735. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/MeasurementsPanel.tsx\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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"6069f56467968ddfad508548e16096d926ffc91bc8ea0993455418db46272629"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/PageNav.tsx: apps/web/src/components/PageNav.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 90 in PageNav.PageNav at line 68. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/PageNav.tsx\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":"apps/web/src/components/PageNav.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cfdeb9ff5884e1f7bc61973df5830e863a516b7d302672deb46eadfab98608"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/sheets/src/chainage.ts: packages/sheets/src/chainage.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in chainage.chainageReport at line 472. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/sheets/src/chainage.ts\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":"packages/sheets/src/chainage.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d1766a91a06289aff159da4713b33d387c5ae2e5e0e60aa0f0a0455864be14"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/sheets/standards.ts: apps/web/src/sheets/standards.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in standards.parseStandardFile at line 296. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/sheets/standards.ts\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":"apps/web/src/sheets/standards.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeac671b56676cbc0dfb5a2b06c6e8be000613698b14d27e564d0eeabf85deb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/standardsWizard/CalloutStep.tsx: apps/web/src/components/standardsWizard/CalloutStep.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in CalloutStep.CalloutStep at line 80. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/standardsWizard/CalloutStep.tsx\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":"apps/web/src/components/standardsWizard/CalloutStep.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cf83477bd5ba0fabaa9466135625d2d19d26a88fbf2614d07eb9f42bc771c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/cad/dwg/objects.ts: apps/web/src/cad/dwg/objects.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 98 in objects.entityData at line 316. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/cad/dwg/objects.ts\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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed6de996318f532e91e3efa4129ef42fada17fe8fd1c00b8eaf66305631700c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/ProfilesDialog.tsx: apps/web/src/components/ProfilesDialog.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ProfilesDialog.ProfilesDialog at line 101. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/ProfilesDialog.tsx\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":"apps/web/src/components/ProfilesDialog.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d10bb3723049993d00cd8b2cb01de792949a9b4a092e2c944f5810961505c69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/ContextMenu.tsx: apps/web/src/components/ContextMenu.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ContextMenu.MenuList at line 44. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/ContextMenu.tsx\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":"apps/web/src/components/ContextMenu.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf7cffd092c72d561af3f2ac02ff0973d1f9e55b92fa086339c464fd89cc9b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/pdfExtras.ts: packages/markup/src/pdfExtras.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in pdfExtras.readPdfExtras at line 17. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/pdfExtras.ts\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":"packages/markup/src/pdfExtras.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d785154ee2d492cf6ffb806e6863558c1bf316fb6bdf4cbf30972448f86bea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/storage/sets.ts: apps/web/src/storage/sets.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in sets.setSheets at line 250. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/storage/sets.ts\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":"apps/web/src/storage/sets.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"60796b25bbe124e123d8564dd09abcdec91b2963e9a1874dc35440ce138445b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/measure/src/snap.ts: packages/measure/src/snap.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in SnapIndex.snap at line 227. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/measure/src/snap.ts\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":"packages/measure/src/snap.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7be74a1338c07a071f00e044d2c87f7d8dee8c7ce9f8245ea03dc6b1c47e1ea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/StampsDialog.tsx: apps/web/src/components/StampsDialog.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in StampsDialog.StampMenu at line 486. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/StampsDialog.tsx\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":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e5cc4f63b7acfe9ca42f01fdcf975bce5281b88a5f6466d41afdc932e9a794"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/LayersPanel.tsx: apps/web/src/components/LayersPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in LayersPanel.LayersPanel at line 161. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/LayersPanel.tsx\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":"apps/web/src/components/LayersPanel.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"928678dcd4c3f7b4f27f6814e61f21b1b672f137fe30adddedbc854776494f33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/cad.ts: packages/markup/src/cad.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in cad.transformMarkup at line 626. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/cad.ts\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":"packages/markup/src/cad.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"06948ea483c44040bd78af726d5d2233500e2870ce7212c378ad94e93d0cb415"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/cad/render.ts: apps/web/src/cad/render.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in render.renderEntity at line 348. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/cad/render.ts\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":"apps/web/src/cad/render.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f176db5a36fc26f6f9eac9fd0c1c05b1ebe96676e707d9b950978d7e01ca8bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/SketchBar.tsx: apps/web/src/components/SketchBar.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in SketchBar.SketchBar at line 25. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/SketchBar.tsx\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":"apps/web/src/components/SketchBar.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d18d2100e4cccf80bb90e54df4eb4d291d7831f0f340dfbe4841c9ba8cdfb7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/cad/dxf.ts: apps/web/src/cad/dxf.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in dxf.readDxf at line 114. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/cad/dxf.ts\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":"apps/web/src/cad/dxf.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a736793b37be0240028a5d29c6377ba0e6e8947705484eb60bf368f7a1c8bc2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/BookmarksPanel.tsx: apps/web/src/components/BookmarksPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in BookmarksPanel.BookmarksPanel at line 53. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/BookmarksPanel.tsx\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":"apps/web/src/components/BookmarksPanel.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98bfbf22ad3ef84c195bf7ceb82dde756fb4b5d63136f63996c587988b4ea12"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/CadBar.tsx: apps/web/src/components/CadBar.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in CadBar.CadBar at line 28. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/CadBar.tsx\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":"apps/web/src/components/CadBar.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cfa03c85712ff5ee1ed583165ae13d929cfbf422dc9292f4135d6c51c967d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/cad/convert.ts: apps/web/src/cad/convert.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in convert.convertCad at line 83. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/cad/convert.ts\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":"apps/web/src/cad/convert.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7eb25a5ea836706c388f5f8e094ba08fd5eb526804d41c1fe782b325e6863c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/xfdf.ts: packages/markup/src/xfdf.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in xfdf.markupsFromXfdf at line 250. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/xfdf.ts\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":"packages/markup/src/xfdf.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e6ece14a86b30de2101a5c20731a3a1011832cde584d8b1c10fa721c1071e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/standardsWizard/SheetView.tsx: apps/web/src/components/standardsWizard/SheetView.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in SheetView.SheetView at line 54. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/standardsWizard/SheetView.tsx\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":"apps/web/src/components/standardsWizard/SheetView.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5927be477bb446eabe6488bc45bb73f8af7f061c1a0e11949e94346eeb6c23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/LinksPanel.tsx: apps/web/src/components/LinksPanel.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in LinksPanel.LinksPanel at line 33. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/LinksPanel.tsx\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":"apps/web/src/components/LinksPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"470fae7642cd8d37c730a5cbc063782889789a3b17b3cd8b811d4ae94b83d8ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/ColorMenu.tsx: apps/web/src/components/ColorMenu.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ColorMenu.ColorMenu at line 43. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/ColorMenu.tsx\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":"apps/web/src/components/ColorMenu.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bf2b2d50fa8d94ba5ca8f1d46b97f5de551bbf3a42347234165a01a6eafe54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/LinkPreview.tsx: apps/web/src/components/LinkPreview.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in LinkPreview.PreviewWindow at line 84. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/LinkPreview.tsx\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":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a9cd26f89d9a0219369cd78c42e01751b3a235ba8355e04fcfb6fcd3bcc770"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/desktop/src/paths.ts: apps/desktop/src/paths.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in paths.registerPathIpc at line 64. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/desktop/src/paths.ts\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":"apps/desktop/src/paths.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d15aa8bc2ec967cd08f55e0d00a6f7a5556b34dad468ec30973f10361fe9b1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/ShortcutsDialog.tsx: apps/web/src/components/ShortcutsDialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ShortcutsDialog.ShortcutsDialog at line 22. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/ShortcutsDialog.tsx\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":"apps/web/src/components/ShortcutsDialog.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6febde70cc047c50969e53e7e01568f5cde533be4ffc7a9744fd3d000ea014e2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/LabelRegionsPanel.tsx: apps/web/src/components/LabelRegionsPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in LabelRegionsPanel.LabelRegionsPanel at line 40. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/LabelRegionsPanel.tsx\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":"apps/web/src/components/LabelRegionsPanel.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecc0b2042ca7198598387076bbc1bb6712b704681466237ce80a73270093929"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/OfflinePrefs.tsx: apps/web/src/components/OfflinePrefs.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in OfflinePrefs.OfflinePrefs at line 12. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/OfflinePrefs.tsx\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":"apps/web/src/components/OfflinePrefs.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1ad03b3dd2817ee03bb40627fdd8aa708f764475daf30fbdab34951e04e795"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/assemblies.ts: packages/markup/src/assemblies.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in assemblies.sanitizeAssemblies at line 65. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/assemblies.ts\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":"packages/markup/src/assemblies.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f22294fb8546c4e576bff11bdced9f6b09d8a33e651b2581fa98d3a11f10b9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/cad/pdf.ts: apps/web/src/cad/pdf.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in pdf.writePdf at line 64. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/cad/pdf.ts\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":"apps/web/src/cad/pdf.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf6b5172e0fffd0191ac73a83fb58067f4b76dc02e2d0843408c96d9b133b1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/toolchest/revuLibraries.ts: apps/web/src/toolchest/revuLibraries.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in revuLibraries.importRevuFiles 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/toolchest/revuLibraries.ts\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":"apps/web/src/toolchest/revuLibraries.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa25b757fe0d67452b0445ab80c1b0750b59cdb73cb2710560393e3ce815893"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/toolchest/toolSets.ts: apps/web/src/toolchest/toolSets.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in toolSets.fromRevu at line 9. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/toolchest/toolSets.ts\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":"apps/web/src/toolchest/toolSets.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e998f5a57512a9004042c99356e41e8dc827f313475902169742f560c2c8252d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/CalibrateDialog.tsx: apps/web/src/components/CalibrateDialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CalibrateDialog.CalibrateDialog at line 23. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/CalibrateDialog.tsx\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":"apps/web/src/components/CalibrateDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b187de8ea7ef70e87375b7957e6929e2d5fd3e3b31551622c9d2ba0fee91c45b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/documents/process.ts: apps/web/src/documents/process.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in process.flattenAnnotations at line 49. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/documents/process.ts\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":"apps/web/src/documents/process.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b55c74f0b2465c8f01d846d3a6a7aa8e2fc3a5ed09933c251672f9fcb92367"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/PictureColoursDialog.tsx: apps/web/src/components/PictureColoursDialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in PictureColoursDialog.PictureColoursDialog at line 36. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/PictureColoursDialog.tsx\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":"apps/web/src/components/PictureColoursDialog.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"281b573a6a6d77e5b46e607c01b7c3766572419edeb180dff4459bd858a40c54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/sessions/InviteDialog.tsx: apps/web/src/components/sessions/InviteDialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in InviteDialog.InviteDialog at line 12. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/sessions/InviteDialog.tsx\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":"apps/web/src/components/sessions/InviteDialog.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f882483786f0190823abb3a3e202f5b0427add08fffd99ad0c95fc5a345d4f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/markup/src/callout.ts: packages/markup/src/callout.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in callout.calloutLanding at line 11. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- packages/markup/src/callout.ts\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":"packages/markup/src/callout.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a847eb3217044bf9908201d27b360605bcc9864cfa0768a1ab82467057cd89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/CompareResultsPanel.tsx: apps/web/src/components/CompareResultsPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in CompareResultsPanel.CompareResultsPanel at line 37. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/CompareResultsPanel.tsx\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":"apps/web/src/components/CompareResultsPanel.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fac48857517d5d32b01a23cd73cbd10fcb6971ceb7620cacb8f7e4e4823d040"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/web/src/components/LineStyleSelect.tsx: apps/web/src/components/LineStyleSelect.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in LineStyleSelect.LineStyleSelect at line 21. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:39:50 \u002B11:00\u0027 --until=\u00272026-11-16 21:39:50 \u002B11:00\u0027 --full-history --no-merges -- apps/web/src/components/LineStyleSelect.tsx\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":"apps/web/src/components/LineStyleSelect.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ba4a6ad923bda45f23acefbe42965e70afec324d1eac4380cc874c74511071"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060toJSON\u0060 spells \u0060JSON\u0060 where 13 names in the project spell it \u0060Json\u0060: 13 of 14 names in project redcolumn spell the token \u0060Json\u0060 (13 of 14; unit: names in project redcolumn containing \u0060Json\u0060). Peers: Props.onExportJson (apps/web/src/components/AssembliesDialog.tsx:27); geojson.parseGeoJson (apps/web/src/geospatial/geojson.ts:9); pack.tradePackToJson (apps/web/src/library/pack.ts:164); keys.sealedJsonBytes (apps/web/src/studio/crypto/keys.ts:100); SessionCrypto.sealJson (apps/web/src/studio/crypto/sessionCrypto.ts:156). Rename to \u0060toJson\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/allowlist.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1b862728aa6a3bde3a96bb4a62735b0058f3b09a08fafbefb41c584c0bc577"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060AppendToCurrentPDF\u0060 spells \u0060PDF\u0060 where 49 names in the project spell it \u0060Pdf\u0060: 49 of 50 names in project redcolumn spell the token \u0060Pdf\u0060 (49 of 50; unit: names in project redcolumn containing \u0060Pdf\u0060). Peers: pdf.writePdf (apps/web/src/cad/pdf.ts:64); CommandActions.newPdf (apps/web/src/commands/appCommands.ts:51); CommandActions.importMarkupsFromPdf (apps/web/src/commands/appCommands.ts:64); CommandActions.archivePdfA (apps/web/src/commands/appCommands.ts:181); LayersPanelProps.hiddenPdf (apps/web/src/components/LayersPanel.tsx:140). Rename to \u0060AppendToCurrentPdf\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/summary/bcf.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c4c2d0ba1735abb48540778ea951fd4367fa0f66dd6d9105371c9e5bc8fdf1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060IncludeIDColumn\u0060 spells \u0060ID\u0060 where 381 names in the project spell it \u0060Id\u0060: 381 of 382 names in project redcolumn spell the token \u0060Id\u0060 (381 of 382; unit: names in project redcolumn containing \u0060Id\u0060). Peers: SavedAuth.clientId (apps/desktop/src/auth.ts:17); auth.readSaved(clientId) (apps/desktop/src/auth.ts:52); DesktopAuth.microsoftAccount(clientId) (apps/desktop/src/auth.ts:93); DesktopAuth.microsoft(clientId) (apps/desktop/src/auth.ts:99); DesktopAuth.refreshMicrosoft(clientId) (apps/desktop/src/auth.ts:151). Rename to \u0060IncludeIdColumn\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/summary/bcf.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c1c384d10b8f775c494f0bc8e876d8fe9fbc5a0e271ecd3e436f2be29b3c38"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Bookmarks \u203A Action\u2026: the bookmark whose action is being set.\u0022 repeats the code it sits on: 4 of its 4 words (bookmarks, action, bookmark, set) are already in \u0060const [bookmarkAction, setBookmarkAction] = useState\u003Cstring | null\u003E(null);\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":"apps/web/src/App.tsx"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a0b014ada26d3b675251b7a108fb788a2d995b46384346de446aa47a80e93a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Bulk apply page scale.\u0022 repeats the code it sits on: 4 of its 4 words (bulk, apply, page, scale) are already in \u0060await h.run(\u0027Document\u0027, \u0027Bulk Apply Page Scale\u2026\u0027);\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":"scripts/help/sections/05-measure.cjs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efdcde3519dd1923c2938859f8f9587a24eed26a654005bd4a251878cb99424"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Tool set options.\u0022 repeats the code it sits on: 3 of its 3 words (tool, set, options) are already in \u0060const opts = page.locator(\u0027.panel.left button[title=\u0022Tool set options\u0022]\u0027).nth(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":"scripts/help/sections/07-tool-library.cjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9aba166e51053eb3c2a2dc2679d05337a86f74c90c348510d6dd502e2d6d57d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022New set and import buttons.\u0022 repeats the code it sits on: 4 of its 4 words (new, set, import, buttons) are already in \u0060await h.mark([page.locator(\u0027.panel.left button[title=\u0022Create a new tool set\u0022]\u0027), page.locator(\u0027.panel.left [title^=\u0022Impo \u2026\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":"scripts/help/sections/07-tool-library.cjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d910d3ee1f776830ddc52bb0dbd33787a3500f5091171f6815f07c40a4a948"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Page labels from a region.\u0022 repeats the code it sits on: 3 of its 3 words (page, labels, region) are already in \u0060await h.run(\u0027Document\u0027, \u0027Page Labels\u0027, \u0027From Page Region\u2026\u0027);\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":"scripts/help/sections/08-pages-documents.cjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fb334623f7e3b0fc3ad3409171731f46bdad29fafadc8c0ebb69d083677afa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022PDF content editing.\u0022 repeats the code it sits on: 3 of its 3 words (pdf, content, editing) are already in \u0060await h.menu(\u0027Edit\u0027, \u0027PDF Content\u0027);\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":"scripts/help/sections/08-pages-documents.cjs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d71d41b3bda1e00d4c9e7043e87079df696f6582e18e7d48c453eb324630a1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Auto-create fields.\u0022 repeats the code it sits on: 3 of its 3 words (auto, create, fields) are already in \u0060await h.run(\u0027Tools\u0027, \u0027Form\u0027, \u0027Auto-Create Fields\u2026\u0027);\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":"scripts/help/sections/10-forms-signatures.cjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d685250b9d94adaca67106fd473c93fba781adbddb6abc5f1e3791111065e2f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060apps/web\u0060 (96629 LoC, 947 module-visible types across 47 directories) overshoots its size bounds. 2 of 8 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 5.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb99b883f52b14458c8e7af26003f99be169b642d34957473e4c4318c5e432a"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060packages/markup\u0060 (17785 LoC, 210 module-visible types across 1 directories) overshoots its size bounds. 2 of 8 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 5.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c9db6b1dc00ff2864da70b4f0a423354514f9eebae6280682cc9be964f865d"}},{"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":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"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":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"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":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"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":"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":"b2c9444628e41f761e5866eb3bda19c4445ee5f621c33ec0021af21db5258a35"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"73f180f7c37f5451c457d3313150fa01e44c1e674225d83da7a30bfe955434d1"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d260b1fc17d6c87a50a9c56c17851b0cbcfbe11362ae9d69401de483b276a77a"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"65b35c0be65c51b97f8bd87b2ce2ce9692aa4b00e0f19d746ef60daa2d97d46e"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"fc57b5c4a5e400b20612e3fe007435e447a76c77be33c866e9968c635f1b9b92"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"64e54551218b32200e7588c3598e10be335a431b5b88c56102b3cbbd4e6441ea"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"82df11a1019f02f656eaf8babef83f1b2df1650b5ac2c5d197e349580467ec1f"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"5e3fafd07fe848848949090e7d719a87bb5585285b545e6385c2938bf4aad1f1"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"5956cd200c595380c10c7ef62c15e6841006935e95d264885e58c5ba44477320"},"properties":{"dependency":{"package":"electron","version":"44.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"44.9.1","relation":"direct","declaredRange":"^44.7.0","reachability":{"kind":"production","file":"apps/desktop/src/assistant/page.ts","line":1}}}},{"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":"0bf997523edcbfd004b0e48079d2d03fc36b5b8058c165442d7b3299bf52fe16"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"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":"7c565aa901d08ebbef1b5d6acfd59209e9de4f26ed369813e0584f90d99bd2ab"},"properties":{"dependency":{"package":"undici","version":"6.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.29.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"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":"781527acf0fea0a0aaa24d4277461c99b41178a4f477ac6d4c258837b94afcb4"},"properties":{"dependency":{"package":"undici","version":"7.30.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.30.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"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":"7713653c1cd2e524df06e4e81d883565ceb6482ea97f6eea94f00d39b4a4d989"},"properties":{"dependency":{"package":"vite","version":"8.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.3.3","relation":"direct","declaredRange":"^8.3.0","reachability":{"kind":"test-or-tooling","file":"apps/web/vite.config.ts","line":5}}}},{"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":"efbda114bddac0c8eaaef9cb588e96e001c33455c95ab78188b98393e539b3f0"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"3.1.9","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea7e5354ab7cfc90dd177dde60810f39ea3e10b3fe5c807ca0b2b906b7004ac5"},"properties":{"dependency":{"package":"glob","version":"11.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3bac0b956cc7625db5ffaa04443fc36030c2af44043a6f2dfd365abaf694f40"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f0e25f5043cf62eebe19b8bc6c5720079d3f23e4fd644df5f6587f0c96e9743"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3df57b1bb42fa2904f3e65d989eb3dcf3902c2ea8f4ccb22997451c97123550"},"properties":{"dependency":{"package":"node-forge","version":"1.4.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.4.3","relation":"direct","declaredRange":"^1.4.2","reachability":{"kind":"production","file":"apps/web/src/documents/digitalIds.ts","line":1}}}},{"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":"e1fdc1120ed4f755838a01426710b4042e10437e0aee990ee3031b7b7f587d1b"},"properties":{"dependency":{"package":"serialize-javascript","version":"7.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"low","fixedVersion":"7.1.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: message.ts \u2194 assistant.ts: \u0060apps/desktop/src/assistant/message.ts\u0060 and \u0060apps/web/src/desktop/assistant.ts\u0060 change together 100% of the time (11 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 \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00606f91172c\u0060 MCP auto count: find_symbol_matches, propose_counts, list_count_propo\u2026; \u00605f22edcd\u0060 Scale checks, viewports from view titles, and AI scale tools (phase 0\u2026; \u006061a17e7d\u0060 Add AI Compare: semantic document comparison through the local assistant \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/assistant/message.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a80980c55ddb93ebd1889634cc0fb4cb3c1fe06f498d977a54ed5d558ba7c31"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: App.tsx \u2192 message.ts, main.ts, preload.ts, toc.js: \u0060apps/web/src/App.tsx\u0060 changes together with 4 other files \u2014 \u0060apps/desktop/src/assistant/message.ts\u0060, \u0060apps/desktop/src/main.ts\u0060, \u0060apps/desktop/src/preload.ts\u0060, \u0060apps/web/public/help/toc.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0b1918ccdc0a049c15ff692e3c8cafb1a0ef198b87e68608edbfdfb8c2fa3c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: preload.ts \u2194 host.ts: \u0060apps/desktop/src/preload.ts\u0060 and \u0060apps/web/src/desktop/host.ts\u0060 change together 89% of the time (16 of the 18 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 \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u006007ff62c2\u0060 Revu migration wizard, Revu keyboard import and preset, landing page \u2026; \u0060784b3db5\u0060 Takeoff reports: quantity, assembly, sheet, detail and count reports \u2026; \u006009617429\u0060 Use installed fonts in markups, embedded in exported PDFs (#273) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/preload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f397ee5c82c39fceb671793f0a7d799bcf1dff85efa7d7d25bd2cdde5ae8671e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: export.ts \u2194 import.ts: \u0060packages/markup/src/export.ts\u0060 and \u0060packages/markup/src/import.ts\u0060 change together 81% of the time (17 of the 21 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 17 shared commits counted here, the most recent 3 are \u006074441ece\u0060 Import: Bluebeam rotated text boxes keep their rotation (#309) (#330); \u006009617429\u0060 Use installed fonts in markups, embedded in exported PDFs (#273); \u006010a7524e\u0060 Blend modes for images, shapes and lines (#260) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/export.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11306d2f4850347339735da8b63633b2f954603bf3ae39f465f9fdf3c807ed1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: toc.js \u2194 MenuBar.tsx: \u0060apps/web/public/help/toc.js\u0060 and \u0060apps/web/src/components/MenuBar.tsx\u0060 change together 75% of the time (9 of the 12 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 \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u006007ff62c2\u0060 Revu migration wizard, Revu keyboard import and preset, landing page \u2026; \u0060784b3db5\u0060 Takeoff reports: quantity, assembly, sheet, detail and count reports \u2026; \u00602d705dd6\u0060 Sloped measurements: pitch, rise:run, elevations, hips and valleys (#\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/public/help/toc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46e11a309c87a44872043a75aa37077de1cdfcf73b6dafa9b701dd5a3b57d57"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: toc.js \u2194 appCommands.ts: \u0060apps/web/public/help/toc.js\u0060 and \u0060apps/web/src/commands/appCommands.ts\u0060 change together 67% of the time (8 of the 12 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 \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006007ff62c2\u0060 Revu migration wizard, Revu keyboard import and preset, landing page \u2026; \u0060784b3db5\u0060 Takeoff reports: quantity, assembly, sheet, detail and count reports \u2026; \u00602d705dd6\u0060 Sloped measurements: pitch, rise:run, elevations, hips and valleys (#\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/public/help/toc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"325b01ba6a6c7e9acb750b278a7e56336239b50a39d0703d1cc85c66b6789e01"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bluebeam.ts \u2194 render.ts: \u0060packages/markup/src/bluebeam.ts\u0060 and \u0060packages/markup/src/render.ts\u0060 change together 62% of the time (8 of the 13 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 8 shared commits counted here, the most recent 3 are \u006009617429\u0060 Use installed fonts in markups, embedded in exported PDFs (#273); \u0060ba560204\u0060 Match Bluebeam callouts and text boxes on import (#237) (#248); \u00601a4e939c\u0060 Justified text alignment; version in About; text layout in ribbon (#229) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bluebeam.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3717c743650eae45794187e6a395d2bff5483c8408329f8f1dd1f3228e3366"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ProjectsPanel.tsx \u2194 SessionsPanel.tsx: \u0060apps/web/src/components/ProjectsPanel.tsx\u0060 and \u0060apps/web/src/components/SessionsPanel.tsx\u0060 change together 50% of the time (6 of the 12 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 \u0060816ecd34\u0060 Show every comment in a Project or Live Session in one table; \u0060e0336d4b\u0060 Hide OneDrive sharing for Projects and Sessions behind VITE_ENABLE_ON\u2026; \u0060de8795b2\u0060 Match Bluebeam Studio\u0027s sessions and projects layout \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c092a254eec3e66f9574211363629028f52417f2aaae888800f38d8b0fcca8e7"}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"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":"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":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"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":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":9906}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3bcf433de6809c7d85c1bca004918f614b8a6c127a25e53e0e8d6443b5be90"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":10030}}}],"partialFingerprints":{"codehealthFindingId/v1":"9211e613c2ec7fb43f295b4116468db1063676d1b2e65310a19adbf451c5c7c5"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6668dde96502db85d769dbdb219c40488fc3b2dd7a9fcbae1c1130c394ac6749"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb0c53494af53d0cccf8ad2818dbb165ba515d94a42e3793133fdab69c81e6e"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SignaturesPanel.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba9c50d24c1b53bc81045eb0ec1479cce57894eae511ed5736a81699ca39a7c"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SoundDialog.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ddb2118a55f4f70cd115ed54e5b58de26f9944938245b7b7d8e68d8b8fcfd1"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2a6aecbcd6954f2f4315d055eee6cc7244a9efabdbed251def07ce8c52fcb3"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/render.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca48047790c767b7c195925279955c8c1d57074c55313788d9cb086a59023ff"}},{"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":"apps/web/src/components/AskText.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93257ce59ffb102eeb52528b1644262f8aae35a116486a05c9974acef8d7859"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"2372643c80a585334622802f5381319a5e8224b6fa52d759512f761166dd3e96"}},{"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":"apps/web/src/components/CalibrateDialog.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4cc203199574513ad989a5f31c370ded21651149f173095c66d9f6345cd4a5"}},{"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":"apps/web/src/components/CalibrateDialog.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c48c0f2a055be11700cd61dbcc687a66ea727d5cd4dcaf457c81ab574c053ac"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c5bb96bb9f8d75fa44c4225054a278d6a51fb780730d3c74e67d4e01cd586c"}},{"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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"278b6a25db476a8757f2312446ee83ed664df7fe1579f76b485c7f68652102e1"}},{"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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c6a9bd618e19e20e11991995bfbd87a875ac75b74a73f27f097445478187fb"}},{"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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"287a63aa33a02b4c17ffeda75061491f0cc48adccab41d0648d5a9c7522d68c5"}},{"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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"4640995647c662f54bacdf2fa606c8d7350451e522b24984d6eacce7c401df8f"}},{"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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc327c89f85aa13c2df9d565bf33b6d79379a6830fd6a5af67ddc5e21f18f42"}},{"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":"apps/web/src/components/CommentDialog.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e181b7efacff9c88eed1aa549b28fa5a201fc0826587da0f44e447c7947e55e"}},{"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":"apps/web/src/components/FieldEditor.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3e70167f01ee1a5cc32bf967f6699f9d71f5ed09c9857bb666fbf7df1d2667"}},{"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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4f4d7ff599e604b4c2af61f5a6c8e3892327787932449ab385e7427bc67c04"}},{"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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ec175954e9430f42552f8820b9df6515c40db1497b79724996a33ae3f8e59d"}},{"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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f466a37da514d5e9da16135c5a5c78c1a8f1e911238a61616ee1567af31a5af"}},{"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":"apps/web/src/components/GeospatialPanel.tsx"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab2479d7075f2f02313fde6f1cf252d0b26bc19be26467290eef72473dc7ca4"}},{"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":"apps/web/src/components/InlineName.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e56f1afa240e8ef73b286b45b71c9c5c5e3616560bcaa29a592693c92453fe"}},{"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":"apps/web/src/components/LineStyleSelect.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35540c0f73fdcd1790a5daa3aa1ac818ccd774722bbf60cbcc1dd130f73c72a"}},{"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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"46495b7e1c9d9cd531be4a49bd750e8a13d22ba20f1efee82ae783e2cc4e972f"}},{"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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"887c60026ece1b33674934ccf3442ebf7d8834cad7bd933cdf44059dff22fb83"}},{"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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b27dfc10b0c1a90986222c12856e8f54bf97c000bb7e83907c5c895b7f59ab3"}},{"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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e9620d5d0990637ade517d88461b42e9465b0333296a21836cd4d5e4dc19de"}},{"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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7e4c10d8a10e9f75ebd4790715a700bb447dacff04b1c0314b611b7d79eb55"}},{"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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f9602d6fdfac27f1d2856c4e20e4d49a98a62a460c40410cb0f11236bf9fe7"}},{"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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"625640a47ddeaf7b48de2da3b98999d56bee1a82060129e6b3837f8810bc6b7e"}},{"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":"apps/web/src/components/ProcessDialog.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef22d81fb0897e09a6a09d5f39e14fa37eaa91d366b6eb6ee530d7f7c6d3df2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ProductListsDialog.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd3c4acfcd3328f7a4084d66cd5732529b88bdf1fe573ceda1aac120a7d5940"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"75388c33d3f25b8f52d3a2637cd8fe7076c805d4bb93770bf120bb6bf53a9e4a"}},{"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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbf5ace752db54f68dcf0ccc0ec75eac1471e095fe32e8ea7eabb39c2acf29c"}},{"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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fd5027badf496e818962eb89104a8f561c7367d55f7adc658748c8620d78b8"}},{"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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"056098f9a88482488b19823ba2c073e0ec8322abc1f48d48347eb153f71a88f3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b78beb603de26c4501fceb62c615482fe36baa394dbd6d7a5f39e4525eec05"}},{"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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"12170d5e22c71f6c08fa786da2915cf7694ac54ad5962078e71c3ec0ec284f0f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f52215e60a784f90b78e083978e3e1c277db5f95b23a27ef5459d9ad0ad221b"}},{"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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"910759aa603939ba943a87d8552484fef0725a7d4ba865f5e5540c60ee425cc9"}},{"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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"48566fe9699f4181f341a6cf11e9391f42961f0d6786ae00850cc6bb90e2ab23"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CNumberField\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad966d1edd8b5cbfb2e4157962d9b1a3ac65e03fdf87b13bd2e5c66b9ec566c"}},{"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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3863ab5cc60a64e3027552a036fde69c489f0aa09ee1ab5036ae522f79d272"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PublishDialog.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1403811b2edde628b1990cdfeaeab11b504fba5e774a536e930417d6f6c929b"}},{"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":"apps/web/src/components/PublishDialog.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1232a57bc8b781616c6371debf06756240a4a3718a973564b2824b8b5bb7615c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PublishDialog.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7799cf0d901e0afd125b56506d9454a28dd8bf126a7704212983f03301580f8b"}},{"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":"apps/web/src/components/PublishDialog.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"45efad6001fd690a5b0247960e140698cf0ad9bf552580788ab92c9d28d16cb7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PublishDialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbbe66f84007ab089ce714e7f01e4cab3763624a1ddee026845115e422ef657"}},{"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":"apps/web/src/components/PublishDialog.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb81c732417e0c3cac240b1b01888dcf9f57eca314d273ef67821b9ec1d9ed73"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PublishDialog.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d9272ed0b361722227640a843f01833563a1b8a92f80a58cb3dc00e7852ea8"}},{"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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5199435cf1e15563768d45f15eb82379bfaddbb90c378d97c95073fe413d53"}},{"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":"apps/web/src/components/SetsPanel.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc51c544d0596b58d08c534c0ee2fc791ae5475f19d0a623274c056730d7689d"}},{"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":"apps/web/src/components/SetsPanel.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c7837bae9539f628cea5dc5abfe4cef853262232832fe3e06e828035078e66"}},{"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":"apps/web/src/components/SetsPanel.tsx"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fb3b02b3aa1703a6e617879942dc0136753708e8dfb242ce93aefa582efd30"}},{"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":"apps/web/src/components/SignaturesPanel.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccb62a77f3c5d9266480ec88a579273a9cc8ae9ce599341b27538e5d18346b8"}},{"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":"apps/web/src/components/SignaturesPanel.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64ed6fd1f5be41663107fccba9194590f6278bea22275712120424ac711e685"}},{"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":"apps/web/src/components/SignaturesPanel.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25eaadc2c2e6d882dc184ada95304b25010e57fea915db18eb2bef9460c080a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"af41969dcc8845fc79555c09c656b909684140a64f21f03a38af11e05c45fd92"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\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":"apps/web/src/components/TextEditor.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ccedf351ae984c7b12abedb9b57265c6982a5cd72d922921b021768d652355"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/sessions/AccessEditor.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc503d697f880e79f43d46995fd898516d6ba44920238844b202560f212c8727"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\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":"apps/web/src/components/standardsWizard/stepParts.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"752beb68abbb530cbfe9404f99c752ec95882a0bebcdd2aa6e3de24979eba9e9"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/codebase-reach.canvas.tsx"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf6208b148c4293f5ad344bc5d72bbbde13b993391343e1f009e892cbba327e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/codebase-reach.canvas.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f334a4b96ff86743c6767efb3a5bfaa86ba3d1520463190491348f00519d7318"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e58602ed9dd65995b5f15d7596d911fddc25d23fa0cdc908d4f3af85dade07"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98922363547d9b646e880fcda1a2dd98baa7178ce9394dc0d341a09767051f0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Text directly inside a table row: A \u003Ctr\u003E may hold only \u003Ctd\u003E/\u003Cth\u003E cells. Text or a value written between the cells is moved out of the table by the browser, so it is read detached from its row. Wrap it in a \u003Ctd\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a8183bd2e03ffab5d6ef4814e23e505d07d863a7601bff0717f965880bbdd6"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/RevisionsDialog.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7df8968be372ea2d7d5716e1ca43840f8c8fa83126a91da5e305b0bb24285b"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/TemplatesDialog.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"117d6f41d274d771f45eb1bf9a734c3e25621028d98610a64999e2af6af3fb90"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/sessions/AccessEditor.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c59f2f6de7752faa27f366c8c269803d1d234d360f4ff14d109341d6dae32e"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"6615b556187ce8c251b3dc8a3cc58c712cb856b548bf41034a62299acf321a5b"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"8961c6c04c6d71d1a84337097c0bcfdc36c8b44fa96816f7ba13df469b796098"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .doc-tab with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":6724}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33f6b4dcfd30c55df319f4ef78f8200205eec442c15a795999e81485b37f56a"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022separator\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022separator\u0022 and is operated by pointerdown, but nothing can put focus on it: no tabIndex={0}, no key handler, and nothing in its scripts moves focus. A keyboard cannot produce a pointer drag, so the control cannot be operated at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and move it with the arrow keys in a key handler (with aria-valuenow for the position it holds)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":9602}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e4ea63786668597f4d58de76fb6a3fe93dbd8f2c66675d16c50ea70a0d6e3a"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":9946}}}],"partialFingerprints":{"codehealthFindingId/v1":"363beb481d92195bbf4e73d8b3c0b1a974d52865b9ae1888118384ecff3ae64b"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":9951}}}],"partialFingerprints":{"codehealthFindingId/v1":"164aa1991741a66f162a4af07aef581ab140808b4efbdae74d643631eca0452f"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022separator\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022separator\u0022 and is operated by pointerdown, but nothing can put focus on it: no tabIndex={0}, no key handler, and nothing in its scripts moves focus. A keyboard cannot produce a pointer drag, so the control cannot be operated at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and move it with the arrow keys in a key handler (with aria-valuenow for the position it holds)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":9993}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7084d81377a962f02a2103167fce155aec3904281cab22306f15808698ef15"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cform role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/AskText.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"952dc6d67514110bc671727a68226d724f9fa54eef7762a548aa4e6d5ba68731"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd436721ef7f7c456909d3b7e9160fc96025fc086fc5d543ae840958881767c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cform role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/AssemblyInputs.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"20681c5679a7bbaf5cdbe26b4b96b8d241d8c7a17493d812e3c0401926181c39"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/AssistantConfirmDialog.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f346dec48d6d69dccb0ff1e79ba105958c3c4339a21fc447265025843dafc85"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .twisty with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/BookmarksPanel.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb3ff1d79c7aef412dde6fadcc3682d160dccd1d84720e01127eede2540e389"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022option\u0022 that no keyboard user can reach: This \u003Cli\u003E announces itself as a role=\u0022option\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022option\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/BulkInsertDialog.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8f06fe22a487263c8215041ea14c544800f03bdf9f77ecf4dda1f8290c16a7"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .color-swatch with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ColorMenu.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10681f55be9fd97cb886e999a5c08d7f06946dba2967ae62d3614398037aa10"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ColorMenu.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ae478fc25d08ec58a4449e7922998a21f5ab4c4e83839eb6f902d0adf9a901"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"683025b42c91a3cb3cc62a13f0cab8baed404d44a5aff22e6e5e6a02d5dfb1dd"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022option\u0022 that no keyboard user can reach: This \u003Cli\u003E announces itself as a role=\u0022option\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022option\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/CombineDialog.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0eb94e00571404fe70d20b8e5e6e6b0cb1332e2cc13e638a83a6d2fab7e241a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/CommandPalette.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afc902c7f3d534e8c66aecde880a006d413e4ab3ed167b4a7c60a55c9d7abe4"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cform role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/CommentDialog.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f29c03a32f3b7964cead8494f2d2fb9ac3882b4674bcada4399ed0564261f1"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/CommentsTableDialog.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b60fc2e219afe8a630a1635580f1e91b144451c2db83bdc8e3da6abf6418c64"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cform role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/CountToolDialog.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"848460db807f88f180a0499866516a06fa6d7623fac55664160a3edcfd20f51d"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cform role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/DeletePagesDialog.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8bf0ee9239a05ba29899cbfee71b2ee61e9e7f1acfd763203bae90a88114f8"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/EraseRegionsPanel.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"90559a64d87d629ad0a3e57a19f48fd7c0bb8232571f6091f19dd33a039992fe"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ctr\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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1791516f0b0c5ab5e2794d6dd20b985c154d1c70229c2eae4bcb9185503820ef"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac1865af538d1e41a529c221055e7042b524206b60fed11e5c9ccf22c6bd588"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/FormulaBuilder.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef142e87a187a1fbf56b6ddcecbd076e35db88bb212ca88dcaf210394ab6919"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/InstallDialog.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f302744853e8ecfde0af49eda415ebe81bab3c0c1d6bba31cc81229ba7e45b"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ItemsDialog.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"600b21c38b4e532d9caa1dbf7c5d312531e292386d6b97e2bede3868bb351117"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/LabelRegionsPanel.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e618f9a2d52f75f1a22dc5ae3d545ac068a3c8b29bb2a0d54d36ec49b2e29350"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ctr\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":"apps/web/src/components/LayersPanel.tsx"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7c9753e077f499fd7ae2985af9e9184f6b7325d1cbd52f9386559b270e4ae2"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .layer-twisty-space with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/LayersPanel.tsx"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"af18759c9947c4d2ed5b2d34b99aea13182f992e0682b45ad2ca979c5728002d"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/LibraryDialog.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b7a5b7a52c649e207b2aac64df16f7fc87f64290848971df45a2090dd9b685"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a57b71559294af5c11224b9c79b2c67450172fdad832d390e72da8725ec496a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"38454fcb6273a0d9f6fd878d3f77fd8b63746ceca26a7d72b7d16babec53874c"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cdiv\u003E: This \u003Cdiv\u003E binds pointerdown, pointerup, pointermove and double-click \u2014 pointer gestures with no keyboard form, a double-click among them. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"587079b262f2096a648e98e27a59918b8a4004e2c026f1f584f621b8747dca5a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17e182e7c827f84858ab31fbb040f59181ddf3b348b392944f45171b30ef622"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .link-row with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/LinksPanel.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cf5d1051044e69ac90b612f4e76fcd2e61eac1a5f167fff2c2236592eb61d0"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cform role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ManualQuantityDialog.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4929cd2afb2f62217da7e389343575e3aacf916eabc69cbe8628225db74f71"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cth\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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9d0f34d886988dc95da52dd6aabd6389458c12247157ad85c64ce267a6fb5f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ctr\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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf107b177899f08340d3e48996d27536e1af101b61196a5097960f406135f600"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8bb730cc6285ac568e64668043883e731764c423f40f3769e84f0c71190a50"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cspan\u003E: This \u003Cspan\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad1d01a2aa22a987f874863abfff891b28b62e466da342c36c10f913fa6c35f"}},{"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":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f393be8b5e91f72a007ff1dc0058bd0299b88a7e985f5682f3885f43985ab94f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6fe2f1f2642a70fb5bbcb595ffcd62268047b7729ae8fc5b5627004ff5396b"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ProductListsDialog.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6ab67f73046e4091729a47f4ab3102a5ee1268e58c5256f6180eff28547f11"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ProfilesDialog.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5621e28e3e95a565d47669674e51b529dae530a1b8264183291d7d63e300037f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/QuantitiesDialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"638ab1c3295e6bfb4714996e889c2990b7acfe2eef6ee377322e8ff2ecff092c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cform role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ReportsDialog.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b556e7ef7664590366d5d990e95c77da1c4d567a67c9d0c5740c2e99878f0cd"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/RevuMigrationDialog.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2dad70fd6b8eb4a66083003b017676f2d3d05dd1affdc3de2f337c65182ea9"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21574c7269ace50da9268a0ce741d2ce2eafb10c74b3fce26d455d41161c696"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ScaleRegionsPanel.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c77fb382dbdfeb975a02180a3b1401af9519f6e4c5b56b9a58320e1f422e6e"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ScriptsDialog.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"828515aaa4f951d45c0144e63f5d645d40491c563a400dd25428bdf0d77ce560"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cform role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SetScaleDialog.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"285b99941b2a84c2543e8174827bdd620da170a351dc0e0a05e69e054e9efb34"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cb\u003E: This \u003Cb\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SetsPanel.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a696c52f260adb7a3d7521f98358c04990ef0dfe5d18c372a5cb16e2ef5167"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SheetSyncDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11acc0c7882264203afd9b86c628dc2d2ed73d90d3091504f5f3bed6df12e28"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ShortcutsDialog.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e587ff35a80572e5d822c64de64172d3f04e0351089ecb7f77ddeeba317046f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SignaturesPanel.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7481f06e4faf5ad1c95548a9ede71b9af63b6854f71d10a4141894845431fb7"}},{"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":"apps/web/src/components/SlowDrawingPrompt.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"211fe66d6b83534762cebda92d8554dffb281e1223bd9e0fd8e03017064fd2f8"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cform role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca004e16bc4fab141395dd80e033f8b7f9c75d01166ba065c52d14489eca616"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"644d924d92626186735008c7d39e446b9e21ddfaeeff33d526fab3521aef0742"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/StepUpDialog.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b290754b015a52f0501f9e9ccfce8cc2f9981643ff4caf83c198c6b97537472"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/StepUpDialog.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe205d1e502f793e18de421512b2b0a687681c04b99db1ace12c7f7344945532"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/TemplatesDialog.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef15ec2ae69fdcf5aa6fcd89f1afc8df6facfc7f4198679f5a4685cbf676b9da"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"a989e8b487166168933142fb3796465af1fb8227f08aa1ee0eecce52d809fc85"}},{"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":"apps/web/src/components/ToolChest.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bd1f82d89e4f5f9a55de68ab9feec35b5844b249feec3a5f5bdf1b90b2d259"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .tool-item with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ToolChest.tsx"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af8887697281e3e6e44d9143d7ce90391cdfcf79c061baac7236af7f9e46360"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/UnsavedChangesDialog.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6910fffbc485d96e61be0f87f4aa8a702cc325b90dc8354b58a4a86f628fe30f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cform role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/sessions/InviteDialog.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cd0d643969e25b4ef3f5eece49f5f5725a0fc29f59c44c8f05be6105c6c808"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcde5b9b9f9030b51799c985b6626d9ff9edef4ccf4660d8bc74718a89a60c1"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022separator\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022separator\u0022 and is operated by pointerdown, pointerup and pointermove, but nothing can put focus on it: no tabIndex={0}, no key handler, and nothing in its scripts moves focus. A keyboard cannot produce a pointer drag, so the control cannot be operated at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and move it with the arrow keys in a key handler (with aria-valuenow for the position it holds)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c137b347096e1eae7613b8cadb888b1b44dbe251bd2e259572a9a76b2005ae"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cg\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":"docs/codebase-reach.canvas.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6012c090adb48124c4fe5f730aa5aff064aa0c263193009a15749acb06bc96f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.7:1): \u0060.geo-badge\u0060 sets color: #fff on background-color: #0891b2 \u2014 3.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/features.css"},"region":{"startLine":6492}}}],"partialFingerprints":{"codehealthFindingId/v1":"c543a2c5f63917df8baf2eaab84c00029a784478489afbd9afa0f3b5df411ea8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.content ol.steps \u003E li::before\u0060 sets color: #fff on background-color: #ff5a6e \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/public/help/help.css"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8329b1ba4234ee263b28bfc9e7be2bfc6915c15d74fd1b0d27d553ef47db3494"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.modal .prefs-search-box input.prefs-search:not([type=\u0027checkbox\u0027]):not([type=\u0027radio\u0027]):not([type=\u0027color\u0027])\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":"apps/web/src/features.css"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2648d1bb48cba03871275ca81c576bed95cecb628726533bb2492a72d61eaf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.text-editor\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":"apps/web/src/styles.css"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fe1c9c4651859159d26133836902d0688d5208b6fa1bedbc0e1e91225ead6d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.pages-panel .thumbs: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":"apps/web/src/styles.css"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"50597b269319806fd6a032572b0d199c0f28d581ccec6e33ec10717dfaa459e3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.grid.cards h3 a:focus-visible\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":"apps/web/public/home/home.css"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd619f9163761a88d6887c34f57d324a3a320818e6c673d6f25b243dc58b3975"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.prefs-dialog .pref-grid .pref-check input[type=\u0027checkbox\u0027]::before\u0060 moves (\u0060transition: transform 0.15s\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":"apps/web/src/features.css"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06755c78762a7053fbea9bdcc52389349bc9fb3a40a87b64ac186c74a5f906d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.spinner\u0060 moves (\u0060animation: spin 0.7s linear infinite\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":"apps/web/src/styles.css"},"region":{"startLine":4112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe878e60349bb50b4e44616e2008e6473e23dd4dfd88b3afc02f769a9ba069dc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toc .caret\u0060 moves (\u0060transition: transform 0.15s\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":"apps/web/public/help/help.css"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d31a57860067541fe7f6a6e2cb33eebac5dc7d0a354a86f23d35bc050f92a80"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sidebar\u0060 moves (\u0060transition: transform 0.2s\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":"apps/web/public/help/help.css"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42cf19a331340b1e66cb82a34251ebba4180640561a5cc5480ab7d2df396947"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RedcolumnDesktop (26 required operations): \u0060RedcolumnDesktop\u0060 declares 26 required operations: \u0060tokenForFile\u0060, \u0060pickOpen\u0060, \u0060pickSave\u0060, \u0060readToken\u0060, \u0060writeToken\u0060, \u0060showInFolder\u0060, \u0060forgetToken\u0060, \u0060takeLaunchFiles\u0060, \u0060onLaunchFiles\u0060, \u0060printPdf\u0060, \u0060beginPrint\u0060, \u0060addPrintPage\u0060, \u0060finishPrint\u0060, \u0060cancelPrint\u0060, \u0060checkForUpdates\u0060, \u0060updateState\u0060, \u0060onUpdateState\u0060, \u0060installUpdate\u0060, \u0060microsoftToken\u0060, \u0060graphRequest\u0060, \u0060microsoftAccount\u0060, \u0060signOut\u0060, \u0060assistantInfo\u0060, \u0060setAssistantEnabled\u0060, \u0060onAssistantCall\u0060, \u0060replyAssistant\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/host.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83e66f23be71f7f806902f45c85f99f140a0a73730f1c380bb5d198fb1ed163"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: CommandActions (163 required operations): \u0060CommandActions\u0060 declares 163 required operations: \u0060open\u0060, \u0060newPdf\u0060, \u0060newFromTemplate\u0060, \u0060fromCamera\u0060, \u0060combine\u0060, \u0060close\u0060, \u0060closeAll\u0060, \u0060saveAll\u0060, \u0060revert\u0060, \u0060publish\u0060, \u0060share\u0060, \u0060markupsXfdf\u0060, \u0060markupsFdf\u0060, \u0060importMarkupsFromPdf\u0060, \u0060exportBax\u0060, \u0060importBax\u0060, \u0060save\u0060, \u0060saveAs\u0060, \u0060exportCsv\u0060, \u0060exportSummary\u0060, \u0060print\u0060, \u0060preferences\u0060, \u0060manageProfiles\u0060, \u0060migrateRevu\u0060, \u0060shortcuts\u0060, \u0060about\u0060, \u0060undo\u0060, \u0060redo\u0060, \u0060cut\u0060, \u0060copy\u0060, \u0060paste\u0060, \u0060pasteInPlace\u0060, \u0060multiply\u0060, \u0060deleteSelection\u0060, \u0060hideSelection\u0060, \u0060undoHistory\u0060, \u0060checkSpelling\u0060, \u0060sound\u0060, \u0060video\u0060, \u0060showHidden\u0060, and 123 more. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/commands/appCommands.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2224d58e89236a0b635faf0b25f102353741d73a9b0159b882d72863a5ce976"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return e.key;\u0060 also returns \u0060e.key\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/commands/keys.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7fb9427e21c03ebf3752d964fd77627b51aef15374db016ef69481fcd4debb"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRemove\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfffe8d4a4e4729277a407dee1c8d7c16ab3a631233c15ea04b64e5487489584"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060updateSW\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/main.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3f50c85b126efdb17c3559a6f56ac1b40d287086b98d01dcfe8ccff0b1b709"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060authorize\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/projects/store.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9b88c938c8cc7562ac1ccd20ef40829e4fa7ad817dc201960b6a33ff4c0060"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/detach.spec.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"68900a79dc9e07d4a5322eb967f494e604353f291b074b0b3a14b2f99708a88d"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/document.spec.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"93117d4c987a049507ddfdb1a1e098c52903a01d8a1ec43ab2922b4b3a955790"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/dont-save.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d31d45aace4743f6a99d774aee340922a578559263e250af3c3729a60d3cac"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/fonts.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a6dad498739de084bd18a7a4fed82596b74704fca58588b88494579abf7a83"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/session-review.spec.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad11fe68522f2228cfd7ddd85996285e16741c09bd3f77beab95c09ccf3d7629"}},{"ruleId":"M2","level":"note","message":{"text":"ADRs not easily discoverable: 1 ADR-shaped document(s) detected by content \u2014 \u0060docs/dwg-import-plan.md\u0060. They are not under a conventional ADR folder (docs/adr/) and are not named NNNN-title.md, and this check found them by their decision signature rather than by where they live \u2014 so a reader who does not already know these paths has no route to them. Detected by content signature only: records kept outside the repository, or written without a Status/Decision/Consequences shape, are not visible to this check and are not counted here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea921cf64dae701abd877090b3279ff10d03c2e3250e26c8c299d7c5665e0d3f"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 513 JavaScript/TypeScript production file(s) this check read across 8 module(s). Each was searched for its ecosystem\u0027s logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"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":4}}}],"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":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (38 clone groups): 38 duplicated blocks under the repository root have copies in at least two of the sibling directories apps, packages, scripts \u2014 31 of them are reported below, and 7 are 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 38 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 38 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 38 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":"apps/web/src/sheetsync/xlsx.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b654e38da6bdfa434ae0855a47c1b79eeb1b0ae5ce5ac16f3220a7079fe5b55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 24 sibling directories (38 clone groups): 38 duplicated blocks under apps/web/src/ have copies in at least two of the sibling directories assemblies, cad, columns, compare, components, desktop (\u002B18 more sibling(s) not listed) \u2014 29 of them are reported below, and 9 are 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 38 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 38 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 38 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":"apps/web/src/library/pack.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"63da29e570b57e8d092c40824a32ae9a8c6e5965c3e27e39f140cd67d43e63eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (8 clone groups): 8 duplicated blocks under packages/ have copies in at least two of the sibling directories markup, measure, pdf-core, stitch \u2014 5 of them are reported below, and 3 are 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 8 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 8 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 8 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":"packages/markup/src/import.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"88618a84540f3fe5c309662f185e2813c92debb5a3d68e5461b19bab63cb9b54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (5 clone groups): 5 duplicated blocks under apps/web/src/studio/ have copies in at least two of the sibling directories crypto, drive, projects \u2014 1 of them are reported below, and 4 are 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":"apps/web/src/studio/crypto/sealedDrive.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcec988e7e4d7be5429bd63b26f17a65e9f7bbaf3a9c6a7ee1f43f5547acfc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (173 matched lines \u00D7 2 locations): apps/web/src/components/standardsWizard/ChainageStep.tsx:13 \u00B7 apps/web/src/components/standardsWizard/MatchLineStep.tsx:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 1282 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":"apps/web/src/components/standardsWizard/ChainageStep.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86453aa855e4cf42c94701abb1296eb24db9d0c20df8ca6c64fa4736e9475a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (135 matched lines \u00D7 2 locations): apps/web/src/components/MeasurementsPanel.tsx:407 \u00B7 apps/web/src/components/SetScaleDialog.tsx:116 \u2014 the two spans are one implementation copied and then locally edited \u2014 1004 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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"722073c98b7c33ff3dcd07366362c28b4d1758df23d04222c91fba81f42b35da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (113 matched lines \u00D7 2 locations): apps/web/src/components/standardsWizard/CalloutStep.tsx:90 \u00B7 apps/web/src/components/standardsWizard/MatchLineStep.tsx:54 \u2014 the two spans are one implementation copied and then locally edited \u2014 1117 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":"apps/web/src/components/standardsWizard/CalloutStep.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9179dc6ccdab52f8beb3755d63ed960b1dd921accab5949c9bc6baa0dbcb4bb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (81 matched lines \u00D7 2 locations): apps/web/src/components/BulkInsertDialog.tsx:19 \u00B7 apps/web/src/components/CombineDialog.tsx:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 698 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":"apps/web/src/components/BulkInsertDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"768f22a15437cdb8dc39b314863fea6f7326ab6e63395a314e5996b6d6641606"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (77 matched lines \u00D7 2 locations): apps/web/src/components/ProjectsPanel.tsx:177 \u00B7 apps/web/src/components/SessionsPanel.tsx:219 \u2014 the two spans are one implementation copied and then locally edited \u2014 422 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82cd3ce33af7a0d53d644ccf5d7009f2473283fc119ab62868620002cf5a0fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (69 matched lines \u00D7 2 locations): apps/web/src/components/ItemsDialog.tsx:14 \u00B7 apps/web/src/components/ProductListsDialog.tsx:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 637 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":"apps/web/src/components/ItemsDialog.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5528805f0d9218e51ec03dd0bb9d121baac90a17aab85d98101fc664f272e015"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (54 matched lines \u00D7 2 locations): apps/web/src/components/CommandPalette.tsx:11 \u00B7 apps/web/src/components/MenuSearch.tsx:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 534 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":"apps/web/src/components/CommandPalette.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecfa1e67bfa36efd518e2ade53a3fd9792190b1e4ea2cd2534d3e5de32af2de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): apps/web/src/library/pack.ts:28 \u00B7 apps/web/src/sheets/standards.ts:203 \u2014 the two spans are one implementation copied and then locally edited \u2014 437 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":"apps/web/src/library/pack.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c263070036b3520e4bd575e7b254e5ca2fd43865c4944433250ebf3fc54a6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (45 matched lines \u00D7 2 locations): packages/markup/src/assemblies.ts:77 \u00B7 packages/markup/src/estimating.ts:153 \u2014 the two spans are one implementation copied and then locally edited \u2014 450 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":"packages/markup/src/assemblies.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0346baaabcef3491d9c640f98bd599b944087a7927dd331d6fea346bac97bab0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): apps/web/src/components/AssembliesDialog.tsx:244 \u00B7 apps/web/src/components/ProductListsDialog.tsx:82 \u2014 the two spans are one implementation copied and then locally edited \u2014 439 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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"13da52b8eb63ad8ecc9af6427e61549e5ff1eb21b055295981466c9007dbaea3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): apps/web/src/documents/zip.ts:14 \u00B7 apps/web/src/sheetsync/xlsx.ts:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 464 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":"apps/web/src/documents/zip.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8132ae2fdac4baf44c21a0ab462afcf5182c547746e34cb64750b7e9b0db36c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): apps/web/src/components/ProjectsPanel.tsx:653 \u00B7 apps/web/src/components/sessions/SessionDialogs.tsx:481 \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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccce0328a245640e0164b53891239c17226284f022f514dfce0ecbf8608f5ea1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): apps/web/src/assemblies/countProposals.ts:36 \u00B7 apps/web/src/assemblies/proposals.ts: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":"apps/web/src/assemblies/countProposals.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64a3daecafd67361c39ecf4ca3461ca92498efceb50e7bc911a9e3f1a63b9e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): apps/web/src/components/standardsWizard/CalloutStep.tsx:244 \u00B7 apps/web/src/components/standardsWizard/ChainageStep.tsx:279 \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":"apps/web/src/components/standardsWizard/CalloutStep.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7404704ba5b5dbec6633b32ea7cb2a113c33ece39746ee60b8ae3ec34ed08f2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): apps/web/src/App.tsx:9881 \u00B7 apps/web/src/App.tsx:10005 \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":"apps/web/src/App.tsx"},"region":{"startLine":9881}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5c1e5c6332ebecce8333514d9aa093603178aa5e9496d62b4be9c5bcb81c3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): apps/web/src/components/LabelRegionsPanel.tsx:151 \u00B7 apps/web/src/components/ScaleRegionsPanel.tsx:54 \u2014 the two spans are one implementation copied and then locally edited \u2014 257 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":"apps/web/src/components/LabelRegionsPanel.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46a2f212fdfa2d98e03805f3fde53d6a8c2a94f3d77ce85b66b45bcc6a0dc0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): apps/web/src/studio/drive/folder.ts:31 \u00B7 apps/web/src/studio/drive/folder.ts:124 \u2014 the two spans are one implementation copied and then locally edited \u2014 244 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":"apps/web/src/studio/drive/folder.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44f8a89d19250ddead544ed2ca8bc5da56cf6143337cbbb956c088ce6d8baa6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): apps/web/src/components/StepUpDialog.tsx:21 \u00B7 apps/web/src/components/StepUpDialog.tsx:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 278 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":"apps/web/src/components/StepUpDialog.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"53124017835bd1d2662ed594e7ff346dcdd6ae2e821d05b53b69bda087ada97d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): apps/web/src/components/PageToolsDialog.tsx:239 \u00B7 apps/web/src/components/ProcessDialog.tsx:37 \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":"apps/web/src/components/PageToolsDialog.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"df35787b2a34c443f2a668ec2d2c2b258956a4fdaebfc65da1cbdb823545b89b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3 locations): apps/web/src/components/standardsWizard/CalloutStep.tsx:278 \u00B7 apps/web/src/components/standardsWizard/ChainageStep.tsx:312 \u00B7 apps/web/src/components/standardsWizard/MatchLineStep.tsx:227 \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":"apps/web/src/components/standardsWizard/CalloutStep.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff7a322bb4bb7de9edc355188d2197fd390eb5fbe7e2b477f1915af731b73e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): apps/web/src/components/ProductListsDialog.tsx:237 \u00B7 apps/web/src/components/TemplatesDialog.tsx:122 \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":"apps/web/src/components/ProductListsDialog.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"181697c3464abb13c254435026c23d008e08f1e5f16d39f43acf1dc8b6323068"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): apps/web/src/signatures/signatures.ts:12 \u00B7 apps/web/src/storage/fileGroups.ts:11 \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":"apps/web/src/signatures/signatures.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84e401d33cbce2cb27bf0c853802476523611de9a4350468e9d9d0fb0fa27d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): apps/web/src/assemblies/csv.ts:4 \u00B7 apps/web/src/documents/forms.ts:774 \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":"apps/web/src/assemblies/csv.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc7a91f2563769ab3e5dc26376a0a645bb6d516719c78a69da0f34c9bf4b330"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): apps/web/src/components/AssembliesDialog.tsx:131 \u00B7 apps/web/src/components/ItemsDialog.tsx:32 \u2014 the 2 copies are spread across 2 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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d5f73e33899ad8c6e530ffcade6a658dc0ea5bdc78a4c2767e687c6b27f4f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): scripts/help/clips.cjs:21 \u00B7 scripts/help/gifs.cjs:23 \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":"scripts/help/clips.cjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b450f8ff8999c6db74c7459a5b2c6343f4423227cfc4c6bf1d58ad306e18cf77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): scripts/readme/measure-redact-shots.cjs:10 \u00B7 scripts/readme/takeoff-shots.cjs:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 210 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":"scripts/readme/measure-redact-shots.cjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d0a856ee23b3638b74038d073c161294f5802f02bb09dce86433c68a2abeaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): apps/web/src/components/BulkInsertDialog.tsx:31 \u00B7 apps/web/src/components/CombineDialog.tsx:29 \u00B7 apps/web/src/components/MultiplyDialog.tsx:29 \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":"apps/web/src/components/BulkInsertDialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4bc2e52ba773505802f333842209a71c4b976fe9e4098629f0886e4b019322"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): apps/web/src/components/MenuBar.tsx:221 \u00B7 apps/web/src/components/ToolBar.tsx:730 \u2014 the two spans are one implementation copied and then locally edited \u2014 106 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":"apps/web/src/components/MenuBar.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"17eee910598bdbcb7e6b15094994d32988701069d69cb42aa93be06135f04e4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): apps/web/src/components/standardsWizard/StandardsWizard.tsx:330 \u00B7 apps/web/src/components/standardsWizard/StandardsWizard.tsx:356 \u00B7 apps/web/src/components/standardsWizard/StandardsWizard.tsx:380 \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":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"351e6ba23eb0a94abd10647cd81f60f7ea521feefe3e23476509baa24add1d8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): apps/web/src/desktop/assistant.ts:413 \u00B7 apps/web/src/desktop/assistant.ts:688 \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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe03b44cfb745a1b588e0b09feddb142baaaa7c6ccaabc444cfd1d39f875e92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): scripts/help/clips/flow-diagrams.cjs:4 \u00B7 scripts/help/clips/tables.cjs: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":"scripts/help/clips/flow-diagrams.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb92cf1be5616ca0d5fb3ce1333c43d3c6dc2266cdced496be586edf5f991b13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): apps/web/src/components/CountReview.tsx:59 \u00B7 apps/web/src/components/TakeoffReview.tsx:243 \u2014 the two spans are one implementation copied and then locally edited \u2014 140 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":"apps/web/src/components/CountReview.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f7191f3e0d17a6c107359b0ceb8a5266646198170cf90e7175a36b5cb7bda1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): apps/web/src/components/PreferencesDialog.tsx:1186 \u00B7 apps/web/src/components/PreferencesDialog.tsx:1243 \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":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7c548ff589eb0e8e24526902b142b493230633297b66c48f30f26e2063faf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): apps/web/src/components/ToolChest.tsx:391 \u00B7 apps/web/src/components/ToolChest.tsx:413 \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":"apps/web/src/components/ToolChest.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd0acc715c7ba0ae11810307b78bd271107d10a4e0fbbbaee8abd79ed2b6697"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): apps/web/src/markup/MarkupTools.ts:5475 \u00B7 apps/web/src/markup/MarkupTools.ts:5539 \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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":5475}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b94121be1e752a2af2430723a371b2bf768fe9eef9eb7261ae1c077b273b216"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): apps/web/src/studio/drive/DriveSession.ts:936 \u00B7 apps/web/src/studio/drive/rooms.ts:400 \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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c03ca10bfee7510673503b710a0b4fe11b17dd5c4b3b94b904d1afa8475318"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): apps/web/vite.config.ts:31 \u00B7 apps/web/vite.config.ts:56 \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":"apps/web/vite.config.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f733f45ab971d2c571c3ece80bff0a4d1a062e07cd4e5716dda28738a2881fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): apps/web/src/components/AssemblyInputs.tsx:76 \u00B7 apps/web/src/components/CountToolDialog.tsx:17 \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":"apps/web/src/components/AssemblyInputs.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"773bbe25882a4d016ff0862e278ef350ba3a2dd9fccd392a879d0ed5a0e68f6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): apps/web/src/components/ColorMenu.tsx:47 \u00B7 apps/web/src/components/OverflowMenu.tsx:16 \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":"apps/web/src/components/ColorMenu.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a554c77753640df0fd1c16f32e355f65cbb2638daf24d91c341cf145957692b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): apps/web/src/components/LibraryDialog.tsx:68 \u00B7 apps/web/src/components/Ribbon.tsx:394 \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":"apps/web/src/components/LibraryDialog.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b842235b53cbcd7187eff3effe97fd9fcb37cea1c06b9c0c5b94d477a81a9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): apps/web/src/components/ManualQuantityDialog.tsx:39 \u00B7 apps/web/src/components/ReportsDialog.tsx:64 \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":"apps/web/src/components/ManualQuantityDialog.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4823d6c2ff2754e5a2e49489d4b2745a205bbb6278c446535fec51a33ddbf4f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): apps/web/src/components/standardsWizard/StandardsWizard.tsx:350 \u00B7 apps/web/src/components/standardsWizard/StandardsWizard.tsx:374 \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":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c297ea96ed130f3784b4ef7006303c495f0a1e54642dfbe4a9bcaf6c6653f6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): apps/web/src/storage/diskHandles.ts:58 \u00B7 apps/web/src/storage/diskHandles.ts:113 \u2014 the two spans are one implementation copied and then locally edited \u2014 93 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":"apps/web/src/storage/diskHandles.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff91c872a5e9260ad41e38074f65394e13fa7ac6d44d0cc7ceba59689f1c958c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): apps/web/src/cad/dwg/header.ts:135 \u00B7 apps/web/src/cad/dwg/header.ts:149 \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":"apps/web/src/cad/dwg/header.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4d59cde989f8734de8ad976f65f6d4f05096a38d948b03d64e946d5450db88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): apps/web/src/components/AskText.tsx:83 \u00B7 apps/web/src/components/NewPdfDialog.tsx:210 \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":"apps/web/src/components/AskText.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"986eb6a1da186fc538dd5a5a086bd7273fdf38f4e07bb86125feaa84d70fca97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): apps/web/src/components/AssembliesDialog.tsx:563 \u00B7 apps/web/src/components/ColumnsDialog.tsx:565 \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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"892b3e4e1e0b4f1447f483fe72eb36da10193d9a95349521e86c555bd7fb3e10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): apps/web/src/components/CompareDialog.tsx:417 \u00B7 apps/web/src/components/ReportsDialog.tsx:125 \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":"apps/web/src/components/CompareDialog.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5c525274126755e7c84bc38c25571a7fd983c8ddcc58cba2f30b648ccce4af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): apps/web/src/components/LinkPreview.tsx:112 \u00B7 apps/web/src/components/standardsWizard/SheetView.tsx:169 \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":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d6ea2fd30d34452c7b4ed501646f3764fbf19ca49fb110a545ae54a0f2bae9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): apps/web/src/cad/dwg/index.ts:142 \u00B7 apps/web/src/cad/dxf.ts:119 \u2014 the 2 copies are spread across 2 files, 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":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"223b95bad3c622d0bc78bc2ac49e5d97ec4c401d33a7b128eff346b7e49a402d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): apps/web/src/components/BatchDialog.tsx:219 \u00B7 apps/web/src/components/SecurityDialog.tsx:36 \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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39cde5ae3d2af7ff74ad4a3f05994de51ba3f142f1a97d6e1466289b1510ba2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): apps/web/src/components/ComboField.tsx:24 \u00B7 apps/web/src/components/MenuBar.tsx:222 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 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":"apps/web/src/components/ComboField.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf44ea0649cd3550a1426258d8065fedd149fc4338061f4cd93825c4479779f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): apps/web/src/components/LabelRegionsPanel.tsx:128 \u00B7 apps/web/src/components/ScaleRegionsPanel.tsx:43 \u2014 the 2 copies are spread across 2 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":"apps/web/src/components/LabelRegionsPanel.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11cd05863118a16a628ca9e417560b58f59bf1d9fa4409b47d949bd83cd4870"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): apps/web/src/components/ScaleToLengthDialog.tsx:71 \u00B7 apps/web/src/components/UnsavedChangesDialog.tsx:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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":"apps/web/src/components/ScaleToLengthDialog.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb08a97f7cc651081a991de474dd1da0ae374bffa1c8fa313ac1f37667ea8ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): apps/web/src/sheetsync/xlsx.ts:12 \u00B7 packages/markup/src/pdfExtras.ts:251 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheetsync/xlsx.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16a6b5c1056c0c170d2ddba5e4eac51d5b6ba3e4e24ae6e4afd66403c0437db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/markup/src/toolchest.ts:924 \u00B7 packages/markup/src/toolchest.ts:943 \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":"packages/markup/src/toolchest.ts"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c2b6f3072d4ea998ba69c617e4ca35abf7d9251b346bab143e3605eb6d8118"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): scripts/help/gifs/break.cjs:2 \u00B7 scripts/help/gifs/lengthen.cjs:2 \u00B7 scripts/help/gifs/stretch.cjs:2 \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/help/gifs/break.cjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"388bc1f90a879feb028a7f9deec7f6fde87ea9acda5544deb7cfcddfab072248"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 9 locations): apps/web/src/components/ApplyRedactionsDialog.tsx:24 \u00B7 apps/web/src/components/CompareDialog.tsx:195 \u00B7 apps/web/src/components/HeaderFooterDialog.tsx:81 \u00B7 apps/web/src/components/OcrDialog.tsx:36 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 9 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":"apps/web/src/components/ApplyRedactionsDialog.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1f10d196636c7e0ab69ea6ce882fdc2b150981cf2fd2d7a970833cef57db6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): apps/web/src/components/AskText.tsx:84 \u00B7 apps/web/src/components/ChangeColoursDialog.tsx:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"apps/web/src/components/AskText.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff62ccf1f57404be4b2490ff0a5a2d180557782418465403c4164eee6f9bbc18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/web/src/components/CalibrateDialog.tsx:43 \u00B7 apps/web/src/components/SetScaleDialog.tsx:178 \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":"apps/web/src/components/CalibrateDialog.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70bc3667c0ed18520cf9b86b8808893b5c27709bcb7c964ac4965bdfd41b790"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): apps/web/src/components/CalibrateDialog.tsx:93 \u00B7 apps/web/src/components/LineStylesDialog.tsx:401 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 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":"apps/web/src/components/CalibrateDialog.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca084fed4a855a42eedd87869a8b9029a090832cbddf9a0dc2b955f19a8a45b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): apps/web/src/components/CameraDialog.tsx:103 \u00B7 apps/web/src/components/UndoHistoryDialog.tsx:20 \u00B7 apps/web/src/components/WhatsNewDialog.tsx:5 \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":"apps/web/src/components/CameraDialog.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"11032296e0b06b21d4a498c2920a196950bf27628cd81679f94be31d10cee355"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): apps/web/src/components/ChangeColoursDialog.tsx:48 \u00B7 apps/web/src/components/NewPdfDialog.tsx:211 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 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":"apps/web/src/components/ChangeColoursDialog.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb099a1cd901527133c880d6520683627caa7acd416a31b4005c029bd725b9c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): apps/web/src/components/CommentDialog.tsx:13 \u00B7 apps/web/src/components/DocumentPropertiesDialog.tsx:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 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":"apps/web/src/components/CommentDialog.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ae8c3b2e7a89e3b735ded680af9489f0771e3f44bf9cd313a5807360992b74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/web/src/components/CompareDialog.tsx:192 \u00B7 apps/web/src/components/HyperlinkDialog.tsx:68 \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":"apps/web/src/components/CompareDialog.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d3cd58bb037d6faffde17b18c07d23512f5cb4c8f9224872fcc41a0e65de8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): apps/web/src/components/EraseRegionsPanel.tsx:147 \u00B7 apps/web/src/components/LabelRegionsPanel.tsx:180 \u00B7 apps/web/src/components/ScaleRegionsPanel.tsx:63 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/EraseRegionsPanel.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4da435ad947d7a535c53b8fe1dc82ea5e0dce0337a0d13e37f000abe1538d6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/web/src/components/MeasurementsPanel.tsx:199 \u00B7 apps/web/src/components/studio/chrome.tsx:145 \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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed75d7ab66222cb205c9d9722dba1e765d8679da52fe28d231de8dc34c9814a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/web/src/components/OcrDialog.tsx:57 \u00B7 apps/web/src/components/PageToolsDialog.tsx:50 \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":"apps/web/src/components/OcrDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e7fb16b6b264fadc110a5b35961bc6a083268b90e3d7319e7886693b0ab479"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/web/src/components/RevisionsDialog.tsx:17 \u00B7 apps/web/src/components/UndoHistoryDialog.tsx:19 \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":"apps/web/src/components/RevisionsDialog.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"23681e0eb1d2c66d1164365164304d69fb5ea9058baf3b5a7eed2430d0a6833b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): apps/web/src/components/ScaleToLengthDialog.tsx:34 \u00B7 apps/web/src/components/SoundDialog.tsx:79 \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":"apps/web/src/components/ScaleToLengthDialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dd642830a847982023d7a17ae79a61e116b3ead2a7527d2142fe790ab63849"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/web/src/components/studio/chrome.tsx:15 \u00B7 apps/web/src/components/studio/chrome.tsx:42 \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":"apps/web/src/components/studio/chrome.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"19afffbcd548f403f6c26be2d257bddeebc5ab1725e8408ae6b5f8c5d25cba69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): apps/web/src/library/catalog.ts:55 \u00B7 apps/web/src/library/pack.ts:119 \u00B7 apps/web/src/sheets/standards.ts:289 \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":"apps/web/src/library/catalog.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"665fab7332faf50e39af362bfc28bceb0c6000daa08fad68baeb69b122dbd783"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): apps/web/src/measure/scalePresets.ts:52 \u00B7 apps/web/src/summary/bcf.ts:598 \u2014 the two spans are one implementation copied and then locally edited \u2014 105 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":"apps/web/src/measure/scalePresets.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"252b7e27b9bdc88286f58d8a431ac5f54ebf75f115008195fc01b4a351cd12a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/markup/src/table.ts:475 \u00B7 packages/markup/src/table.ts:506 \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":"packages/markup/src/table.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b6fa630b7dea7a83f51a91736ccf1fe8aa5b757d9b87abb896f22a9209d66f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/pdf-core/src/worker.ts:351 \u00B7 packages/pdf-core/src/worker.ts:863 \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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b044942a07f83abc7776072a4768005b701d1c4b93ed7651cc800b202ed21042"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/help/hero.cjs:23 \u00B7 scripts/help/sections/06-markups-list.cjs:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 226 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":"scripts/help/hero.cjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93bc2db047ed419f8d6d3498e7505dc6a07bbc8d659b8cfe1a4e19d9be5e914"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/readme/bulk-ribbon-shot.cjs:22 \u00B7 scripts/readme/sync-shot.cjs:34 \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":"scripts/readme/bulk-ribbon-shot.cjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e109b22cc567594a860bfdd5fca4862d009ca34c15979b48f6ba4b63b23518f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): apps/desktop/src/assistant/server.ts:59 \u00B7 apps/desktop/src/loopback.ts:50 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 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":"apps/desktop/src/assistant/server.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e903180f600ace26c5c41cc354a77e19af608ec1af88002c10c91c39e8355df1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/web/src/App.tsx:1923 \u00B7 apps/web/src/App.tsx:1935 \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":"apps/web/src/App.tsx"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"e089981cb8118574cc6d5e95cb30b6a1fc085c0605944b79b7923b4d03f5a728"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): apps/web/src/App.tsx:10049 \u00B7 apps/web/src/App.tsx:10075 \u00B7 apps/web/src/App.tsx:10199 \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":"apps/web/src/App.tsx"},"region":{"startLine":10049}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8a43a527f4a32f805e63d6b15e6790981857b00327aaaf31b168d26dca9f7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/web/src/components/ApplyRedactionsDialog.tsx:55 \u00B7 apps/web/src/components/CommentDialog.tsx:38 \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":"apps/web/src/components/ApplyRedactionsDialog.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"68054a73e3db1437ba2f5f7d2fc9a5ac25db771da2c0429dbdd0ece574cfbfe5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): apps/web/src/components/AskText.tsx:78 \u00B7 apps/web/src/components/CalibrateDialog.tsx:91 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 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":"apps/web/src/components/AskText.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0615bff348f9f83cfedb3438ec80642d0d7d1afa08bab7fccc60f63da5d04101"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): apps/web/src/components/AskText.tsx:86 \u00B7 apps/web/src/components/HeaderFooterDialog.tsx:174 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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":"apps/web/src/components/AskText.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75fe0c8c9b305258fcea096f81be445fb18725d449d69f74425d8641f213c18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): apps/web/src/components/AskText.tsx:85 \u00B7 apps/web/src/components/StampsDialog.tsx:458 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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":"apps/web/src/components/AskText.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"205dcc9fe19c775f73a93d4dc2ecbbc950e5cdf25c44a60e5525ef5f714b1514"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): apps/web/src/components/AskText.tsx:85 \u00B7 apps/web/src/components/UnsavedChangesDialog.tsx:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"apps/web/src/components/AskText.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"046706de7891c62839712658d2d2c3bc584db39b75fee205d17ad1e78c1e7e73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): apps/web/src/components/AssemblyInputs.tsx:96 \u00B7 apps/web/src/components/CountToolDialog.tsx:54 \u00B7 apps/web/src/components/FilterBuilderDialog.tsx:78 \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":"apps/web/src/components/AssemblyInputs.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b471ec1c13d11e8f0ac0c7c1a91d6d6d1274da332dfec65e8066462a27dc14e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/web/src/components/CadBar.tsx:198 \u00B7 apps/web/src/components/SketchBar.tsx:74 \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":"apps/web/src/components/CadBar.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3004eb9fddffe11e7b3b9e637d9afb8d8ec35cd04bb3c813e873294718eeea67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/web/src/components/CadConvertDialog.tsx:146 \u00B7 apps/web/src/components/PageToolsDialog.tsx:265 \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":"apps/web/src/components/CadConvertDialog.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbeacbfd7283a9303256e2074b836a48b2dc63bf23c13078dfe13c4e0578f62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): apps/web/src/components/ComboField.tsx:55 \u00B7 apps/web/src/components/PageNav.tsx:168 \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":"apps/web/src/components/ComboField.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33a5f5c9af13ba43e378b67216c2baafd659206e4f11a4c0d2bf23460662493"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): apps/web/src/components/ExportDialog.tsx:388 \u00B7 apps/web/src/components/Ribbon.tsx:416 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"e592f47971b1434fa5772cd5640cfa3caad5bef0164d0933651b30e67019744f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/web/src/components/LineStylesDialog.tsx:57 \u00B7 apps/web/src/components/StampsDialog.tsx:27 \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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"281d5f25f0da3e34180639356f40abaa87f31efdaa7cc20bfc57a14f252a69ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): apps/web/src/components/LineStylesDialog.tsx:576 \u00B7 apps/web/src/components/ProjectsPanel.tsx:525 \u00B7 apps/web/src/components/StampsDialog.tsx:358 \u00B7 apps/web/src/components/sessions/SessionDialogs.tsx:275 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 4 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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba4f371ede4c881b24d2744786f078bc39a11d0a2d6d51f8237ede279ac2745"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): apps/web/src/components/MeasurementsPanel.tsx:425 \u00B7 apps/web/src/components/ScaleControl.tsx:41 \u00B7 apps/web/src/components/SetScaleDialog.tsx:134 \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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c57f3bf591cafcd299888e4c97b86b519fbbd08aa49a21d3730da3917c418b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): apps/web/src/documents/digitalIds.ts:72 \u00B7 apps/web/src/documents/pki.ts:150 \u2014 the two spans are one implementation copied and then locally edited \u2014 99 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":"apps/web/src/documents/digitalIds.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3bd5ceef93d437b8c0d77c9dde4bab66302c739a14657cb4e2773615925df8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/web/src/documents/pki.ts:765 \u00B7 apps/web/src/documents/pki.ts:778 \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":"apps/web/src/documents/pki.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfba87fbb2be9b24684a52a3928229efd0c11cdf22dc5a2e7d4bb26d46c4f62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): apps/web/src/storage/localCrypto.ts:51 \u00B7 apps/web/src/storage/localCrypto.ts:78 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 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":"apps/web/src/storage/localCrypto.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f10eb870ebf45b3857b0dda7a007bf4f83a2d57fcf4c820754c833ecc227c0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/web/src/studio/drive/DriveSession.ts:489 \u00B7 apps/web/src/studio/drive/rooms.ts:154 \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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff28de07f9fd7aa6d40ba908afb9b2e98964d758123cc8653cb6477bb32d173"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/web/src/studio/drive/DriveSession.ts:562 \u00B7 apps/web/src/studio/drive/rooms.ts:213 \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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a0e000ab802227b55980120a10b2f9663a805bf9d876eab2ca7b78308f470d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/help/gifs.cjs:32 \u00B7 scripts/help/standards-gifs.cjs:196 \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":"scripts/help/gifs.cjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a955936343ec1bcc6d306b4b08cc2b1bda30e58753286b3ce12740f6ec36aae1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): scripts/help/gifs/chamfer.cjs:2 \u00B7 scripts/help/gifs/extend.cjs:2 \u00B7 scripts/help/gifs/fillet.cjs:2 \u00B7 scripts/help/gifs/trim.cjs:2 \u2014 the 4 copies are spread across 4 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/help/gifs/chamfer.cjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3bdc439534fedac5b9a9214fcf7bdb5774cddd60eaff42ece434b5c7525c6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): scripts/help/gifs/tool-callout.cjs:4 \u00B7 scripts/help/gifs/tool-flag-label.cjs:4 \u00B7 scripts/help/gifs/tool-text.cjs:4 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/help/gifs/tool-callout.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c60dc662cee210a978a4ffc4463dac003f617b7ce9bb1a569937a6d9e94dd3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/web/src/App.tsx:5596 \u00B7 apps/web/src/App.tsx:5609 \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":"apps/web/src/App.tsx"},"region":{"startLine":5596}}}],"partialFingerprints":{"codehealthFindingId/v1":"07feef8c426d9686663e5262aec8dfecf70ea1a28b6e24564f49873d4435b6cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/web/src/App.tsx:10064 \u00B7 apps/web/src/App.tsx:10227 \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":"apps/web/src/App.tsx"},"region":{"startLine":10064}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3e8025ac75ff9f3b0281da1bc9ba233586fda522bd157286f78db223ab1051"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/web/src/cad/dwg/container.ts:172 \u00B7 apps/web/src/cad/dwg/r2007.ts:398 \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":"apps/web/src/cad/dwg/container.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed2427cbbe386ce261cfbf3094f5176888ab09a9c2d2992d87313e479728c5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8 locations): apps/web/src/cad/dwg/header.ts:54 \u00B7 apps/web/src/cad/dwg/header.ts:64 \u00B7 apps/web/src/cad/dwg/header.ts:79 \u00B7 apps/web/src/cad/dwg/header.ts:132 \u00B7 \u002B4 more site(s) not listed \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":"apps/web/src/cad/dwg/header.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54a8b5643c1ad5ba45697919343827a92f14457fac27ecb454386374dd15a4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): apps/web/src/cad/dwg/header.ts:103 \u00B7 apps/web/src/cad/dwg/header.ts:135 \u00B7 apps/web/src/cad/dwg/header.ts:149 \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":"apps/web/src/cad/dwg/header.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f0811488455a3da59a71dd06711f1c0e336d0419844ed646b26f8cbf4b8ef7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): apps/web/src/components/AskText.tsx:78 \u00B7 apps/web/src/components/DigitalSignatures.tsx:322 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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":"apps/web/src/components/AskText.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b978dbe50daae449018e649f366830e00bffa93fe91190861bf056a1b29de770"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/web/src/components/BatchDialog.tsx:256 \u00B7 apps/web/src/components/DigitalSignatures.tsx:418 \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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e93086441a351454735a10b23b18743495ee609e92ede3c5da27d7a2590870"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): apps/web/src/components/BulkInsertDialog.tsx:99 \u00B7 apps/web/src/components/CombineDialog.tsx:94 \u00B7 apps/web/src/components/HyperlinkDialog.tsx:155 \u00B7 apps/web/src/components/ManualQuantityDialog.tsx:104 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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. There is one copy in each of 6 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/BulkInsertDialog.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ddb072a32c9dd41620593be3b4f0d29a888adc92ecc298fd5fdc51543a5221"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): apps/web/src/components/CadBar.tsx:30 \u00B7 apps/web/src/components/SketchBar.tsx:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 110 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":"apps/web/src/components/CadBar.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d059b3a23a3d1e260da4a5751612e06b6da6d2b9347b3b5ab68651a99d1409e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): apps/web/src/components/CalibrateDialog.tsx:95 \u00B7 apps/web/src/components/NewPdfDialog.tsx:213 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"apps/web/src/components/CalibrateDialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e6ab6c243098adebad34cebebcede8444b2e4d81a150805581e904c006902d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): apps/web/src/components/ComboField.tsx:24 \u00B7 apps/web/src/components/ToolBar.tsx:731 \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":"apps/web/src/components/ComboField.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"95635368d1863567f13fa903ae26e56997a656fe5885260e495357b385d7d00f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): apps/web/src/components/DocumentPropertiesDialog.tsx:68 \u00B7 apps/web/src/components/SoundDialog.tsx:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"apps/web/src/components/DocumentPropertiesDialog.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ea2e208390829bb4107916f3444d1237d531db1f0c93665bbb6d7b4d77a1fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/web/src/components/ProductListsDialog.tsx:153 \u00B7 apps/web/src/components/ProductListsDialog.tsx:164 \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":"apps/web/src/components/ProductListsDialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71102d96073afeb4448538e6fb75590796535a6951b8c34517f1a41fa766874"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/web/src/components/ReportsDialog.tsx:64 \u00B7 apps/web/src/components/ShortcutsDialog.tsx:49 \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":"apps/web/src/components/ReportsDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9108f707f2b9f3f0864106b836033ebab507a92aca89bef98bae95f377a11257"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): apps/web/src/components/Ribbon.tsx:668 \u00B7 apps/web/src/components/StampsDialog.tsx:522 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"da19fad59f941c6c235f4d1000574e43e2bcd0c973f528693b9c921d3a07b0fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/web/src/components/SidePanels.tsx:51 \u00B7 apps/web/src/components/SidePanels.tsx:62 \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":"apps/web/src/components/SidePanels.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"abeab4c0f05b6a8d22225718526ec4846b61ebf884c3b50c46abcfd02ae798a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/web/src/desktop/assistant.ts:363 \u00B7 apps/web/src/desktop/assistant.ts:665 \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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb75effae5c7a64f1456a637391ab4e98bea60564dc383b846ca981876aab68e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): apps/web/src/desktop/assistantStitch.ts:356 \u00B7 apps/web/src/documents/stitchPages.ts:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 162 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":"apps/web/src/desktop/assistantStitch.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17fc523b1805f67fcd87b1a2f83abe64bbd936f612258b13a1c6fdc8bb95cb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): apps/web/src/documents/layers.ts:67 \u00B7 packages/markup/src/export.ts:2025 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 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":"apps/web/src/documents/layers.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c173f39f88fb85539e1e634e2bf9c9e9e6bff993f215faacec0a385aa638ecb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): apps/web/src/documents/zip.ts:30 \u00B7 apps/web/src/documents/zip.ts:40 \u00B7 apps/web/src/sheetsync/xlsx.ts:38 \u00B7 apps/web/src/sheetsync/xlsx.ts:51 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/zip.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a807475333d0f39d95796c1a9f86e0be069d897c01b80e74ab25a2b6562afc3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/web/src/markup/MarkupTools.ts:1896 \u00B7 apps/web/src/markup/MarkupTools.ts:1936 \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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb23170d8f376cf01c138ebe98d40115ee387b3495e59e10cbc02afb3aed47b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/web/src/viewer/TileViewer.ts:223 \u00B7 packages/pdf-core/src/regionGeometry.ts:23 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6226ebff35b36cca33bf33691b5e05149cd1675793433ebc2d04cc5b4fcb5b21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/markup/src/arrange.ts:299 \u00B7 packages/markup/src/cad.ts:688 \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":"packages/markup/src/arrange.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"f235682c145e9b818183996c6a093429b9675d58923e93c255ca4b3cf4d79540"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/markup/src/export.ts:460 \u00B7 packages/markup/src/export.ts:718 \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":"packages/markup/src/export.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1f5ce6122ff3889fff50e245b859ceb4160aa7ca77f787359fa71f729d75d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/measure/src/measure.ts:496 \u00B7 packages/measure/src/measure.ts:524 \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":"packages/measure/src/measure.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e500ec024a6267e96ab8807ec77d55092e5609725b322c4077de7a7ecfa022c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/help/gifs/scale-to-length.cjs:4 \u00B7 scripts/help/gifs/scale.cjs:4 \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":"scripts/help/gifs/scale-to-length.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d03d5b142705a5cff03f937a2b798858e456cb19e63a022eb5201ddc2ae55b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/help/sections/09-sets-revisions.cjs:90 \u00B7 scripts/help/standards-gifs.cjs:99 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/help/sections/09-sets-revisions.cjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"383fd08d2811beccc18bebae1a166998683dd798feee99cf0791ae06fd125df7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/App.tsx:2138 \u00B7 apps/web/src/App.tsx:3140 \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":"apps/web/src/App.tsx"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"972a9d4959944c9442f33201bbeca453b93425c9ee9607f365b0e4fd7b23ceb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/App.tsx:2477 \u00B7 apps/web/src/App.tsx:2569 \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":"apps/web/src/App.tsx"},"region":{"startLine":2477}}}],"partialFingerprints":{"codehealthFindingId/v1":"801cb8c7c44cf408615ba0aeaf3beb89891df334e84405fcac5922ce039e813d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/App.tsx:2591 \u00B7 apps/web/src/App.tsx:2756 \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":"apps/web/src/App.tsx"},"region":{"startLine":2591}}}],"partialFingerprints":{"codehealthFindingId/v1":"57175a2598b236dd37b0d725e35e63c3c0ec237cd9915737b441bb3f2186f5c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/App.tsx:6280 \u00B7 apps/web/src/components/MarkupList.tsx:476 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":6280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be7513c19f17d2f7b645ce9b5218093d107028491dfdeb00e0660988a46411b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/App.tsx:6582 \u00B7 apps/web/src/components/CameraDialog.tsx:177 \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":"apps/web/src/App.tsx"},"region":{"startLine":6582}}}],"partialFingerprints":{"codehealthFindingId/v1":"75747ccebbcdbefe57c062fc57c5ad24ee7c489edfbe1003bd5f7c3c3e6452c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/App.tsx:7869 \u00B7 apps/web/src/App.tsx:7927 \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":"apps/web/src/App.tsx"},"region":{"startLine":7869}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d96ef80dcba55feb55e5efcbdef5a7a3da259c25c6f0d07237eb19b6a69015"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): apps/web/src/App.tsx:4539 \u00B7 apps/web/src/studio/projects/store.ts:167 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"apps/web/src/App.tsx"},"region":{"startLine":4539}}}],"partialFingerprints":{"codehealthFindingId/v1":"81702ffc12eb9d83bf31ed679c138dcf6c4c4f26f292eef9dc06e336c856d2e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/cad/dwg/bits.ts:289 \u00B7 apps/web/src/cad/dwg/bits.ts:306 \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":"apps/web/src/cad/dwg/bits.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6261807f430c7a11c4204514d120b912fb353957b34a563651d0bc9022576035"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/cad/dwg/header.ts:44 \u00B7 apps/web/src/cad/dwg/header.ts:86 \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":"apps/web/src/cad/dwg/header.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3d3e629e46313beb51d0d133706d6394ca592302b1e0882a4d97e74ed60335"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/cad/dwg/objects.ts:867 \u00B7 apps/web/src/cad/dwg/objects.ts:1086 \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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa31008aed51427b0aabfa46c728c5a3a27d2d72d3ed5473dcc31bbb380a47b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/columns/formula.ts:31 \u00B7 apps/web/src/scripts/script.ts:95 \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":"apps/web/src/columns/formula.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae1ea7497dd4e84cede473272455b2b8e97a6c4e3882b2af95b488d327bf2b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/AssistantConfirmDialog.tsx:12 \u00B7 apps/web/src/components/UnsavedChangesDialog.tsx:51 \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":"apps/web/src/components/AssistantConfirmDialog.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a3bb1d898c57a674971361ecf3032774699d4e76f97ccfb30f7286a8bf452e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8 locations): apps/web/src/components/BatchDialog.tsx:335 \u00B7 apps/web/src/components/BatchDialog.tsx:396 \u00B7 apps/web/src/components/ItemsDialog.tsx:94 \u00B7 apps/web/src/components/ItemsDialog.tsx:165 \u00B7 \u002B4 more site(s) not listed \u2014 the 6 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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72f21b864757cca9e134acce6ab7f216f49935c021832bad919db69f3e307ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): apps/web/src/components/BatchDialog.tsx:397 \u00B7 apps/web/src/components/ManualQuantityDialog.tsx:73 \u00B7 apps/web/src/components/PageToolsDialog.tsx:219 \u00B7 apps/web/src/components/PropertiesPanel.tsx:854 \u2014 the 4 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. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"175b7cbff890bb9961e27d3f4ce25290f60e5be58199593ea4cd4a27278acb8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/BatchDialog.tsx:455 \u00B7 apps/web/src/components/DigitalSignatures.tsx:657 \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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"d966b2fd6351f6aca0d22b8c62e766200627c8f75eaf50dc6bb883497aeb3ae0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/ChangeColoursDialog.tsx:14 \u00B7 apps/web/src/components/FilterBuilderDialog.tsx:20 \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":"apps/web/src/components/ChangeColoursDialog.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d819609651540d2187b9828f3d9882f509c7925130cad3bfb13acf0aea808c29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/ChangeColoursDialog.tsx:33 \u00B7 apps/web/src/components/PictureColoursDialog.tsx:111 \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":"apps/web/src/components/ChangeColoursDialog.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86796b54470baef56408c05632ffd58c5f66a94f4c8fc97147729ad805fc16e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 9 locations): apps/web/src/components/ColorMenu.tsx:58 \u00B7 apps/web/src/components/MeasurementsPanel.tsx:202 \u00B7 apps/web/src/components/MenuBar.tsx:235 \u00B7 apps/web/src/components/OverflowMenu.tsx:27 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 8 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":"apps/web/src/components/ColorMenu.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a5bcc09a5e582b107ccabdbc7dd761cc78cd7e38def18a5ed8f6c0ed388f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/ColumnsDialog.tsx:447 \u00B7 apps/web/src/components/PropertiesPanel.tsx:393 \u2014 the 2 copies are spread across 2 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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"650dba8a738453e4a7633d622a414bdecaa8c9eb4215e2aa104b78a756f9d6af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): apps/web/src/components/ColumnsDialog.tsx:259 \u00B7 apps/web/src/components/ProfilesDialog.tsx:207 \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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa0f0ac196a743a7683b5898cb4c123218d206fda836978a899637e6b5da292"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/CompareResultsPanel.tsx:74 \u00B7 apps/web/src/components/VisualSearchPanel.tsx: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":"apps/web/src/components/CompareResultsPanel.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5848978a68256a669a1c8c85d04c6fcf671ff694ade9f543b2217ca73d73a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): apps/web/src/components/EraseRegionsPanel.tsx:78 \u00B7 apps/web/src/components/LabelRegionsPanel.tsx:70 \u00B7 apps/web/src/components/ScaleRegionsPanel.tsx:33 \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":"apps/web/src/components/EraseRegionsPanel.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4336821d79f7507f03295eb20e83f7d939af47e9f83d9fe8139da37fbe6fcc2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/ExportDialog.tsx:187 \u00B7 apps/web/src/dialogDrag.ts:35 \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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d4abddacf7e52e572916bd730e1deff211da4a459c39ed79813bc8cb044c3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): apps/web/src/components/FormsPanel.tsx:76 \u00B7 apps/web/src/components/GeospatialPanel.tsx:573 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f124fe2e8179679c2fa5803b3ece8659e240a8b3812b062033f86830551eac2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/HeaderFooterDialog.tsx:81 \u00B7 apps/web/src/components/SpellCheckDialog.tsx:132 \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":"apps/web/src/components/HeaderFooterDialog.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"860ab48e89b1e01bbe6d0ea4811495b235f8e73e33d6c59c5ca36eff0cbd8c25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/ItemsDialog.tsx:175 \u00B7 apps/web/src/components/ItemsDialog.tsx:184 \u2014 all 2 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":"apps/web/src/components/ItemsDialog.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1315c65108b61c1117f368b58309da1e1459d5da1efbe896c60e1b8094ee86fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/MeasurementsPanel.tsx:700 \u00B7 apps/web/src/components/MeasurementsPanel.tsx:712 \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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"728d5b01567591b801834d3b0bad911f1e4d012636145a4bf15297341c73cd7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/PageNav.tsx:117 \u00B7 apps/web/src/components/Ribbon.tsx:1348 \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":"apps/web/src/components/PageNav.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"df884c9b2eb818a7c7c1509d10483f89ba3899f4d5c803f50af4778360a2826c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): apps/web/src/components/ProductListsDialog.tsx:153 \u00B7 apps/web/src/components/ProductListsDialog.tsx:164 \u00B7 apps/web/src/components/standardsWizard/StandardSettings.tsx:107 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ProductListsDialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"641b40fa612b2b02b3eaef47602558c1ab47e5748ff5e8cc0ce4176c807d33fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/ReportsDialog.tsx:88 \u00B7 apps/web/src/components/ReportsDialog.tsx:99 \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":"apps/web/src/components/ReportsDialog.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"988947acaa9b1c9d1a6c587e86c98789e0af71e87d2c60210eb47da4ac6b51b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/Ribbon.tsx:906 \u00B7 apps/web/src/components/Ribbon.tsx:998 \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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abdcc41fd8f9ea226fe854e1d9c39bae9b3ff274e2e4f94fec1cd40ad7953c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/ScaleRequiredDialog.tsx:20 \u00B7 apps/web/src/components/WhatsNewDialog.tsx:4 \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":"apps/web/src/components/ScaleRequiredDialog.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c352a9549bc7bfc4f93aac0be2900ba6e30edca0ec1b2ffb86914d66434baa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/SessionsPanel.tsx:572 \u00B7 apps/web/src/components/sessions/SessionDialogs.tsx:593 \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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"c480faf9201bb6b27274eaba7e721788c7a9e5a67e976af93899b138e1bd7a25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/SessionsPanel.tsx:598 \u00B7 apps/web/src/components/sessions/SessionDialogs.tsx:564 \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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"c081a2f048584520c0b9c4723e9690e891f4833a4b65bdc473bc05009a893135"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/components/StartScreen.tsx:126 \u00B7 apps/web/src/components/StartScreen.tsx:135 \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":"apps/web/src/components/StartScreen.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76129affc4c03ce62aabaaa5bed8f8b615f212e85b5a20f258ca07ab5aa96cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): apps/web/src/components/sessions/AccessEditor.tsx:112 \u00B7 apps/web/src/components/sessions/AccessEditor.tsx:159 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 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":"apps/web/src/components/sessions/AccessEditor.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"368b1e45b5a8f3afdf13b5792757bbbbf363add6e360c6da7e53a0fa2b67e7a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/desktop/tokens.ts:118 \u00B7 apps/web/src/studio/crypto/keys.ts:31 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/tokens.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6ebf8d2b8af792a3dd37401fb18f2da69369d0836089d609ef8796accf566d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): apps/web/src/documents/renderCopy/client.ts:15 \u00B7 packages/pdf-core/src/engine.ts:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 95 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":"apps/web/src/documents/renderCopy/client.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2501cd7ed1f6bf8cc3148f80e3a7d4203cec7fc275585b21d7aa80865f3294"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/documents/security.ts:71 \u00B7 apps/web/src/studio/crypto/keys.ts:30 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/security.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe33f7e0a3f0d60202591a919ec8da5e7ea17b40adbc4d9a3cbdbcf64bb0af89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/web/src/markup/MarkupTools.ts:891 \u00B7 apps/web/src/markup/MarkupTools.ts:4352 \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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9fe01affab9cd4ef6575581178652b06a01838bdde9fe368624b56efdba392"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): apps/web/src/viewer/TileViewer.ts:842 \u00B7 packages/markup/src/render.ts:135 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad34deed0e8d216cd5887d1f22fff3c2f6714291ebd383a53bd7d0656339a6f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/markup/src/assemblies.ts:57 \u00B7 packages/markup/src/estimating.ts:91 \u2014 the two spans are one implementation copied and then locally edited \u2014 112 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":"packages/markup/src/assemblies.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1974fa5cc6d0ce35e6a153eaa39df77f1255b43c3aa1d3b83a9571528dae4afe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/markup/src/estimating.ts:141 \u00B7 packages/markup/src/estimating.ts:178 \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":"packages/markup/src/estimating.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae70db70f5096c4ea19d7e82ffadd1ad85e9a69f7997a03e9643a6f0855e550"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/markup/src/geometry.ts:642 \u00B7 packages/pdf-core/src/regionGeometry.ts:23 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/geometry.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0ac7fc1244c41e1ec8a92735466df3f6d6ef9b285d8e4316c2dec22aa20ea4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/stitch/src/align.ts:30 \u00B7 packages/stitch/src/matchLines.ts:139 \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":"packages/stitch/src/align.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b936fce03bff7625fd736d727db5639c2efc8da5fb7cc0d150d818fb0cf43933"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/help/gifs/break.cjs:8 \u00B7 scripts/help/gifs/lengthen.cjs:8 \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":"scripts/help/gifs/break.cjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f750488b0a85912aebece71681c930120ba69610adb09e9f59675be39d8d5613"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): scripts/help/gifs/mirror.cjs:8 \u00B7 scripts/help/gifs/move.cjs:8 \u00B7 scripts/help/gifs/path-array.cjs:9 \u00B7 scripts/help/gifs/polar-array.cjs:8 \u2014 the 4 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. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/help/gifs/mirror.cjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d496f37cbfa6d5e4a8a762c8ee7bbc1d4283a01a6d4d6ca41c7eeaa5753a2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/help/gifs/path-array.cjs:9 \u00B7 scripts/help/gifs/polar-array.cjs:8 \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":"scripts/help/gifs/path-array.cjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"990e20840f8a16dd28aea44b7d4777ef947497a47aafb1f9ef27aabdb0804fb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): scripts/help/gifs/tool-callout.cjs:2 \u00B7 scripts/help/gifs/tool-cloud-plus.cjs:2 \u00B7 scripts/help/gifs/tool-dimension.cjs:2 \u00B7 scripts/help/gifs/tool-flag-label.cjs:2 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 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/help/gifs/tool-callout.cjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0305199226967279768d66e78da4e2534657665e608abd4204d442d056888a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/help/gifs/tool-highlighter.cjs:4 \u00B7 scripts/help/gifs/tool-text-highlight.cjs:4 \u2014 the 2 copies are spread across 2 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":"scripts/help/gifs/tool-highlighter.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e989be3c7e6641b007375e14f9586d9ef46d087c40c10ed809065273eb583280"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/help/sections/03-markup-tools.cjs:229 \u00B7 scripts/help/sections/03-markup-tools.cjs:371 \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":"scripts/help/sections/03-markup-tools.cjs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48eba47d0f436231282b66d22221fb9d9f73837439896dcec5a135dd274990a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): apps/desktop/src/print.ts:25 \u00B7 apps/desktop/src/print.ts:93 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 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":"apps/desktop/src/print.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fc8091c225e77b585e91601ddf3109f4c85df6b2b20f20927db610cbfc10ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/App.tsx:510 \u00B7 apps/web/src/components/PreferencesDialog.tsx:175 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09b5baa28b2cf9afd2b02c3185e9fe23a6c1793b599f61dd6d556f6ae5bd607"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/App.tsx:10466 \u00B7 apps/web/src/markup/MarkupTools.ts:5709 \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":"apps/web/src/App.tsx"},"region":{"startLine":10466}}}],"partialFingerprints":{"codehealthFindingId/v1":"2324a0bb9cc117a39f2b7cb8130e14e1a5fd300f69d4b220dfa61e0d319aeb60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): apps/web/src/assemblies/countProposals.ts:96 \u00B7 apps/web/src/assemblies/proposals.ts:93 \u00B7 apps/web/src/compare/semanticStore.ts:90 \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":"apps/web/src/assemblies/countProposals.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3415a342039f629beba4784037850408630dd1dea6f58ba3a89e1cc0bfa70cce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): apps/web/src/cad/dwg/header.ts:79 \u00B7 apps/web/src/cad/dwg/header.ts:103 \u00B7 apps/web/src/cad/dwg/header.ts:147 \u00B7 apps/web/src/cad/dwg/header.ts:176 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"apps/web/src/cad/dwg/header.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3332b8d91526bb69f257b378bab098d8d92a97e21c704e30f32bda0b8b396893"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): apps/web/src/cad/dwg/index.ts:337 \u00B7 apps/web/src/cad/dxf.ts:258 \u2014 the two spans are one implementation copied and then locally edited \u2014 103 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":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"d713ac89c5f868d7116fe8d01d1e729afd600a123166d21af4d5894d7a6f01cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): apps/web/src/cad/pdf.ts:217 \u00B7 packages/markup/src/summary.ts:49 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"apps/web/src/cad/pdf.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b426657be18c3baf5afbdc95e4dae600e4f863498a29754f73654b0253246e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/cad/render.ts:527 \u00B7 apps/web/src/cad/sheets.ts:349 \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":"apps/web/src/cad/render.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dea55e1cd00b4dedf7d661d0d6e82590a68610884d5357a5a6b49e7486de278"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): apps/web/src/components/AssembliesDialog.tsx:550 \u00B7 apps/web/src/components/ItemsDialog.tsx:268 \u00B7 apps/web/src/components/ProductListsDialog.tsx:238 \u00B7 apps/web/src/components/TemplatesDialog.tsx:122 \u2014 the 4 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. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"20db8bf85d0ae55570c2d8a72006c84501f66549fd4d7f8577ee48073cead91c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/components/BatchDialog.tsx:446 \u00B7 apps/web/src/components/DigitalSignatures.tsx:668 \u2014 the 2 copies are spread across 2 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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcabee13ad5e86adee8ab3303d055b1e0b25477a2325d2c3849a4d8103c68ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/components/BatchDialog.tsx:523 \u00B7 apps/web/src/components/sessions/SessionDialogs.tsx:813 \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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac23495724f4761ab77dd781bd5530fca9c48b257ace369bbc40c9d1bc2eea7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/components/BookmarksPanel.tsx:235 \u00B7 apps/web/src/components/BookmarksPanel.tsx:297 \u2014 all 2 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":"apps/web/src/components/BookmarksPanel.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c56cd2a2b5ff0dd616a918c0415fcd323e2e765b1d05f4acc3a5613d8c2f01f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/components/CalibrateDialog.tsx:81 \u00B7 apps/web/src/components/ScaleToLengthDialog.tsx:63 \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":"apps/web/src/components/CalibrateDialog.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b0aec81eba91788610f91134ab417a570a1f27d47ddcb1f8cf5999c32d4d41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): apps/web/src/components/CompareDialog.tsx:282 \u00B7 apps/web/src/components/ProcessDialog.tsx:86 \u00B7 apps/web/src/components/SlipSheetDialog.tsx:106 \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":"apps/web/src/components/CompareDialog.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9eed0b7d56f6ddc52ef70ba4e5dcd98a032f409990963d8d0c8ad994357fe9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/components/DeletePagesDialog.tsx:74 \u00B7 apps/web/src/components/PrintDialog.tsx:108 \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":"apps/web/src/components/DeletePagesDialog.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9f970bcbfe26357d15868094838809096046fbff54defd7aa6347949ac1d39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): apps/web/src/components/DigitalSignatures.tsx:206 \u00B7 apps/web/src/components/DocumentPropertiesDialog.tsx:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"264b6a747a964e7a193d1727c4cf98085889e87059edcb85b3d0cfb6cc094842"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): apps/web/src/components/DigitalSignatures.tsx:206 \u00B7 apps/web/src/components/ScaleToLengthDialog.tsx:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d420f31a1081d9a32eeef23bbaa44b32300abc7599e934228fb76a08f945d898"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/components/HyperlinkDialog.tsx:155 \u00B7 apps/web/src/components/ManualQuantityDialog.tsx:104 \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":"apps/web/src/components/HyperlinkDialog.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45c4afe328c2270e502a8de9828ac38d4bf067149e488b1d2d9aa022d519aad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/components/LineStylesDialog.tsx:46 \u00B7 apps/web/src/components/PreferencesDialog.tsx:175 \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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4552bf2b4a8e16029c234db69304fcec09a810b92f4078e77b1ff30039e9e380"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): apps/web/src/components/LinkPreview.tsx:58 \u00B7 apps/web/src/components/SketchBar.tsx:41 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 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":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2397457e205ab1c7fa1bc84377e1465abe2cbd73ea3dbf35faf7060f7973f9c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/components/ManualQuantityDialog.tsx:100 \u00B7 apps/web/src/components/StampsDialog.tsx:146 \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":"apps/web/src/components/ManualQuantityDialog.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6ab5f7f5625c189fbbaa7c6157d0a3fac1874ee61b0fa62e5644585602b2f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): apps/web/src/components/MenuBar.tsx:227 \u00B7 apps/web/src/components/PreferencesDialog.tsx:234 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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":"apps/web/src/components/MenuBar.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"daeaca2b34870c9b93974fd36b4f9fa4d95d120756d4d1c74cdc5021903898c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/components/SetScaleDialog.tsx:153 \u00B7 apps/web/src/components/SetScaleDialog.tsx:162 \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":"apps/web/src/components/SetScaleDialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5e5dc6652d34aadbed9c986e3365089f5bcea5341cde7acf37cf273d45a8e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/components/SheetScaleReview.tsx:80 \u00B7 apps/web/src/components/TakeoffReview.tsx:62 \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":"apps/web/src/components/SheetScaleReview.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fb253da03be3ca9467f8751ffdd1cbc7e7a4d72af09378cc3b6b343406a661"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/documents/digitalIds.ts:224 \u00B7 apps/web/src/studio/projects/queue.ts:46 \u2014 the 2 copies are spread across 2 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":"apps/web/src/documents/digitalIds.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ac3571991c88776cd9676ffd4cfcc53f569b0bb55a1f6666eab15e585fe64f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/documents/incremental.ts:132 \u00B7 apps/web/src/documents/incremental.ts:155 \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":"apps/web/src/documents/incremental.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"752ece5da8df9f993d67931b9f7f7d94b510a259ed266e6cda12423d24c1cfdd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/documents/overlay.ts:45 \u00B7 packages/pdf-core/src/worker.ts:1017 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/overlay.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca73454ada54745d38962bd11aaa58de80134a395f40c5f947c6a71b3873333"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/markup/MarkupTools.ts:2510 \u00B7 apps/web/src/markup/MarkupTools.ts:2840 \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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2510}}}],"partialFingerprints":{"codehealthFindingId/v1":"da291497f1ffdcddb0f45f62f423383db9a699e70dd7b254e993fb4c9ae810bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/markup/MarkupTools.ts:4810 \u00B7 apps/web/src/markup/MarkupTools.ts:4877 \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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4810}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd5e311c7f45d41c376230223e79b88796b6b3e7f7958b5140023b0b1777128"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/markup/MarkupTools.ts:4866 \u00B7 apps/web/src/markup/MarkupTools.ts:4882 \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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4866}}}],"partialFingerprints":{"codehealthFindingId/v1":"74601773bdb89e872d5c04129e2c6f142a205ede141a8f2e85e7cebc9b100829"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/sheets/indexer.ts:343 \u00B7 packages/markup/src/fdf.ts:197 \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":"apps/web/src/sheets/indexer.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2efaa76e6da466edc4571972a2bd0652308c1b1e244f65aaa732066e2edb3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/sheets/marks.ts:90 \u00B7 packages/sheets/src/standard.ts:155 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/marks.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc86df33eb8526e46b5b73308fd179bd84a4f672f9d5b4c7fbc7ccbeb879b950"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/studio/crypto/store.ts:20 \u00B7 apps/web/src/studio/drive/pending.ts:16 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/crypto/store.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5935ae8a14f61b71b1e232213bc143512f22248923f3b4f2ae5ea197b300f757"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/web/src/viewer/TileViewer.ts:205 \u00B7 packages/stitch/src/manual.ts:56 \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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e4fa7f1433e88e0913dffc9d4be355e890d6a18fba1984f46691de46abce40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/markup/src/bookmarkTemplate.ts:21 \u00B7 packages/markup/src/setCategories.ts: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":"packages/markup/src/bookmarkTemplate.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce102ede5b84d6415347f8b10e035de54cf527fed190a1b6369683cc8e21a7de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/markup/src/render.ts:360 \u00B7 packages/markup/src/render.ts:639 \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":"packages/markup/src/render.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb72cd60baeb21d6fc998cc675b083926b2541ecd0838814c0bf7ed0467026d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/markup/src/summary.ts:49 \u00B7 packages/markup/src/textLists.ts:397 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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":"packages/markup/src/summary.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6221b12484c5b854800914fab43d3a95da2383d80fc43c6210b7acff41211682"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/markup/src/textLists.ts:302 \u00B7 packages/markup/src/textLists.ts:340 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 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":"packages/markup/src/textLists.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e33b1ca3329f4c3b3c3496ebfd86b75cc1b3b85cc726215e654ac56d91293fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): scripts/help/clips.cjs:18 \u00B7 scripts/help/gifs.cjs:20 \u00B7 scripts/help/shots.cjs:19 \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/help/clips.cjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4105395300b5e3e7edcd1a00d2556f4165ae45cc1498f8f2fff64c42e0b5d1cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): scripts/help/gifs/align-to-points.cjs:7 \u00B7 scripts/help/gifs/mirror.cjs:6 \u00B7 scripts/help/gifs/move.cjs:6 \u00B7 scripts/help/gifs/rotate.cjs:6 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 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/help/gifs/align-to-points.cjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c373ec8e93e85c6f36407774da5f650ec07a331369631392d0a2ad8c867af322"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/help/gifs/chamfer.cjs:9 \u00B7 scripts/help/gifs/fillet.cjs:9 \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":"scripts/help/gifs/chamfer.cjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2615369b736fbc51a37c91cc1df9ce13c797817405f17f035bcd6c470a7e0d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): scripts/help/gifs/tool-arrow.cjs:4 \u00B7 scripts/help/gifs/tool-cloud.cjs:4 \u00B7 scripts/help/gifs/tool-ellipse.cjs:4 \u00B7 scripts/help/gifs/tool-elliptical-arc.cjs:4 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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. There is one copy in each of 6 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/help/gifs/tool-arrow.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4841bfaa4b73f40dee3e1f6e0be4e251251bc4926330f3f39d22b617b40377b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/App.tsx:415 \u00B7 apps/web/src/components/PreferencesDialog.tsx:191 \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":"apps/web/src/App.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"646e3d972ddf5d917811b39b06a82e4447ffc2846fd5a217b2a6a5bbec60fc87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/App.tsx:2506 \u00B7 apps/web/src/App.tsx:2824 \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":"apps/web/src/App.tsx"},"region":{"startLine":2506}}}],"partialFingerprints":{"codehealthFindingId/v1":"6944a1cb0ffea3c3da4e8a4492a5bbd4077bb7ac106672477b9f4bd781d34e39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/App.tsx:3263 \u00B7 apps/web/src/App.tsx:5849 \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":"apps/web/src/App.tsx"},"region":{"startLine":3263}}}],"partialFingerprints":{"codehealthFindingId/v1":"518c78d4a6c2c43bb2fd1d85ba222cbaebc5859ac9d4dc3a3b3872ae60c8c759"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/App.tsx:3653 \u00B7 apps/web/src/App.tsx:3674 \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":"apps/web/src/App.tsx"},"region":{"startLine":3653}}}],"partialFingerprints":{"codehealthFindingId/v1":"310371a762779b014775c492084b3a8f8c6c97dc5c14b2c0bb9ebcceaef3d196"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/assemblies/starters.ts:471 \u00B7 apps/web/src/assemblies/starters.ts:488 \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":"apps/web/src/assemblies/starters.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b64b2871ddd3beadfc8806fde01c81fc061eab1fd8755dfd35da02c19235e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): apps/web/src/cad/dwg/r2007.ts:99 \u00B7 apps/web/src/cad/dwg/r2007.ts:133 \u00B7 apps/web/src/cad/dwg/r2007.ts:145 \u00B7 apps/web/src/cad/dwg/r2007.ts:160 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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":"apps/web/src/cad/dwg/r2007.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3635502cc6379a957bcd5f60036a67c7888e31326ee73a7fc0b09223169de2a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): apps/web/src/cad/dwg/r2007.ts:180 \u00B7 apps/web/src/cad/dwg/r2007.ts:187 \u00B7 apps/web/src/cad/dwg/r2007.ts:194 \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":"apps/web/src/cad/dwg/r2007.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5874d4d7e46c8064051eb90521751aff977a3f64d4094a9d5bff050477657b51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/components/AssembliesDialog.tsx:40 \u00B7 apps/web/src/components/ItemsDialog.tsx:23 \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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb186b4867378bfa90db35cc901b8cc4f2bf3a1627d45a6b6b3c97c99b69606"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/components/CompareDialog.tsx:102 \u00B7 apps/web/src/components/SemanticComparePanel.tsx:136 \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":"apps/web/src/components/CompareDialog.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c5f2d66d72146c5b72171fa71e8bfa444a7753912db6bf3b5c2fbd217ced30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/components/CompareDialog.tsx:319 \u00B7 apps/web/src/components/FormsPanel.tsx:109 \u2014 the 2 copies are spread across 2 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":"apps/web/src/components/CompareDialog.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0759bcd348c67056a8c31a57f59ef9a58bbd0c2ecf06a443509de1e6658f34f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/components/DigitalSignatures.tsx:283 \u00B7 apps/web/src/components/SecurityDialog.tsx:61 \u2014 the 2 copies are spread across 2 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"604050bcb7e8b38aa7cddf5f0fb9a21a53fd825f56f21474280a0f23e18412ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): apps/web/src/components/DigitalSignatures.tsx:678 \u00B7 apps/web/src/components/SecurityDialog.tsx:105 \u00B7 apps/web/src/components/sessions/InviteDialog.tsx:112 \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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"130caa461ac19a24df99e0b0a7ec7ad515d5865ead021cc78dbd4755d59d1825"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/components/FormulaBuilder.tsx:120 \u00B7 apps/web/src/components/HeaderFooterDialog.tsx:114 \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":"apps/web/src/components/FormulaBuilder.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c5c3e639ae804aba174555da6f241cf17b8de56b4dbedda31afacf762e6416"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): apps/web/src/components/PageToolsDialog.tsx:147 \u00B7 apps/web/src/components/PublishDialog.tsx:58 \u00B7 apps/web/src/components/SlipSheetDialog.tsx:117 \u00B7 apps/web/src/components/sessions/SessionDialogs.tsx:752 \u2014 the 4 copies are spread across 4 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":"apps/web/src/components/PageToolsDialog.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"40130386c884a44c6348a6fc3ea8a73e000d4f6e6bb4bdc3e568092f7fe43774"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/components/PageToolsDialog.tsx:218 \u00B7 apps/web/src/components/sessions/SessionDialogs.tsx:781 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PageToolsDialog.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"9358b66e099aa0e74461cf2285fad299fbece8d492a32b4f5cfc9edb9d6edab6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/components/PictureColoursDialog.tsx:131 \u00B7 apps/web/src/components/SoundDialog.tsx:103 \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":"apps/web/src/components/PictureColoursDialog.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dffdc01018055a730b5d15e2653e4ccd1c4066d9b7e0a781dda785bfffda14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/components/PreferencesDialog.tsx:199 \u00B7 apps/web/src/markup/pickImage.ts:38 \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":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"153f000e4cf2d0e6440764752fb91120589df6cf88aec5830611d68d773bd23b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/components/Ribbon.tsx:332 \u00B7 apps/web/src/components/ToolBar.tsx:279 \u2014 the 2 copies are spread across 2 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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0766d276320ad53b801741faefeef67f26b6f96e3420f71f51aedfaaac4db1a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): apps/web/src/components/standardsWizard/CalloutStep.tsx:141 \u00B7 apps/web/src/components/standardsWizard/ChainageStep.tsx:143 \u00B7 apps/web/src/components/standardsWizard/MatchLineStep.tsx:95 \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":"apps/web/src/components/standardsWizard/CalloutStep.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3900389258909cfe6634ce8620676ce29f32088a55cd22ed1519f30ac1b937c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/components/standardsWizard/StandardsWizard.tsx:373 \u00B7 apps/web/src/components/standardsWizard/StandardsWizard.tsx:396 \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":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"082dbb287d32c972f0744146670bf0ff7e07f3d943cb58858fc9fda1e0f81309"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/desktop/assistant.ts:539 \u00B7 apps/web/src/desktop/assistantScales.ts:109 \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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f4fc73f4e2feb2cd5073625331a63d28d76ead245a19c3cdcc999528a3b813"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): apps/web/src/desktop/assistant.ts:800 \u00B7 packages/markup/src/viewports.ts:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"692fac51eb9dfa59d0b8d47eeb051c0b3f98c0559e35546468b07da22019b47c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): apps/web/src/documents/overlay.ts:45 \u00B7 packages/pdf-core/src/worker.ts:1017 \u00B7 packages/stitch/src/affine.ts:24 \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":"apps/web/src/documents/overlay.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6303052dc915e7323203d8f1f07c2d2263135338328d5316f9e9a1af73c82225"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/documents/renderCopy/clip.ts:142 \u00B7 apps/web/src/documents/renderCopy/content.ts:345 \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":"apps/web/src/documents/renderCopy/clip.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a0fa048e652c4d766df18ab6def76a3b5166e5b08ee95c88ff6c28f6406504"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/documents/security.ts:238 \u00B7 apps/web/src/documents/security.ts:254 \u2014 all 2 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":"apps/web/src/documents/security.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"75df87e61a54a40dd584de6bb21a8317fbd5b8a51b28d8ebbe949940ea7cee4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/geospatial/sheets.ts:57 \u00B7 apps/web/src/markup/pictureColours.ts:85 \u2014 the 2 copies are spread across 2 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":"apps/web/src/geospatial/sheets.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a61ebf0baf8480fbfcf476b21290196a64522d8f54cf07b3afa0adfdfebc3d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): apps/web/src/markup/pickImage.ts:12 \u00B7 apps/web/src/storage/diskHandles.ts:154 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"apps/web/src/markup/pickImage.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b757b53e42e9e21fd2daef99c5094a0750e4761b59f9b8c52a90aa9f05dad37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/sheets/teachLinks.ts:76 \u00B7 packages/sheets/src/chainage.ts:68 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/teachLinks.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"caae374c5de5d66ad1009758c2fc51c8f018c8d2ac58b7ac55a35f34c5336581"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/studio/drive/DriveSession.ts:799 \u00B7 apps/web/src/studio/drive/rooms.ts:304 \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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bd56fe4547c93f76537a685389a6ef0bedd511070124ba2f4a903124721ab8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/studio/projects/store.ts:39 \u00B7 apps/web/src/studio/projects/store.ts:131 \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":"apps/web/src/studio/projects/store.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95be14beec46be221958a952be29c9c2fe7d3f04045ee966d1632e68ebc3d83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/web/src/viewer/TileViewer.ts:1264 \u00B7 apps/web/src/viewer/TileViewer.ts:1315 \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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a0cd2f5699498991f2d9154759f62138e6e8050fb6123e44bd13f583534b3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/markup/src/estimating.ts:109 \u00B7 packages/markup/src/estimating.ts:147 \u00B7 packages/markup/src/estimating.ts:184 \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":"packages/markup/src/estimating.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2813954693371ddf0be0f97ac3f723ca4516c01a02b1a6ebbfe90f0373d7c684"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/markup/src/geometry.ts:679 \u00B7 packages/markup/src/offset.ts:81 \u00B7 packages/stitch/src/manual.ts:72 \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":"packages/markup/src/geometry.ts"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"f562522d9c358c5ae8cf463b136f341c0a9548c4eaaad55d3b3d94446993dfb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/markup/src/table.ts:292 \u00B7 packages/markup/src/table.ts:303 \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":"packages/markup/src/table.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dec4aca07e91ec72e4255a51b79e288b1caaa10158d8e51c3616fa6d2bb0f0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/markup/src/table.ts:463 \u00B7 packages/markup/src/table.ts:494 \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":"packages/markup/src/table.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"23438c40df2e6b4dc06259fd084772515103a510b9f6a4d62792a4e28c373b55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/measure/src/measure.ts:137 \u00B7 packages/measure/src/measure.ts:166 \u2014 all 2 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":"packages/measure/src/measure.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"26315aa49e638c3fbb563717d988924f437c1dd2ea072f016bcb7e1519cf17c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/stitch/src/matchLines.ts:87 \u00B7 packages/stitch/src/matchLines.ts:138 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 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":"packages/stitch/src/matchLines.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b26a8c9a79706a74b911c90c337f0d4a648bfcd353defd2c8519b725ead99c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): scripts/help/gif.cjs:258 \u00B7 scripts/help/gif.cjs:294 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 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":"scripts/help/gif.cjs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e124f5a897a61fb2df608bf2fa40eb6229e1e1b0a584bec0fd72940b857a3ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): scripts/help/gifs/align-to-points.cjs:9 \u00B7 scripts/help/gifs/copy.cjs:8 \u00B7 scripts/help/gifs/mirror.cjs:8 \u00B7 scripts/help/gifs/move.cjs:8 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 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/help/gifs/align-to-points.cjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"77135bed812b62cc2e2f7320917a596af12689e5306dc9a6b33d266608c4c30a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/help/gifs/rotate.cjs:8 \u00B7 scripts/help/gifs/scale.cjs:8 \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":"scripts/help/gifs/rotate.cjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab32092271e3d4a848863ced3c85aa4820b128188a52446be9efbddeddd335d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): scripts/help/gifs/tool-arrow.cjs:2 \u00B7 scripts/help/gifs/tool-cloud.cjs:2 \u00B7 scripts/help/gifs/tool-ellipse.cjs:2 \u00B7 scripts/help/gifs/tool-elliptical-arc.cjs:2 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 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/help/gifs/tool-arrow.cjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"077dae6ceef68b8b384701e1b95c6863f2022622cd14022764eca3bd5f569169"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8 locations): scripts/help/gifs/tool-callout.cjs:2 \u00B7 scripts/help/gifs/tool-cloud-plus.cjs:2 \u00B7 scripts/help/gifs/tool-dimension.cjs:2 \u00B7 scripts/help/gifs/tool-flag-label.cjs:2 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 8 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/help/gifs/tool-callout.cjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"53290965449dac546ddac27b2c1bd85ccd7ae65e67797cf5f0ade07aab4eccdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): scripts/help/gifs/tool-callout.cjs:5 \u00B7 scripts/help/gifs/tool-cloud-plus.cjs:5 \u00B7 scripts/help/gifs/tool-dimension.cjs:5 \u00B7 scripts/help/gifs/tool-flag-label.cjs:5 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 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/help/gifs/tool-callout.cjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6479965183032b3308fe367d2bb1c375ade64f32ca057d930774383434e757c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/help/gifs/tool-highlighter.cjs:4 \u00B7 scripts/help/gifs/tool-text-highlight.cjs:4 \u00B7 scripts/help/gifs/tool-underline.cjs:4 \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/help/gifs/tool-highlighter.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3b799f98e4dc94f80e70b1778fbf1da2da6c948c8418976c3f37635227d32a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/help/lib.cjs:242 \u00B7 scripts/help/sections/03-markup-tools.cjs:383 \u00B7 scripts/help/sections/04-editing.cjs:20 \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/help/lib.cjs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b277abbb166330e51e003ceb9327053488ed7e7137e02304e3e68c69b337a7d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/help/sections/03-markup-tools.cjs:383 \u00B7 scripts/help/sections/04-editing.cjs:20 \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":"scripts/help/sections/03-markup-tools.cjs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"7932271a4937d3df2f59e861b0fc1c920a2e32a278d045003a4962d5ac6f5fb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/help/sections/04-editing.cjs:103 \u00B7 scripts/help/sections/04-editing.cjs:110 \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":"scripts/help/sections/04-editing.cjs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7d48cba2d1c8152d6468269f96a36d67b5dcd3cfe204698f44fba05210395c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/help/standards-gifs.cjs:98 \u00B7 scripts/help/standards-gifs.cjs:131 \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":"scripts/help/standards-gifs.cjs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b987f637e0624713dd3fe3cbab027b6366cd24f51a18d286792ad64a8520775"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/desktop/src/assistant/client.ts:23 \u00B7 apps/desktop/src/assistant/server.ts:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"apps/desktop/src/assistant/client.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"376a3dcf60e70debbae56b99dc34d0c40281c028cf4c5df705629aafda8a507d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/App.tsx:1845 \u00B7 apps/web/src/App.tsx:1970 \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":"apps/web/src/App.tsx"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"458b5a43d013542787c2610f35ca3d36a5c43039c6a5ec01590ea65b6bbfb0fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/App.tsx:5125 \u00B7 apps/web/src/App.tsx:5132 \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":"apps/web/src/App.tsx"},"region":{"startLine":5125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1adb076246d9a65ee266c4f26ad9a75f54605dd480a4ead85536621881e9d27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/App.tsx:5533 \u00B7 apps/web/src/App.tsx:10469 \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":"apps/web/src/App.tsx"},"region":{"startLine":5533}}}],"partialFingerprints":{"codehealthFindingId/v1":"599e6261658718ce9de1a3c65404f80810d50bc9f7a7efb369fe0da904d2cdc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/App.tsx:3546 \u00B7 apps/web/src/columns/listColumns.ts:497 \u2014 the two spans are one implementation copied and then locally edited \u2014 88 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":"apps/web/src/App.tsx"},"region":{"startLine":3546}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02ae1e226c6e3700a2dae40e9364bb208b6ca0e1ef86cc4a5d8b5652b1174ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/App.tsx:5857 \u00B7 apps/web/src/documents/stitchPages.ts:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 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":"apps/web/src/App.tsx"},"region":{"startLine":5857}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec47045a5b7828fd5d471e13a7cf52fc70145029f787007eb42927226b17c22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/App.tsx:648 \u00B7 apps/web/src/viewer/TileViewer.ts:1087 \u2014 the two spans are one implementation copied and then locally edited \u2014 99 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":"apps/web/src/App.tsx"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb8b87d6ffe5a8685e962a4cf46c0594efb5142acdab6c0256483e1f353938e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/assemblies/quantities.ts:170 \u00B7 apps/web/src/takeoff/reports.ts:134 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/assemblies/quantities.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6915d70f66e86005e3e2a2fe86235335556cda095f37d48d91d2d6700f9fc685"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/compare/diff.ts:271 \u00B7 apps/web/src/compare/diff.ts:346 \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":"apps/web/src/compare/diff.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"411c7e7b99f139a4dfb47b3df63e223fe88512945f9074c8a2ffcb733ab24a93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): apps/web/src/components/BatchDialog.tsx:314 \u00B7 apps/web/src/components/CompareDialog.tsx:387 \u00B7 apps/web/src/components/OcrDialog.tsx:75 \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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"983312e196fcbf17637c3bc439c7dae15273ce46857271bfc7e8a69e266ec3bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/components/CadBar.tsx:30 \u00B7 apps/web/src/components/MarkupList.tsx:560 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/CadBar.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c0f182f2f24d6ecb91fcf04fd3c80cc34d28fbe8f3c214be7f918811a1be85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/components/ColumnsDialog.tsx:136 \u00B7 apps/web/src/storage/fileGroups.ts:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a9f224afc2a2b946675761f793b8a4b8d5bcaf8659b8b7b3c732d690a4d382"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/components/ComboField.tsx:55 \u00B7 apps/web/src/components/InlineName.tsx:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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":"apps/web/src/components/ComboField.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7fc82954a0086d133bd68feece6a0ff552d49145fd3c004b41486f981d2dcd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/components/ContextMenu.tsx:148 \u00B7 apps/web/src/components/studio/chrome.tsx:144 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ContextMenu.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b221a31e02758d1594f0a57ac0bf552c40b77ffe4561aafa67ea63c7af9de9fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/components/DigitalSignatures.tsx:185 \u00B7 apps/web/src/components/ManualQuantityDialog.tsx:29 \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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65e583548565b3d2243cfa7aaca8028620eabe8f0a7573015c4deb144f1af1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/components/DigitalSignatures.tsx:192 \u00B7 apps/web/src/components/ProjectsPanel.tsx:89 \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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c383a82b429e19be94e66df265abcd73f2c1012d0f1dfb47efeb19add0044b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/components/FormsPanel.tsx:76 \u00B7 apps/web/src/components/InlineName.tsx:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"062dcdab983b9924588cc1337843711eb67f49fd89804579573db0f6db29b536"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/components/FormsPanel.tsx:76 \u00B7 apps/web/src/components/PageNav.tsx:168 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcec3e2e69a7ee0d15857016afe0897f27a659efb2d3fc9a3b34d9331346a44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/components/InlineName.tsx:11 \u00B7 apps/web/src/components/PageNav.tsx:168 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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":"apps/web/src/components/InlineName.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"71739ddef62dc05306fcfb6e76fa5a96a45a915a21e13557d15e57e9f40187f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/components/LineStylesDialog.tsx:363 \u00B7 apps/web/src/components/StampsDialog.tsx:406 \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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b42c265742eaddd8e23ee1d8394e51dcd88bd38d0b25c94effc8467009c10e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/components/MarkupList.tsx:554 \u00B7 apps/web/src/components/SketchBar.tsx:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c21e925b794e6b6f498595b35fe59fe1bc342d300784aa4e492a117b8714567"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/components/OcrDialog.tsx:99 \u00B7 apps/web/src/components/SlipSheetDialog.tsx:122 \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":"apps/web/src/components/OcrDialog.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5722f7f5af73ba3331801ce016149d6522cdc7a87f875872e7e36f571fb83858"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): apps/web/src/components/PageToolsDialog.tsx:263 \u00B7 apps/web/src/components/PrintDialog.tsx:110 \u00B7 apps/web/src/components/ProcessDialog.tsx:114 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PageToolsDialog.tsx"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d83d5de36ba862372e181fddd2b3dfa7a2d3507afc7c6f53920c994fed7280"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/components/PreferencesDialog.tsx:354 \u00B7 apps/web/src/components/ProjectsPanel.tsx:979 \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":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"177dc264ba1a1c0b557337fecff7ba3bfd236bac7a3ad40ab3f295a5a8492f0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/components/ReportsDialog.tsx:81 \u00B7 apps/web/src/components/ReportsDialog.tsx:103 \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":"apps/web/src/components/ReportsDialog.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba235a32db01fb06797b5563ae8c0a3dc71ce3faeb84f8a7bfcd23156c4f2221"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/desktop/assistant.ts:344 \u00B7 apps/web/src/desktop/assistant.ts:647 \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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"896ef5a54ea98d9128fdfbd4e2b33581330c6f1850670ba505fb3d258ed97028"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/desktop/assistant.ts:673 \u00B7 apps/web/src/desktop/assistantScales.ts:101 \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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"8980839c1b81101772b763ea93df55e0e4ad254379f6d98f504ed2da494d99ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/desktop/assistant.ts:853 \u00B7 apps/web/src/desktop/assistantStitch.ts:366 \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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82ea6f5c6e9ea4cf05b8c287ac56066b6c704eff61c205f4a3ab8cafee37235"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/desktop/assistant.ts:799 \u00B7 apps/web/src/viewer/TileViewer.ts:1087 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc94424a2bc4d32a698cb6935310f080e414c552985879c2d390f227d5e6601"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/desktop/assistant.ts:799 \u00B7 packages/markup/src/imageCrop.ts:65 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ed19129708d8da2caa4467309112f6a76c13e136a4bafe6094ad274251343b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/documents/pdfSign.ts:330 \u00B7 apps/web/src/documents/pki.ts:550 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"650bbca3fb5922c81373cf818acea8d46d89f52ed9f8e0e7ae7aefec7394203d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/documents/process.ts:260 \u00B7 apps/web/src/documents/process.ts:273 \u2014 the two spans are one implementation copied and then locally edited \u2014 178 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":"apps/web/src/documents/process.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6a96d616542cebf5edcb816e17170bc750e3997ff3095b7debddb702bd7fcb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/documents/renderCopy/clip.ts:49 \u00B7 apps/web/src/documents/renderCopy/clip.ts:91 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"apps/web/src/documents/renderCopy/clip.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0ce8679aaf2aa0665438bec2c3a40cf55c96a72d5c16d2a8400e9ae2e4a632"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/documents/renderCopy/content.ts:129 \u00B7 apps/web/src/documents/renderCopy/content.ts:147 \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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd148b98c11c47b2454d555455a421a61a97c2e5f2f4ccb840bf8acfd36c18d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/markup/MarkupTools.ts:2923 \u00B7 packages/markup/src/render.ts:701 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2923}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec84062b1959b354201a11b63902a2eed69f0131afaf5184b6a0ac43015b6359"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): apps/web/src/markup/MarkupTools.ts:5305 \u00B7 packages/markup/src/geometry.ts:754 \u00B7 packages/measure/src/fill.ts:142 \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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":5305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1632911e3e42d77846a124404b83b29cea4abf783bb94bcbbb3fac6c2911667a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/measure/viewScales.ts:101 \u00B7 packages/measure/src/snap.ts:111 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"apps/web/src/measure/viewScales.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10c7fc6b7916f7f0140ed016f124895a08466ea556596d8e9bc1ab00929b72d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): apps/web/src/sheets/indexer.ts:346 \u00B7 packages/markup/src/fdf.ts:200 \u00B7 packages/markup/src/import.ts:946 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/indexer.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"307acccc95e1ab6979fe94eb8366f7d20798c5c5374d7e5cea7804f231260d83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/stamps/revuStamps.ts:73 \u00B7 apps/web/src/toolchest/toolSets.ts:102 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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":"apps/web/src/stamps/revuStamps.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab872bd1096027549771cd7a5aa64ab3489b309421e1ca0fd309c905ec6b2ed2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/storage/diskHandles.ts:38 \u00B7 apps/web/src/studio/drive/pending.ts:13 \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":"apps/web/src/storage/diskHandles.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a0c0d9f0fc037daf2077fbf14b04c616550da3ebead851244b1a97830eddea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/studio/drive/DriveSession.ts:136 \u00B7 packages/markup/src/xfdf.ts:45 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe524e2ce57e65c2ab83b9fc56d643b4084b3fcc819631e24a7b54689cd62bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): apps/web/src/studio/report.ts:120 \u00B7 packages/markup/src/report.ts:91 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"apps/web/src/studio/report.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd6c49b19c97bf4b60004675d634dc768e94a2406d6a0426c6e318d5dae61c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/viewer/TileViewer.ts:1103 \u00B7 apps/web/src/viewer/TileViewer.ts:1190 \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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da23a8c5c66ee819c46032947cdf0297aaeabd16d7ef08bdf8a517ee2f0352d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/web/src/viewer/TileViewer.ts:1383 \u00B7 apps/web/src/viewer/TileViewer.ts:1403 \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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ed6081b2ad7f35061a0de6a60263159bd73c42460eef37951ee5f37892c737"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/markup/src/cad.ts:131 \u00B7 packages/markup/src/cad.ts:144 \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":"packages/markup/src/cad.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1c3db0297c75cc30df3c310e9c48808b92b1e18153025d5bfbf6f59f4fdd97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/markup/src/export.ts:261 \u00B7 packages/markup/src/export.ts:543 \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":"packages/markup/src/export.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ea30706024681f4d774356f04e6add22611ab22ba127f4e99782a16e8348e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/markup/src/fdf.ts:76 \u00B7 packages/markup/src/pdfExtras.ts:44 \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":"packages/markup/src/fdf.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37ad52be49b95a71c7cc28ebec7233f9cd24452e63b196b87da670f48c54e9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/markup/src/revuWrite.ts:334 \u00B7 scripts/help/sections/03-markup-tools.cjs:86 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a54986f16d32ae4cf9a396ad4d7d8e0c95038ebb9df09c0d1c687b7ebd93781"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/markup/src/store.ts:869 \u00B7 packages/markup/src/store.ts:875 \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":"packages/markup/src/store.ts"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"176c9d4dbd849c830782eee4cbef9b08ebea81f46a0f74c50783d039c4475990"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/measure/src/tracking.ts:134 \u00B7 packages/measure/src/tracking.ts:147 \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":"packages/measure/src/tracking.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac19b3734858d38dc68565b8cc9be2f06bc67111382e447586b753f38287ad2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/check-client-data.mjs:114 \u00B7 scripts/check-client-data.mjs:122 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"scripts/check-client-data.mjs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5623dca6efbbe68fd985abe9b1f0f3002453e1a4765e9c0f53b921898942e6db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): scripts/help/clips/assemblies.cjs:13 \u00B7 scripts/help/clips/bulk-scale.cjs:11 \u00B7 scripts/help/clips/geospatial.cjs:21 \u00B7 scripts/help/clips/page-labels.cjs:17 \u00B7 \u002B1 more site(s) not listed \u2014 the 4 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":"scripts/help/clips/assemblies.cjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0204ecfff05f1c82db63bedc173d605c3891e8ebc601d48cf6cfa1248e625e98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/help/clips/geospatial.cjs:8 \u00B7 scripts/help/clips/stitching.cjs:11 \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":"scripts/help/clips/geospatial.cjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a811ae6d380515a99a57195adaa658272e3677102e19fe407ff4545440c2fb48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/help/clips/lists.cjs:12 \u00B7 scripts/help/clips/tables.cjs: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":"scripts/help/clips/lists.cjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0752f97d7b11e4f728617b95f63d4f97a6d7b44c2abfb4ec96d991c4efd7b1ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/help/gifs-lib.cjs:79 \u00B7 scripts/help/gifs-lib.cjs:87 \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":"scripts/help/gifs-lib.cjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eedfb65c4ca09103b181124549677a19343f958889a02d567ce5e2f2dc6e8f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12 locations): scripts/help/gifs/break.cjs:2 \u00B7 scripts/help/gifs/convert-to-cloud.cjs:2 \u00B7 scripts/help/gifs/copy.cjs:2 \u00B7 scripts/help/gifs/explode.cjs:2 \u00B7 \u002B8 more site(s) not listed \u2014 the 12 copies are spread across 12 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/help/gifs/break.cjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6652297a30277924275a0a429429f79576463d5b2184982a0da45b30467508d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): scripts/help/sections/03-markup-tools.cjs:32 \u00B7 scripts/help/sections/04-editing.cjs:2 \u00B7 scripts/help/sections/05-measure.cjs:3 \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/help/sections/03-markup-tools.cjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f82270fa43cf80e636531d37c4e7a362a8d1ac094638a0f983316f24e47a44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/help/sections/04-editing.cjs:88 \u00B7 scripts/help/sections/04-editing.cjs:94 \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":"scripts/help/sections/04-editing.cjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c74a4260dec486d2050d6edd79a5352843a8134fc8896d2f458435df887652"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): scripts/help/sections/04-editing.cjs:104 \u00B7 scripts/help/sections/04-editing.cjs:111 \u00B7 scripts/help/sections/10-forms-signatures.cjs:28 \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":"scripts/help/sections/04-editing.cjs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"029726ed9bbf6362449299da7123b58cde42477eb7e14fbc9bc40049db32068b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/help/sections/05-measure.cjs:44 \u00B7 scripts/readme/takeoff-shots.cjs:28 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/help/sections/05-measure.cjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b59c588556a04aab5819543117c69c6d428630b155d04962f664e79be7c0c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/help/sections/06-markups-list.cjs:10 \u00B7 scripts/help/sections/07-tool-library.cjs:2 \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":"scripts/help/sections/06-markups-list.cjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c8d6465923d9934b0c5503408d6e8eee5b42505ce4515476bac4baecae1bf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/help/sections/06-markups-list.cjs:129 \u00B7 scripts/help/sections/13-together.cjs:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"scripts/help/sections/06-markups-list.cjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6178b2984edbacf6d317659f0a5eb6b51d4d05a031672c2c5f9ed799448d996"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/App.tsx:3538 \u00B7 apps/web/src/App.tsx:6312 \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":"apps/web/src/App.tsx"},"region":{"startLine":3538}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd78d9b4fbb928a19098b1f980b36f6657dd1413cb68ce4e6a0f09a7abaa1ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/App.tsx:5418 \u00B7 apps/web/src/App.tsx:5443 \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":"apps/web/src/App.tsx"},"region":{"startLine":5418}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fceb1f70000191cd9a0508c3234b25c5cc59cf486963b081a0813fbed8e1f1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/App.tsx:5848 \u00B7 apps/web/src/markup/pickImage.ts:65 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":5848}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1400c340e4b6cac5f7334e5b6bc67ab2b88b99acf12cc0a1a4371fe512bcaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): apps/web/src/App.tsx:11066 \u00B7 apps/web/src/components/PropertiesPanel.tsx:214 \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":"apps/web/src/App.tsx"},"region":{"startLine":11066}}}],"partialFingerprints":{"codehealthFindingId/v1":"72be334cdadb4c8f82ede923b074165467222d869518a7390789ed65e2c834a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/cad/dwg/objects.ts:511 \u00B7 apps/web/src/cad/dwg/objects.ts:930 \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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e8598cd2fdb454eea1442d2bac1b14e6a73324aa3a0b4270de2ab0ec8da2d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/cad/dwg/objects.ts:976 \u00B7 apps/web/src/cad/dwg/objects.ts:1159 \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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb13653fe565db5f31a92ed65b52937d710abd532e05aa8f9751bc9bc2b0b42c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): apps/web/src/cad/render.ts:519 \u00B7 packages/markup/src/cad.ts:169 \u00B7 packages/measure/src/measure.ts:209 \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":"apps/web/src/cad/render.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"3426dfb01ee39e8bbf0e445976428a51144c2ab02ba6d1c354da93d844ee602a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/cad/render.ts:537 \u00B7 apps/web/src/cad/sheets.ts:359 \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":"apps/web/src/cad/render.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"2520d948dbd2d2594be3d719ccba70f617213ccb44cc2667ccecb11402502774"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): apps/web/src/columns/listColumns.ts:197 \u00B7 apps/web/src/columns/listColumns.ts:399 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3ec254cc0d5049d6fd53977577e6bec3a9557b916aff07f31dd4563b1db5c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/compare/compare.ts:96 \u00B7 apps/web/src/desktop/assistantSymbols.ts:65 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/compare/compare.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaee720b3a5f9bc067a41b080b5564e2ae806bd6ee748feb56e6cc8caa56969"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/components/AssemblyInputs.tsx:60 \u00B7 apps/web/src/components/LineStylesDialog.tsx:104 \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":"apps/web/src/components/AssemblyInputs.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d72faea16f27b3b0849364b547a1b17cad8b57c269df17f33ace969079a976"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/components/BatchDialog.tsx:382 \u00B7 apps/web/src/components/PageToolsDialog.tsx:193 \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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"781348df7d6cd4ac7d554650bb747c6f7f109a030ad5c0b605174c3b32db735c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/components/BookmarksPanel.tsx:118 \u00B7 apps/web/src/components/BookmarksPanel.tsx:253 \u2014 all 2 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":"apps/web/src/components/BookmarksPanel.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cb0a9fc4ca5881f9248719ec882cecbe0dc488d5d627ae63393f6aee27c40e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/components/ContextMenu.tsx:95 \u00B7 apps/web/src/components/ContextMenu.tsx:117 \u2014 all 2 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":"apps/web/src/components/ContextMenu.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2969014a24a7b59cafec6ca9af682e054f6caf4c647eaac4260bd809ccc898"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/components/DeletePagesDialog.tsx:14 \u00B7 apps/web/src/measure/scalePresets.ts:76 \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":"apps/web/src/components/DeletePagesDialog.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2da17a59dddebaf2ed51628431171a79f84cd682c79a0531361cb0a36ab566"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): apps/web/src/components/FieldEditor.tsx:27 \u00B7 apps/web/src/documents/pageTools.ts:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 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":"apps/web/src/components/FieldEditor.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d912d40306b346330ab7abbad79366806151ae70f15e13472921ec3d1eb421f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): apps/web/src/components/ItemsDialog.tsx:82 \u00B7 apps/web/src/components/ProductListsDialog.tsx:76 \u00B7 apps/web/src/components/QuantitiesDialog.tsx:45 \u00B7 apps/web/src/components/ScriptsDialog.tsx:71 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ItemsDialog.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"412dcb75267369444a2089845cfe6a474ecd5c1780d00bb8e911054ef53c3501"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/components/Library.tsx:219 \u00B7 apps/web/src/components/ToolChest.tsx:546 \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":"apps/web/src/components/Library.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d476eda8871d83173aea06381e19c1a915e3f902e41d0d3a1b4de3e3e7fd103a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/components/LibraryDialog.tsx:23 \u00B7 apps/web/src/components/SetsPanel.tsx:57 \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":"apps/web/src/components/LibraryDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa72704872c5cfe9aa67a36d01fc5ff4a23124503073738058d9fbec7d7d887"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): apps/web/src/components/LineStylesDialog.tsx:592 \u00B7 apps/web/src/toolchest/revuLibraries.ts:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"af69e60b60dcf30474832730ab45b83dce1a7937f6c2539620ab6230ed2a6327"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/components/LinkPreview.tsx:167 \u00B7 apps/web/src/components/standardsWizard/SheetView.tsx:112 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"883d41816e986aa01ad85f1a8cc58f86457c99495bc27b038cff3ed827b2cef8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): apps/web/src/components/LinkPreview.tsx:56 \u00B7 apps/web/src/components/MarkupList.tsx:561 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cff08addab0fc11be4b5f7c00d7b9edbc383b4402478d9023c0090d7bfa0ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/components/MeasurementsPanel.tsx:271 \u00B7 apps/web/src/components/MeasurementsPanel.tsx:277 \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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"901dfe628e0125fdff7a0b5da4cd4e3639b2460adcd7d32862d80188c7137c0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/components/PropertiesPanel.tsx:170 \u00B7 apps/web/src/components/PropertiesPanel.tsx:187 \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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0309cfa40bc7a5bfc36d7f468951ab7f2ce3c4a8183667634c35f56803c6d1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): apps/web/src/components/SearchPanel.tsx:320 \u00B7 packages/markup/src/arrange.ts:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 97 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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be70389247da7d13770403ec06e283f1db59232fbd471b8eefb43eafba0fad8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): apps/web/src/desktop/assistant.ts:562 \u00B7 apps/web/src/desktop/assistant.ts:677 \u00B7 apps/web/src/desktop/assistant.ts:724 \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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e2f6300d789b0d88ee7bfad568c2ee8eb5c164a404a421cbd2940b90f5a6f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): apps/web/src/desktop/assistant.ts:817 \u00B7 apps/web/src/desktop/assistant.ts:856 \u00B7 apps/web/src/desktop/assistantStitch.ts:369 \u2014 the 3 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee89ae21d2388a69ce6b0771c90cc07446b3298273579a1236f9e8cbeb8b743"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/desktop/assistantScales.ts:109 \u00B7 apps/web/src/desktop/assistantStandards.ts:135 \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":"apps/web/src/desktop/assistantScales.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab09653153a04efba9a8f72e7b24d300223bf94276fcb5db8e3a2551304398df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/documents/digitalIds.ts:50 \u00B7 packages/markup/src/revuWrite.ts:389 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/digitalIds.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0468682d4daaf6ae67a14317e4f4c21fc212b8a64682c42d5573fe1b3d3d9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): apps/web/src/documents/forms.ts:449 \u00B7 apps/web/src/documents/forms.ts:644 \u00B7 apps/web/src/documents/forms.ts:663 \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":"apps/web/src/documents/forms.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0afc3dbbdf1561335473aa6a7557abf335e523a5669c0e0c87cd9ead5dfe76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/documents/imagePdf.ts:99 \u00B7 apps/web/src/documents/pageImages.ts:38 \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":"apps/web/src/documents/imagePdf.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffbc8aa33c63d8fc5462c0defffa0d0ea78340a3ecc1af7292cb6922f9fa927"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/documents/ltv.ts:198 \u00B7 packages/markup/src/pdfExtras.ts:183 \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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd58bc59705062421948a68b10a40f7c2e4c01cf04ddff8326857af3dbba6f73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): apps/web/src/documents/pdfSign.ts:50 \u00B7 packages/markup/src/export.ts:1279 \u2014 the two spans are one implementation copied and then locally edited \u2014 132 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a294df080df4d0801bc2eb46fe81f65ca6b948feb9a2bc376cf7e762450df501"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): apps/web/src/documents/printPdf.ts:12 \u00B7 apps/web/src/sheets/regions.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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":"apps/web/src/documents/printPdf.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a568f123fb903924cc4f8a8d434ead7fd13ce2241720ae29e73bdad4cf0bbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/documents/renderCopy/clip.ts:113 \u00B7 packages/measure/src/visualSearch.ts:122 \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":"apps/web/src/documents/renderCopy/clip.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac5081ff0b02e3f3bbe836be65c948a2cc183c5de9f59457c510cf7db88d623"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/documents/renderCopy/images.ts:74 \u00B7 packages/markup/src/pdfExtras.ts:265 \u2014 the 2 copies are spread across 2 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":"apps/web/src/documents/renderCopy/images.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5354b8d8f1a9a3b10d1628a1c14763c0c9fa74344ad1558086d5660b6f519e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): apps/web/src/documents/renderCopy/renderCopy.ts:53 \u00B7 packages/markup/src/pdfExtras.ts:262 \u00B7 packages/markup/src/revuWrite.ts:32 \u00B7 packages/markup/src/toolchest.ts:218 \u2014 the 4 copies are spread across 4 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":"apps/web/src/documents/renderCopy/renderCopy.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e36ee524c2e06ff2132f481f1cda12d81ae9cb1eebf712ea109cfa07aea654"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): apps/web/src/documents/stitching.ts:215 \u00B7 apps/web/src/viewer/TileViewer.ts:223 \u00B7 packages/markup/src/arrange.ts:261 \u00B7 packages/markup/src/geometry.ts:642 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 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":"apps/web/src/documents/stitching.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"67169826b816d40d17bd26e727266566f3a358666b088269a00937c80e68748d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): apps/web/src/documents/zip.ts:4 \u00B7 apps/web/src/sheetsync/xlsx.ts:15 \u00B7 packages/markup/src/pdfExtras.ts:254 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/zip.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"476c7be3fa5730a61a3c3049370cdfb21d77b75fbdd5f079082d20b5d1e685f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/geospatial/ifc.ts:329 \u00B7 apps/web/src/geospatial/ifc.ts:337 \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":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f01f6bc3bf353d7546bfd19d022ed30f8f49cb80e1efb44caa81389d35e6cab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): apps/web/src/library/catalog.ts:45 \u00B7 apps/web/src/library/pack.ts:38 \u00B7 apps/web/src/sheets/standards.ts:214 \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":"apps/web/src/library/catalog.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd41bbc11857e9e89bfe062f6c106f46677fa38d1025e9bdb8b6164a28defdf2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/library/catalog.ts:113 \u00B7 apps/web/src/storage/fileStore.ts:73 \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":"apps/web/src/library/catalog.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf13a03061a72e039bd658161982618939058456b24643b2c21e938c83ca767b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/markup/MarkupTools.ts:1999 \u00B7 apps/web/src/markup/MarkupTools.ts:2026 \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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74c94cac30e389347e36a97a3d2e0a3fd2645d63d9105ee7a3ed55cde64d7a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/markup/MarkupTools.ts:5415 \u00B7 apps/web/src/markup/MarkupTools.ts:5433 \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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":5415}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36dfe318acc7779b04081bf4114b750723d1e983d49cd6a1136a7b5bace7a4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/search/sources.ts:81 \u00B7 apps/web/src/search/sources.ts:103 \u2014 all 2 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":"apps/web/src/search/sources.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02b23caf0a3eda512adf803ff0507bb24732e0eb402600bee1f318dbb5ca36c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): apps/web/src/sheets/marks.ts:273 \u00B7 apps/web/src/sheets/wizardLinks.ts:49 \u2014 the two spans are one implementation copied and then locally edited \u2014 123 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4c5f34814e488b94c64ed7a1700ba263caa357c3555491cef4c0acf65a9126"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/studio/projects/Project.ts:498 \u00B7 apps/web/src/studio/projects/Project.ts:520 \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":"apps/web/src/studio/projects/Project.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"67726400368f5111c65d89a2e292964ca598a96dc9014548fe28e1731c19f8e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/web/src/viewer/TileViewer.ts:1445 \u00B7 apps/web/src/viewer/TileViewer.ts:1453 \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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39eba0652bde7e793df219f1e01df54a5931166ceb48c96dd86fcf941ab1652"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/markup/src/arrange.ts:79 \u00B7 packages/markup/src/arrange.ts:123 \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":"packages/markup/src/arrange.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a1285c81e3d4a1fe1761bc96e53c498900bd9b60447ffab098bc5b31900e90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/markup/src/arrange.ts:15 \u00B7 packages/markup/src/model.ts:594 \u2014 the two spans are one implementation copied and then locally edited \u2014 109 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":"packages/markup/src/arrange.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcf7f7202b7465a2a374e982fd90249b376098d4585a0c1ec76b2f0d6144ed8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/markup/src/bax.ts:189 \u00B7 packages/markup/src/fdf.ts:333 \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":"packages/markup/src/bax.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"515fd593995807fe7fcbed21edeb0f91895987adc48227f7453879719a037395"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/markup/src/bluebeam.ts:444 \u00B7 packages/markup/src/columns.ts:136 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 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":"packages/markup/src/bluebeam.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"088e4b488e031dc7590574b85d51d67a8f1b1ec923fca98161ec069d4c56bcac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/markup/src/bluebeam.ts:137 \u00B7 packages/markup/src/fonts.ts:126 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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":"packages/markup/src/bluebeam.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c9920342108b4bd822708ae1fbf09ffdd4657a5a56bd74edbd7e2ff7ae8c99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/markup/src/cad.ts:96 \u00B7 packages/markup/src/cad.ts:170 \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":"packages/markup/src/cad.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb57125cd077bd26887e4fa4cab0ccf55b27cb5406480d35ef2f085f983d5c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/markup/src/cad.ts:170 \u00B7 packages/measure/src/measure.ts:210 \u00B7 packages/measure/src/measure.ts:537 \u2014 the 3 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":"packages/markup/src/cad.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea73c3964d4c29e9e6b992202d42c5518dc418376eccc92577367a76b217ad7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/markup/src/cad.ts:207 \u00B7 packages/markup/src/cad.ts:222 \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":"packages/markup/src/cad.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9966eb05c3dc290cb24efacc7778035ad81df8a32b2f5340572f889bf43d8df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/markup/src/cad.ts:386 \u00B7 packages/markup/src/cad.ts:423 \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":"packages/markup/src/cad.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f79e679047af62e4952665d8650789f14a644738e29dc3691c5eac1c6490b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/markup/src/export.ts:516 \u00B7 packages/markup/src/export.ts:564 \u2014 the two spans are one implementation copied and then locally edited \u2014 135 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":"packages/markup/src/export.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa407d6b0c6824efd0aea2b99629bbf6f5e261caea74bffc2d56e8ff5d32ef6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/markup/src/export.ts:1523 \u00B7 packages/measure/src/measure.ts:381 \u2014 the two spans are one implementation copied and then locally edited \u2014 125 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":"packages/markup/src/export.ts"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c67f506a639f1298f27028b88425ed2f787f943db97d27822a949c75213d27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/markup/src/export.ts:1523 \u00B7 packages/measure/src/snap.ts:368 \u2014 the two spans are one implementation copied and then locally edited \u2014 125 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":"packages/markup/src/export.ts"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"905c3361190d398d7270bbdadb32e6bfdcd31602e5256c5bb9d3137d6a4b9725"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/markup/src/fdf.ts:200 \u00B7 packages/markup/src/toolchest.ts:823 \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":"packages/markup/src/fdf.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea35b8bcae83901247d48ffd613013155217c6c866d282ac05f9762e34b644e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/markup/src/geometry.ts:688 \u00B7 packages/markup/src/model.ts:721 \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":"packages/markup/src/geometry.ts"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4782c180007650351a96f9327db2258c7c39146012cab61ed7b59b71cc98e08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/markup/src/revuWrite.ts:35 \u00B7 packages/markup/src/revuWrite.ts:396 \u00B7 packages/markup/src/toolchest.ts:221 \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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c60933ad928c91fbefb44450b6af672165cbcfc0cab6395fe7acddaf81abac3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/sheets/src/detect.ts:105 \u00B7 packages/sheets/src/links.ts:84 \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":"packages/sheets/src/detect.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f42fe65e1cae2cde09d2ed9e71b211b9e874f9739657da99f4caaf19f8172a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): scripts/help/gifs/align-to-points.cjs:2 \u00B7 scripts/help/gifs/chamfer.cjs:2 \u00B7 scripts/help/gifs/extend.cjs:2 \u00B7 scripts/help/gifs/fillet.cjs:2 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 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/help/gifs/align-to-points.cjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"66859ac34cf6a1ae80e506811ddae567414b5261e572539912fa74620368612f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/help/gifs/flip.cjs:4 \u00B7 scripts/help/gifs/mirror.cjs:4 \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":"scripts/help/gifs/flip.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3930b74a26ddc66e99540c484c75460ada69f5a9350f0bc02c953a1969aa6d9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8 locations): scripts/help/kestrel.cjs:37 \u00B7 scripts/help/sections/02-viewing.cjs:23 \u00B7 scripts/help/sections/03-markup-tools.cjs:234 \u00B7 scripts/help/sections/03-markup-tools.cjs:376 \u00B7 \u002B4 more site(s) not listed \u2014 the 7 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/help/kestrel.cjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb043ea1e626c17e7f79c4a472542c8628471210dc88668db0074b9bd847e32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/help/sections/03-markup-tools.cjs:338 \u00B7 scripts/help/sections/04-editing.cjs:176 \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":"scripts/help/sections/03-markup-tools.cjs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"2945949d98a5285afe48192d019dbda79c00cdd7f4f2ebce03f845af4620a275"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/help/sections/05-measure.cjs:110 \u00B7 scripts/help/sections/05-measure.cjs:122 \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":"scripts/help/sections/05-measure.cjs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a381e438648a119352739dc35da0ba8541c38261dcc9c91650a5d3fe8d67957d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/help/sections/06-markups-list.cjs:99 \u00B7 scripts/help/sections/07-tool-library.cjs:32 \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":"scripts/help/sections/06-markups-list.cjs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0115d7a7d62d6f21595dda5c58cc16e332828576d7f90bc7a5ce28e33b56db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/help/sections/07-tool-library.cjs:52 \u00B7 scripts/help/sections/14-customise-help.cjs:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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":"scripts/help/sections/07-tool-library.cjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d66b94bb169a7b7d29a7b10be8926cfedba9943d48796d3eb9f8f45818d21c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/help/sections/09-sets-revisions.cjs:58 \u00B7 scripts/help/sections/09-sets-revisions.cjs:73 \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":"scripts/help/sections/09-sets-revisions.cjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e92ad925d1e149f4e3dc6b41e7a3691fe6f9e6939fbcbd8534633db3f0ab84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/help/sections/09-sets-revisions.cjs:107 \u00B7 scripts/help/standards-gifs.cjs:58 \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":"scripts/help/sections/09-sets-revisions.cjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4894058025bedda9cc78cb67fb3dacd5d7a1a7c9ec00e161f0114adbef3851"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): scripts/readme/bulk-ribbon-shot.cjs:8 \u00B7 scripts/readme/measure-redact-shots.cjs:10 \u00B7 scripts/readme/takeoff-shots.cjs:13 \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":"scripts/readme/bulk-ribbon-shot.cjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf20fcaaab33a67831839e709fba0d719d1f2319532b564a43e159700d3b94d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/check-cad-samples.mjs:7 reaches into another package with a relative path (../apps/web/src/cad/convert.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-cad-samples.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c21273b51a87e4e9a434a6b90ff4a8c414d72bde41b538c7dc51b86dd3e3de"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/check-cad-samples.mjs:8 reaches into another package with a relative path (../packages/markup/src/pdfExtras.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-cad-samples.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb926c0a25e8b2ecaeb0183e447f22c6dd4ca05047e5e92c7fb5ab9af5d0b2ac"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/check-cad-samples.mjs:9 reaches into another package with a relative path (../packages/markup/src/bluebeam.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-cad-samples.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee7d57e54a63a60584e86ba78ca54ef5a5d3f5898326bc19dbb619d161bb89c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function App (cyclomatic 384, cognitive 306): App has cyclomatic complexity 384 and cognitive complexity 306; 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":"apps/web/src/App.tsx"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ac484e0e1a29c595f0c0ae92c9da58e28b76af361e51622b72937cbca08cb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pointerDown (cyclomatic 253, cognitive 346): pointerDown has cyclomatic complexity 253 and cognitive complexity 346; 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"8529397151bbc801cac43a24f13f37cbd55faeb959a50d2b7cdacc4d65b56e06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromRaw (cyclomatic 138, cognitive 206): fromRaw has cyclomatic complexity 138 and cognitive complexity 206; 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":"packages/markup/src/import.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ecd0540c8cc52000ae4f2e183b188306016e3b2cedbc2842f3c6b2c42121dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function annotationDict (cyclomatic 138, cognitive 118): annotationDict has cyclomatic complexity 138 and cognitive complexity 118; 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":"packages/markup/src/export.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8b0f1b27fd23540cb84cd719421fa6d4e2050052c3f1230b913b4107489fcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCommands (cyclomatic 124, cognitive 104): buildCommands has cyclomatic complexity 124 and cognitive complexity 104; 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":"apps/web/src/commands/appCommands.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"60258c00c9df6b47eaf07bf3413a1e8ee03240ef067fde5c6550a021a5057f30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 122, cognitive 284): (anonymous) has cyclomatic complexity 122 and cognitive complexity 284; 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":"apps/web/src/App.tsx"},"region":{"startLine":3422}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bcc44b52bbf41e8569cc173b3aba163db645ba727050116af56168f38fa314"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sidePanel (cyclomatic 120, cognitive 113): sidePanel has cyclomatic complexity 120 and cognitive complexity 113; 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":"apps/web/src/App.tsx"},"region":{"startLine":9022}}}],"partialFingerprints":{"codehealthFindingId/v1":"23421c6112a6c739051453ff3668fef06da474c99d4a729bc1f64b560a7bb720"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportWithAnnotations (cyclomatic 116, cognitive 256): exportWithAnnotations has cyclomatic complexity 116 and cognitive complexity 256; 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":"packages/markup/src/export.ts"},"region":{"startLine":2064}}}],"partialFingerprints":{"codehealthFindingId/v1":"41de2c74fcb2814aa530cb79fc6fdb6bdae1964bee790055da7e10f7eceb16cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 111, cognitive 155): draw has cyclomatic complexity 111 and cognitive complexity 155; 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad63e910c5d4901eb49e0c985486d15f0592ab28a928f5c56edcf0ffe73f9159"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importAnnotations (cyclomatic 104, cognitive 191): importAnnotations has cyclomatic complexity 104 and cognitive complexity 191; 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":"packages/markup/src/import.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8729f5c0e2f01039d9dfdb7644009e4494b71cfdfba31f7de7ee504b9f790cca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appearance (cyclomatic 102, cognitive 212): appearance has cyclomatic complexity 102 and cognitive complexity 212; 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":"packages/markup/src/export.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f70ce8a51d8bf7224ddb318534d6eb2fd31547f25575a933c20de0bd853637"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function entityData (cyclomatic 97, cognitive 109): entityData has cyclomatic complexity 97 and cognitive complexity 109; 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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"9424ead53b9beda8c22e4a5d34849a6e240fb9c1411f5ea3872639504885c3aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pointerMove (cyclomatic 93, cognitive 153): pointerMove has cyclomatic complexity 93 and cognitive complexity 153; 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3386}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e2800cce232f867f9fd09aeb11284bf97693f3e8195e4630f97c3ec02aae90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function oneValidationUpdate (cyclomatic 91, cognitive 126): oneValidationUpdate has cyclomatic complexity 91 and cognitive complexity 126; 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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c8ba7339619278e43bd36ab36dec13a01acc56a0d5ff1d12809a7b817a9ed2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function baseShape (cyclomatic 89, cognitive 63): baseShape has cyclomatic complexity 89 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"packages/markup/src/geometry.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae71f0d029a291d228f8cc2f4d461a7d57640741f066974e5260137be3dbb1df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hover (cyclomatic 87, cognitive 120): hover has cyclomatic complexity 87 and cognitive complexity 120; 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9cfc8e50b8193d1720c8a7e62fe79737d7224fe2dcdaeb708a555b583f7665"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 86, cognitive 73): (anonymous) has cyclomatic complexity 86 and cognitive complexity 73; 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":"apps/web/src/App.tsx"},"region":{"startLine":6885}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc27baf292c7ef5501089912f968655e31f19eb7c2859ae53c41ff578238722"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pointerUp (cyclomatic 85, cognitive 120): pointerUp has cyclomatic complexity 85 and cognitive complexity 120; 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3568}}}],"partialFingerprints":{"codehealthFindingId/v1":"312a942558c2f997e9a530f79ef875ea1f9dae054bc251f3ab4f6209f150c4a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StyleControls (cyclomatic 83, cognitive 62): StyleControls has cyclomatic complexity 83 and cognitive complexity 62; 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":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"578429937a817634266cf6f66ce1e0b47ecc0ea93d44e1ce8d242be2b1330ae8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBtx (cyclomatic 82, cognitive 101): parseBtx has cyclomatic complexity 82 and cognitive complexity 101; 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"043d6a1b06486da869a45b665ffb315e65cc2613ec11fb4a6830529d189cc531"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cadClick (cyclomatic 79, cognitive 113): cadClick has cyclomatic complexity 79 and cognitive complexity 113; 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":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee5b3e808d04e0ba0b42c95481f7de07373f99000653f33b6d56d9947437bb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function multileader (cyclomatic 74, cognitive 75): multileader has cyclomatic complexity 74 and cognitive complexity 75; 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":"apps/web/src/cad/render.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e1b8a688e3e736fcf22b1f533219a4604fc994a42a59a0fa3e618f062ce967"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GeospatialPanel (cyclomatic 69, cognitive 56): GeospatialPanel has cyclomatic complexity 69 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"apps/web/src/components/GeospatialPanel.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"002e08eb47960e12db4ba7cd2a706b308424ce205ca16b9ee0b885048ed5e1e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawMarkup (cyclomatic 66, cognitive 124): drawMarkup has cyclomatic complexity 66 and cognitive complexity 124; 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":"packages/markup/src/render.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2edfdc867023a924b957408d3e1550c138351af0ce7f653e1dcd1ecece95d1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assemble (cyclomatic 66, cognitive 77): assemble has cyclomatic complexity 66 and cognitive complexity 77; 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":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a031077ddb03eb5ef50ef3871134adec7685a57b77f53ffe6389f081e94d836"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PageNav (cyclomatic 64, cognitive 53): PageNav has cyclomatic complexity 64 and cognitive complexity 53; 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":"apps/web/src/components/PageNav.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bce13b2a98cbe77e120b7c4ad63c16ef1e9fe7b3f3b8fd82b393d0209d0d5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolStyle (cyclomatic 63, cognitive 65): toolStyle has cyclomatic complexity 63 and cognitive complexity 65; 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea5571fa23c33100509feecac9252c571fc2aa4f4d97342d466b2700feecfb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateField (cyclomatic 61, cognitive 112): updateField has cyclomatic complexity 61 and cognitive complexity 112; 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84a1762708ced1b0509ab192ca43dddb24990da10370fde5f2c45f92aefb01f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commitDraft (cyclomatic 61, cognitive 77): commitDraft has cyclomatic complexity 61 and cognitive complexity 77; 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4370}}}],"partialFingerprints":{"codehealthFindingId/v1":"072872511e4896020af44e42ca9f1366b5038e73610e3e90e381a1084f522dd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolType (cyclomatic 61, cognitive 63): toolType has cyclomatic complexity 61 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b833a6c8554a7313c906efb7d0e128553d2825abdb4c10304f7dd402c5e3b17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StandardsWizard (cyclomatic 60, cognitive 49): StandardsWizard has cyclomatic complexity 60 and cognitive complexity 49; 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":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6376cb1672e208525f2d8f618519c1761533db4c096b72684804f98868aa1bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InSession (cyclomatic 60, cognitive 48): InSession has cyclomatic complexity 60 and cognitive complexity 48; 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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da798c1b8e3a399ac4aa779cb3fc897f2266bf3a197036d688110d980c635a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redact (cyclomatic 57, cognitive 149): redact has cyclomatic complexity 57 and cognitive complexity 149; 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bffbe3b257d02259482dc2b9a2805cdcced32db0fb4bea22c2487d7b62667be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function element (cyclomatic 57, cognitive 30): element has cyclomatic complexity 57 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":"packages/markup/src/xfdf.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e042c80065232882cf10189768f5e7d3f65077c1a52aa76fa465115ae06e6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function archiveAsPdfA (cyclomatic 56, cognitive 84): archiveAsPdfA has cyclomatic complexity 56 and cognitive complexity 84; 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":"apps/web/src/documents/pdfa.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a718cf3869b9e04f1ec12fe2d56ba7d17fbf53091c56e5f12c957a8d6ef0ed0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseIfc (cyclomatic 56, cognitive 78): parseIfc has cyclomatic complexity 56 and cognitive complexity 78; 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":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75bfced6ed029a87139f53960e99353910fc56bada5da65aaf6388fb688fe7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDxf (cyclomatic 55, cognitive 92): readDxf has cyclomatic complexity 55 and cognitive complexity 92; 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":"apps/web/src/cad/dxf.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"facba6894ff685d7c62718538f62fc448f7a095c030207fbac1071e8228edb9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 55, cognitive 63): (anonymous) has cyclomatic complexity 55 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/import.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"df825e4f869257fd7d7b3a0cec82c246b0c41ec60599ffe55d4453ce9319ee87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarkupList (cyclomatic 55, cognitive 51): MarkupList has cyclomatic complexity 55 and cognitive complexity 51; 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d567d2442c2802d677a2eb28eaa2bf6ade6edc68db6cf87303586ed4d4535fed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkSignatures (cyclomatic 53, cognitive 99): checkSignatures has cyclomatic complexity 53 and cognitive complexity 99; 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"99da0561b532af31886c3a96d2b90c2f852bef3b36ba5b935c428328ac113c4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 52, cognitive 75): (anonymous) has cyclomatic complexity 52 and cognitive complexity 75; 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":"apps/web/src/App.tsx"},"region":{"startLine":4745}}}],"partialFingerprints":{"codehealthFindingId/v1":"e113e0453496eabfe3f7d0b5b51221419d3e90a2b873cfcc65bf7c8e89d6ea81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeBtx (cyclomatic 52, cognitive 68): writeBtx has cyclomatic complexity 52 and cognitive complexity 68; 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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85644f6ba7c348e1e2e1cc639f67047f38a61b19af5ff46f0b0817a111c9390"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 51, cognitive 105): main has cyclomatic complexity 51 and cognitive complexity 105; 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":"packages/markup/test/compat/run.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"f277f9ecdc32962dc250149d0a5e17b54aa8e321cfb0370ebacf3bc7ee001e18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchPanel (cyclomatic 51, cognitive 43): SearchPanel has cyclomatic complexity 51 and cognitive complexity 43; 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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7d3f949ebce5257a0e70871e4546d4c06b75c7d115af5adf20ea16f1a49ba1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ColumnsDialog (cyclomatic 50, cognitive 48): ColumnsDialog has cyclomatic complexity 50 and cognitive complexity 48; 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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3365e1d74afcfac7b784a0c1a938c34bc3e021f1b274eee21ebbc638474d12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StyleEditor (cyclomatic 50, cognitive 46): StyleEditor has cyclomatic complexity 50 and cognitive complexity 46; 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17358daaa158f51fd2a3c4fe7d2a258fdea928bbecf5ae6be03f3d38333f546"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLandXml (cyclomatic 49, cognitive 78): parseLandXml has cyclomatic complexity 49 and cognitive complexity 78; 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":"apps/web/src/geospatial/landxml.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad907f931b7cc788d6267c4ce360948c5e60babec199d0d5a872c570c1f91e30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyStyle (cyclomatic 49, cognitive 58): applyStyle has cyclomatic complexity 49 and cognitive complexity 58; 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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22a758278a4cf68a0f3d68a70959705fb7a16e43c7ccc22cbc379ed4d95abec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDefaultStyle (cyclomatic 47, cognitive 82): parseDefaultStyle has cyclomatic complexity 47 and cognitive complexity 82; 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":"packages/markup/src/bluebeam.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dda22e08928a00f936a98f1956fa66ce71a67b649f7ba5205c7c90dadfa0d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CalloutStep (cyclomatic 47, cognitive 48): CalloutStep has cyclomatic complexity 47 and cognitive complexity 48; 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":"apps/web/src/components/standardsWizard/CalloutStep.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e9080be00dd5ff0b6d325d307846bc98d115dab16a62bf8a1de7dc40b143f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PropertiesPanel (cyclomatic 47, cognitive 36): PropertiesPanel has cyclomatic complexity 47 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"93671c9ffbad529c9a756cccc677689f7a13fcd479f548350947f4247c073aad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellsFor (cyclomatic 46, cognitive 57): cellsFor has cyclomatic complexity 46 and cognitive complexity 57; 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04156d8272c23b8cd9247e0104b15f8c6550b4ac8710267042a0c90f969f066"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function newMarkup (cyclomatic 45, cognitive 40): newMarkup has cyclomatic complexity 45 and cognitive complexity 40; 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4029}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c92f33190dfffbff51256949f0093356d7a8d1342973f103d50d5d173269b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 44, cognitive 75): draw has cyclomatic complexity 44 and cognitive complexity 75; 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2bb9032d78caa95a7e197207778b84fc930bb8b647718aa3d0821b9aa21e77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snap (cyclomatic 44, cognitive 68): snap has cyclomatic complexity 44 and cognitive complexity 68; 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":"packages/measure/src/snap.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d1f40d02cc09e765a84d69394102e0bd7de47127c074090ea7574e4b9e7b94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 44, cognitive 49): update has cyclomatic complexity 44 and cognitive complexity 49; 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"966f5425e0ee36c7059157fae28356eed8888df5a8eec4cbe8643f3b4590bd0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assignAlignments (cyclomatic 44, cognitive 45): assignAlignments has cyclomatic complexity 44 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sheets/src/chainage.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ff94ff8d71bcd4505c12d23f4e6c1d36cc55610e12e05a1692b408a05424f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 30): (anonymous) has cyclomatic complexity 44 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b1fbf4f9b9555dc98520cf92da8a8e42a2db5d557ca229af7cf3bebfbbd0cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function xrefAt (cyclomatic 43, cognitive 65): xrefAt has cyclomatic complexity 43 and cognitive complexity 65; 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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bbde0207ccbee2b8b0fb0a3df551221371dba1c538d84a33aa9977eddec163"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChainageStep (cyclomatic 43, cognitive 44): ChainageStep has cyclomatic complexity 43 and cognitive complexity 44; 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":"apps/web/src/components/standardsWizard/ChainageStep.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b779d989a78ada6b40985e59707196c59a17bcfba98db399cf2508d6f01d81d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewPdfDialog (cyclomatic 43, cognitive 35): NewPdfDialog has cyclomatic complexity 43 and cognitive complexity 35; 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":"apps/web/src/components/NewPdfDialog.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"821018ceeeec0883f5662e5e4e78bdca6e46ceab213dba60d5745857d8236028"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileActions (cyclomatic 43, cognitive 34): FileActions has cyclomatic complexity 43 and cognitive complexity 34; 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bed6467e7508c754530dc81a16af4c9136ef10b0469075311b51c9889bc833"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderEntity (cyclomatic 43, cognitive 25): renderEntity has cyclomatic complexity 43 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":"apps/web/src/cad/render.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"89baa81ee9e2b71c6f3e4b8c72ed32d88df26be85c1847e35f24811717309738"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function marksToLinks (cyclomatic 42, cognitive 76): marksToLinks has cyclomatic complexity 42 and cognitive complexity 76; 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1b9ce616c428b07e58e2ca73ed82421454372e17616688b0d90a87b5005e71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readItem (cyclomatic 42, cognitive 71): readItem has cyclomatic complexity 42 and cognitive complexity 71; 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e24b09109bc13c8cb878a716188f360a95f8e990623b26780187596196bd4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blocks (cyclomatic 41, cognitive 85): blocks has cyclomatic complexity 41 and cognitive complexity 85; 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":"apps/web/public/help/help.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d271d2dbf90660bb0b3aa5c9ec5b6651abd29901ce7bc7b97cd369e7de52c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreferencesDialog (cyclomatic 41, cognitive 53): PreferencesDialog has cyclomatic complexity 41 and cognitive complexity 53; 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":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4555baed4f1bf4e0c569844f560c4f2b9858db721cde83d5f065a255472f86df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function editor (cyclomatic 41, cognitive 45): editor has cyclomatic complexity 41 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0427b8f5559641caefe21e93e756a82e5f24b28362ae5b828f35c2b4da31a16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function starterGroups (cyclomatic 41, cognitive 40): starterGroups has cyclomatic complexity 41 and cognitive complexity 40; 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":"apps/web/src/assemblies/starters.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a455ff61a607870a079cfd7b7089a898d7e474c96d6c0232c250553133d095f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BatchDialog (cyclomatic 41, cognitive 39): BatchDialog has cyclomatic complexity 41 and cognitive complexity 39; 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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b965673c521c56fbca6cd854a997cc294de0400a11b7155e7e6e2e9c55e53f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function learnLink (cyclomatic 40, cognitive 46): learnLink has cyclomatic complexity 40 and cognitive complexity 46; 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":"apps/web/src/sheets/teachLinks.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"36751547a64c4dc806a77c9e95c7e49fc93ec07ee18af042303b23598ef9a4e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function test (cyclomatic 40, cognitive 35): test has cyclomatic complexity 40 and cognitive complexity 35; 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf5ede702dae8e88ffc58efe92856ed2f0f7e3454a0db0a354182174759d912"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeAssemblies (cyclomatic 39, cognitive 80): sanitizeAssemblies has cyclomatic complexity 39 and cognitive complexity 80; 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":"packages/markup/src/assemblies.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76cb0a07127b4a5a63eb9f5922d58f34dcd0f31442e9a69031bd65c1aadb272"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 72): (anonymous) has cyclomatic complexity 39 and cognitive complexity 72; 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"813439edfe327cc5e16ca1828c437a9854a418d992a8bf1267834d237bbcf46c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Properties (cyclomatic 39, cognitive 34): Properties has cyclomatic complexity 39 and cognitive complexity 34; 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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4af2478c0c29ff3b6f4c5934b3c1e316797b749b2bf4e2f35db63f9e218d5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 43): (anonymous) has cyclomatic complexity 38 and cognitive complexity 43; 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":"apps/web/src/App.tsx"},"region":{"startLine":2841}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce8cf2b19370d37235e5c75c21ed199fb63d5a7b55aea9a7cf53b2a50bf4cd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeForm (cyclomatic 38, cognitive 29): nativeForm has cyclomatic complexity 38 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/export.ts"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"446a81dd8fd416a695201ffff801efc974d7aee1fc15745337097e9531f17ae3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setSheets (cyclomatic 37, cognitive 65): setSheets has cyclomatic complexity 37 and cognitive complexity 65; 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":"apps/web/src/storage/sets.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"87992ebf002cba5e88ce793ed94db8c399a7e33c90cd4baade98c55a31236ba3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFolder (cyclomatic 37, cognitive 53): readFolder has cyclomatic complexity 37 and cognitive complexity 53; 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f2237f614c762972ab04dca25419fddb9d8e52c17cac4d3db70b05cc64983a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MatchLineStep (cyclomatic 37, cognitive 41): MatchLineStep has cyclomatic complexity 37 and cognitive complexity 41; 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":"apps/web/src/components/standardsWizard/MatchLineStep.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8a09b6e0a14ce2d8295a8c0ee9a2ea778be309bc6e2f63a3657efcea2fbad4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 40): (anonymous) has cyclomatic complexity 37 and cognitive complexity 40; 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":"apps/web/src/App.tsx"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cea974c0f9fd09e1275fd79d613cdad9a26e53a34f970a77f7f8454475aebc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setTool (cyclomatic 37, cognitive 34): setTool has cyclomatic complexity 37 and cognitive complexity 34; 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62faa63a8986c1a896f17d07ca15c08de27fc6aac1c725a1e5c3a9ce023eeb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompareDialog (cyclomatic 37, cognitive 28): CompareDialog has cyclomatic complexity 37 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 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":"apps/web/src/components/CompareDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a919baba5fd9742e53fdd5626a44d9955d1b2ecc6c0b071534d664bcd39fba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recolourContent (cyclomatic 36, cognitive 56): recolourContent has cyclomatic complexity 36 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/process.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"514d5d9b4685c0d9483ccd204fdf21bc302fdca4baedbba0194884fcd5221a57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function join (cyclomatic 35, cognitive 46): join has cyclomatic complexity 35 and cognitive complexity 46; 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"17da21af873eb2b744038720f94c4de1e75b8ccd798865be9341a71a6ab9d4cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKey (cyclomatic 35, cognitive 35): onKey has cyclomatic complexity 35 and cognitive complexity 35; 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":"apps/web/src/App.tsx"},"region":{"startLine":5218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4fceccc224df5726e74ea787dd897e5f53961b404932aa11bf0f82e5ccad20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SemanticComparePanel (cyclomatic 35, cognitive 31): SemanticComparePanel has cyclomatic complexity 35 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 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":"apps/web/src/components/SemanticComparePanel.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6feb045323033775b06e0ce307000196bf70c86d5dd7dca9ed3e40c594b3b1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectFields (cyclomatic 34, cognitive 48): detectFields has cyclomatic complexity 34 and cognitive complexity 48; 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":"apps/web/src/documents/fieldDetect.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f460908628ea0c7a43b964f97bbd40d09f6ca0afae44680cd0ca1bc7180274"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 39): (anonymous) has cyclomatic complexity 34 and cognitive complexity 39; 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":"apps/web/src/documents/process.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1537e2621b8a90ef2b1e107b6e49bffef23d0efc0fb9f6fe7f1920c7e633737"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toMarkups (cyclomatic 34, cognitive 39): toMarkups has cyclomatic complexity 34 and cognitive complexity 39; 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":"packages/markup/src/import.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf85091584a650ec9d51a206b6a7213400f8387b02ab3acedf8bff7cf7d6c81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readHeader (cyclomatic 34, cognitive 35): readHeader has cyclomatic complexity 34 and cognitive complexity 35; 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":"apps/web/src/cad/dwg/header.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c9bea1e90b0ae05ed4aaa80d85496e23815f36506de7ba8e6461804424537d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CadBar (cyclomatic 34, cognitive 29): CadBar has cyclomatic complexity 34 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/CadBar.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae00c5d5b5dddf046ef8fa9d945ec87633b62ec490f1aa824eb14e167cbcd1c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectView (cyclomatic 34, cognitive 29): ProjectView has cyclomatic complexity 34 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f766390b7526e4f7571190972c532c8521a8113ef05ffa6ce067a158c7dea655"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cadPreviewOf (cyclomatic 34, cognitive 24): cadPreviewOf has cyclomatic complexity 34 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 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":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53874a0ed7cac8416390b67e69c96661df958b972681c04d70380a292542d27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lexContent (cyclomatic 33, cognitive 73): lexContent has cyclomatic complexity 33 and cognitive complexity 73; 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2914dc5f6eccaa23787d16f52020873cd6200931143bf6e55ab5306baa84b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onPointerDown (cyclomatic 33, cognitive 33): onPointerDown has cyclomatic complexity 33 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"a349b12ddaa77fa9f31e4d2b8940376006bd6f7d7ad75d1e073608ea0c357134"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LabelRegionsPanel (cyclomatic 33, cognitive 31): LabelRegionsPanel has cyclomatic complexity 33 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 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":"apps/web/src/components/LabelRegionsPanel.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b91d8b6575a16497afe35220cbd3bc9318f0f27779b7b348d023ee8e4740c52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateMatchLines (cyclomatic 32, cognitive 61): updateMatchLines has cyclomatic complexity 32 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":"apps/web/src/desktop/assistantStitch.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bd063cde7f1759e34280640e7f2e2efcfdf004df3ee05c53af78142e418b78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenize (cyclomatic 32, cognitive 61): tokenize has cyclomatic complexity 32 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1deeb98ba3d9eb3bfb4c192c9d575ba440ae400bd8feb46601cd458ce507dd2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertCad (cyclomatic 32, cognitive 52): convertCad has cyclomatic complexity 32 and cognitive complexity 52; 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":"apps/web/src/cad/convert.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3f30ac9d15b7344986126fe722e851c677908a757a35340465a89bd4717983"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transformMarkup (cyclomatic 32, cognitive 48): transformMarkup has cyclomatic complexity 32 and cognitive complexity 48; 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":"packages/markup/src/cad.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf861fc2257e9d78cf640fcbd4e787c95cb350ae52b448eba49ef05b11406f78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function crlStatus (cyclomatic 32, cognitive 46): crlStatus has cyclomatic complexity 32 and cognitive complexity 46; 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":"apps/web/src/documents/pki.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"6171890e6c422202b401c1a3d1c244ad61bbcfffcf294fd856db74ba0e1095a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function doubleClick (cyclomatic 32, cognitive 30): doubleClick has cyclomatic complexity 32 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3768}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd52642e56f7d519b36372c11739ae90b7c572daef6090dc6450fe71fb77c18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AssembliesDialog (cyclomatic 32, cognitive 27): AssembliesDialog has cyclomatic complexity 32 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 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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a86ba82bf2fce2f84efde3368bdb043efdab242af3aa6abc940e37f376bb978"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Proposal (cyclomatic 32, cognitive 26): Proposal has cyclomatic complexity 32 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/TakeoffReview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05e63014cc38d281325cf7c6c4118e0e6805e6536fc3400f1190248b3144826"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 32, cognitive 23): handle has cyclomatic complexity 32 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 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d035cd79216bb55edde016be189e60ce2da857f431cae24bc9e600b9adf16e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mtextParagraphs (cyclomatic 32, cognitive 19): mtextParagraphs has cyclomatic complexity 32 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 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":"apps/web/src/cad/text.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0277ddd958f1358e335e92738db5f444e3f84cf03a5c6e2b5d753d27d70b2cfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hatch (cyclomatic 31, cognitive 67): hatch has cyclomatic complexity 31 and cognitive complexity 67; 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":"apps/web/src/cad/render.ts"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbef209ad0a9a6c363fe5cf984587bb1870c047fd39020083d39fb92917d2166"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeChange (cyclomatic 31, cognitive 51): describeChange has cyclomatic complexity 31 and cognitive complexity 51; 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":"packages/markup/src/store.ts"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e2bc727002e7659f0f451a82845b4044d01f76cb99216e621fa2619e82446c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDxf (cyclomatic 31, cognitive 47): parseDxf has cyclomatic complexity 31 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/geospatial/dxf.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"910b56a804872325e5e626c9637f14a10edde3f0c9723559d54067b8c7582d0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useToolItem (cyclomatic 31, cognitive 36): useToolItem has cyclomatic complexity 31 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":6233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e860568ec3b6aa414fcb0afaa5aeec070054c67701d8ef19dd1df78df1043a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hitTest (cyclomatic 31, cognitive 34): hitTest has cyclomatic complexity 31 and cognitive complexity 34; 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":"packages/markup/src/geometry.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34d519e6a80726dc57ad7284a50ffb4fd62506247eaec89abdc37c6dcaef727"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarkupSummaryDialog (cyclomatic 31, cognitive 27): MarkupSummaryDialog has cyclomatic complexity 31 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 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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"822f1c0f6fc920a0b900a90d4b9deb777d9ae2d1e91fc466fd360624d1ad8192"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scaleFromMeasure (cyclomatic 31, cognitive 26): scaleFromMeasure has cyclomatic complexity 31 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bluebeam.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad836cc10fbad407ca4963033b587621fefe92a6b17ad2f8b1be029cbe13c45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportBax (cyclomatic 30, cognitive 56): exportBax has cyclomatic complexity 30 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bax.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"16492766b344a987904b274b23f45788b4ac6191d866fce8633b630c86f882d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 52): (anonymous) has cyclomatic complexity 30 and cognitive complexity 52; 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":"apps/web/src/sheets/indexer.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7305ff5df42b2f9650c13dd97fe6531eec2eef98cb336b22e7005d858a3ea886"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 50): (anonymous) has cyclomatic complexity 30 and cognitive complexity 50; 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":"packages/markup/src/import.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d308c089d312b147e40369711f1a6c684544d3631bba5deececc7b07617f7066"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clipStrokedPath (cyclomatic 30, cognitive 50): clipStrokedPath has cyclomatic complexity 30 and cognitive complexity 50; 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad723447ad9462c8669ba91da1099c03935e06e667300eb406eba38ea5fb731f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PageToolsDialog (cyclomatic 30, cognitive 37): PageToolsDialog has cyclomatic complexity 30 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":"apps/web/src/components/PageToolsDialog.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb28de3c7ea7d1ba25def34aba134112b8252e734c8dad09359495854b1dbd32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keyFor (cyclomatic 30, cognitive 37): keyFor has cyclomatic complexity 30 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":"packages/markup/src/bsiLegend.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b045ca59cd8ca20f92d8c40c85df675a3cabc5252ee7508393b99efc6d7319"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 34): (anonymous) has cyclomatic complexity 30 and cognitive complexity 34; 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcd7c863a7511a82f92c06a57489594cbc3b6a9fbd246851591e39effe2f6d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 31): (anonymous) has cyclomatic complexity 30 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":"packages/markup/src/xfdf.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"925bc02e6480040514d0b6bfba76383b527057f894ab3a8d258c4883a6420f0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function learnAlignmentChain (cyclomatic 30, cognitive 30): learnAlignmentChain has cyclomatic complexity 30 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":"apps/web/src/sheets/wizardLinks.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f87c29d705bb076676e7b03b7a169e94011e83d5b2c9e94b121ceea0c022f8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cadPrompt (cyclomatic 30, cognitive 25): cadPrompt has cyclomatic complexity 30 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":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff50fa1e3bdf4f22e4b69e03b3c264b461a5f4ef6b6556ed12f302c39ff1f59c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readHatch (cyclomatic 29, cognitive 94): readHatch has cyclomatic complexity 29 and cognitive complexity 94; 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":"apps/web/src/cad/render.ts"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"3998bf65bba43d27109e9079e7f218ac171f6fe92135280458146bcee4cd6391"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTicks (cyclomatic 29, cognitive 48): readTicks has cyclomatic complexity 29 and cognitive complexity 48; 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":"packages/sheets/src/chainage.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9817ba4c88d38aa5b5c6239039c5b9bdb568e44fa497836e3c6fc8b99568cc08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareParagraphs (cyclomatic 29, cognitive 41): compareParagraphs has cyclomatic complexity 29 and cognitive complexity 41; 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":"apps/web/src/compare/semantic.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"15433bea0e5a786e36c8d0bfc931c81079345addab05cd64baf38ec87f0d6703"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detail (cyclomatic 29, cognitive 37): detail has cyclomatic complexity 29 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":"apps/web/src/takeoff/reports.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"50438397310a952702822802c313737f44b722eca07edb9c0274b0ed97827197"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseIndex (cyclomatic 29, cognitive 34): parseIndex has cyclomatic complexity 29 and cognitive complexity 34; 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":"apps/web/src/library/catalog.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae24bc03ea8dbc8e0ac804b234a783c873ebea0eae5fd7c739193e4108d3e046"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recolourPicture (cyclomatic 29, cognitive 32): recolourPicture has cyclomatic complexity 29 and cognitive complexity 32; 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":"apps/web/src/documents/process.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"5225ddd835c7877f738a84cac5b107b5f3cc8d00fd2d9b972fd246d9ee10d54b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pkiRequest (cyclomatic 28, cognitive 45): pkiRequest has cyclomatic complexity 28 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/pki.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d926e9a7398544f6c61f1c3901e329859820bb2a869cc75b1ad7b065dbb1837"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function imageObjects (cyclomatic 28, cognitive 37): imageObjects has cyclomatic complexity 28 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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ee00c32e88331405ea3fb9d50436557e0b40ead14e7828ceb9a820c7258c15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function signPdf (cyclomatic 28, cognitive 33): signPdf 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f532a06053c8c6f2bf5e516eb6af4aaad44814b3974bbc54201ee2201f3578"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dynamicFill (cyclomatic 28, cognitive 30): dynamicFill has cyclomatic complexity 28 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":"packages/measure/src/fill.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd126816f889824db0582208a3376e49656add3cd0b8d9cb61d389543f79a6b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 29): (anonymous) has cyclomatic complexity 28 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":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f14115784476b20ec20bd24453acad8bf5e213e3fabfafe387224169b9eeccb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ColorMenu (cyclomatic 28, cognitive 24): ColorMenu has cyclomatic complexity 28 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 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":"apps/web/src/components/ColorMenu.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8d551971c94b5bc2328ec4bfa522c407aebbbe5bce0bdfd7b03d81f909d898"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseXml (cyclomatic 27, cognitive 67): parseXml has cyclomatic complexity 27 and cognitive complexity 67; 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":"packages/markup/src/xml.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0648aafbb31ec053dc8a43ad454b397015ab42a519585e43bee92a038bd8ff57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeProductLists (cyclomatic 27, cognitive 52): sanitizeProductLists has cyclomatic complexity 27 and cognitive complexity 52; 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":"packages/markup/src/estimating.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b691e2e4b516610a0b0c5f9827e3d1bc8ecc8540d559d220c16330e14b8e5ce6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function contentTemplate (cyclomatic 27, cognitive 44): contentTemplate has cyclomatic complexity 27 and cognitive complexity 44; 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"e706b8f218f054734141c53bbecb0e235669f6b41d8ed0b2c1c6515aa3b7dbb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function candidatesFor (cyclomatic 27, cognitive 37): candidatesFor has cyclomatic complexity 27 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":"packages/sheets/src/detect.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbdd5900089a0868a1518817ad892dfbfcf5d459309fba2435c6168ad8aee23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ownPreview (cyclomatic 27, cognitive 27): ownPreview has cyclomatic complexity 27 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4974}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe60d0c46ce331c1c4de97cc9189a4118d7857b51e28b2b75bcd3e51fb3d7bad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assistantCall (cyclomatic 27, cognitive 26): assistantCall has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"97725bf68467170cc2136a977b117d88a9e349296f9db6ffe7215aadcf96a97b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStandardFile (cyclomatic 27, cognitive 26): parseStandardFile has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/standards.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f447978a89731dc97c24f1949996199f1d359032af92d398fe9c0f17c00170"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SetScaleDialog (cyclomatic 27, cognitive 25): SetScaleDialog has cyclomatic complexity 27 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":"apps/web/src/components/SetScaleDialog.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5afb863411827d72e4efd23f2ec7beca84e8676719f2acd182b72aeb771e2cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PageScale (cyclomatic 27, cognitive 20): PageScale has cyclomatic complexity 27 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd53797c25bf6e93e158503712c9e82acaaa865936184656c80f1deee0c4f814"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readField (cyclomatic 27, cognitive 12): readField has cyclomatic complexity 27 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b020747bd5c22559047ddbb39387176be70701f0f459dad0316d488a81bbe1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hatch (cyclomatic 26, cognitive 72): hatch has cyclomatic complexity 26 and cognitive complexity 72; 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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"f397ee290eb38831fbc22bd7bb88eebacb8e1bb8b77b23431070be1db73ac24f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dimensionScale (cyclomatic 26, cognitive 59): dimensionScale has cyclomatic complexity 26 and cognitive complexity 59; 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":"apps/web/src/measure/scaleCheck.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e4ab2c00b37e6d65c616532ecc2bde076840b96e45d0df1fe77d2457db9d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function next (cyclomatic 26, cognitive 48): next has cyclomatic complexity 26 and cognitive complexity 48; 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68e0b85a5a1dfab0a1d3c34d55bf999b48f52b9acd0838536ced07025a9a9da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTableObject (cyclomatic 26, cognitive 31): readTableObject has cyclomatic complexity 26 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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef765b372ee7c5d5ae835b3fd430ced111119fe312dbe92a8edef869e9cbec46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 30): (anonymous) has cyclomatic complexity 26 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":"apps/web/src/App.tsx"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"70df72b97426887a8a043ef0fce90d420df3a2e4956ce240c221f86fd48916a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 29): (anonymous) has cyclomatic complexity 26 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":"packages/markup/src/export.ts"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"f636b50579292298a41b20f8bc1228ff37f5822f801e574ab1dcbddc2fb03147"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 26, cognitive 23): request has cyclomatic complexity 26 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 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":"apps/desktop/src/graph.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3ad7651e120751f7ba8577de6c0b0879620077e95457f5af2b2041b5301d40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SketchBar (cyclomatic 26, cognitive 23): SketchBar has cyclomatic complexity 26 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 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":"apps/web/src/components/SketchBar.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f68f447c1d628d523e682948b71fc066549e9004271b02b722a344d7527e78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EndSessionDialog (cyclomatic 26, cognitive 20): EndSessionDialog has cyclomatic complexity 26 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"80daedd2f6b402e16e93a60b4d044ec335d984aec996e0d99a385dd0e63f0756"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addDss (cyclomatic 25, cognitive 40): addDss has cyclomatic complexity 25 and cognitive complexity 40; 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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3115a6baf12a43e3d9228f5f83fe7bca831b8119aa18f23505ed9a23d0b00b58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findOnPage (cyclomatic 25, cognitive 36): findOnPage has cyclomatic complexity 25 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/marks.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7a3ab2f3d38c9eaa57172fd093c660e5a68e4e7a40c24619b34ca8de1e00c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function layoutSheet (cyclomatic 25, cognitive 33): layoutSheet has cyclomatic complexity 25 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":"apps/web/src/cad/sheets.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e380b85f48b6711496b76f18cee65e8c2184155a85e287198da7a50dd7c1ad18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluate (cyclomatic 25, cognitive 30): evaluate has cyclomatic complexity 25 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":"apps/web/src/columns/formula.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91569d97d02a4ec93a499d26e7b4501ebb032be7529b88cedd88771c16a634f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function styleOf (cyclomatic 25, cognitive 24): styleOf has cyclomatic complexity 25 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 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"b608d55fe5b430f7eeb7c740da85f38a6dcef0e2a2577d81c7113187605eaa25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComparePagePicker (cyclomatic 25, cognitive 23): ComparePagePicker has cyclomatic complexity 25 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 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":"apps/web/src/components/ComparePagePicker.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b316ffb1832582eaf8201cc6f558bd8df4e011f053d676e3fb0050ddd536248"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StartSessionDialog (cyclomatic 25, cognitive 23): StartSessionDialog has cyclomatic complexity 25 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 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":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d13b330a402234805b2eaf7049ba1908e209cd545ffd1a3f7fdada8cfa03a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySet (cyclomatic 25, cognitive 22): applySet has cyclomatic complexity 25 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/scripts/script.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0b02157611cc13d6da69b31e4f62764f9e7d131b84fae711b77116c7929a12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function editKind (cyclomatic 25, cognitive 22): editKind has cyclomatic complexity 25 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/store.ts"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"209247ca325de74c08ab0ee8fbdd3dd3b924a79d106748c78de8da24307c21c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slopeOfKind (cyclomatic 25, cognitive 21): slopeOfKind has cyclomatic complexity 25 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f7898051c955a335cbd54e5c4b018cea0d4dc9a07bad349f03fb07949252dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RevuMigrationDialog (cyclomatic 25, cognitive 20): RevuMigrationDialog has cyclomatic complexity 25 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/RevuMigrationDialog.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"466259b109e466f029a01d7ed769175f168b3b1e8d00cc0802864c442d648e0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execContent (cyclomatic 24, cognitive 48): execContent has cyclomatic complexity 24 and cognitive complexity 48; 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"3337f1f2a56e221306b853401ac99b58f13ef74c9a50f3abc0062d72410d89fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findRepeatedRegions (cyclomatic 24, cognitive 47): findRepeatedRegions has cyclomatic complexity 24 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/repeatedRegions.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0834c24d6f864b0f1005ee96123628a430c81e89ff388be0b9f71af6c6c2c9ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 46): (anonymous) has cyclomatic complexity 24 and cognitive complexity 46; 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":"packages/markup/src/store.ts"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc42ba702dac6bbf1cd708c4fecdbf0f973a74c9de36fbbc3f4b6e7fcda0474d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeChain (cyclomatic 24, cognitive 44): completeChain has cyclomatic complexity 24 and cognitive complexity 44; 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":"apps/web/src/documents/pki.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d6486538a9126fca0d122db759e385d5092a2b608a30c1f7da612fe0f42ab6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFile (cyclomatic 24, cognitive 43): readFile has cyclomatic complexity 24 and cognitive complexity 43; 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"f952fabac1d43b08a2412787ecd6a7f38ee04c96eab075a17d90b5c50045794f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 41): (anonymous) has cyclomatic complexity 24 and cognitive complexity 41; 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":"apps/web/src/App.tsx"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"5240d1ecd4eb491b17be159d56c8e29133999dda99028ab656bf77747dc986df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bsiLegendValue (cyclomatic 24, cognitive 39): bsiLegendValue has cyclomatic complexity 24 and cognitive complexity 39; 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":"packages/markup/src/bsiLegend.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b659de620a08cf955b2b1f19b03147cfdbe96b70888d2f6645105beb6e3f12d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readStyle (cyclomatic 24, cognitive 37): readStyle has cyclomatic complexity 24 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":"apps/web/src/library/pack.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b6a19061b7663acc5493318a56e6452407d822818c3c6bb143024a5a4fb435"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 33): (anonymous) has cyclomatic complexity 24 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":"apps/web/src/App.tsx"},"region":{"startLine":4071}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7c1a0e8745eb2948972f0f877e8733848f2a052eeee9edb2c2299890d7dc34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeAnnotation (cyclomatic 24, cognitive 32): mergeAnnotation has cyclomatic complexity 24 and cognitive complexity 32; 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":"packages/markup/src/export.ts"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec96c7d58c314513660f9002afb45293c582a3003292fe6b8a1c3533f0f5d9f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 30): (anonymous) has cyclomatic complexity 24 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":"packages/markup/src/store.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"113c5d173a680c499d7b8259daa868c9e88d633450be24e685556364033f786b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMcpMessage (cyclomatic 24, cognitive 26): handleMcpMessage has cyclomatic complexity 24 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":"apps/desktop/src/assistant/message.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69a88ab0da06d86cdbbb8ec8e2d772b1ac556f4d799222272234a1c3e49aa85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cornerClick (cyclomatic 24, cognitive 25): cornerClick has cyclomatic complexity 24 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":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7015033dc63259e495e980ba0c854991c8b20961a220d43bf74e4fee39bd52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTradePack (cyclomatic 24, cognitive 23): parseTradePack has cyclomatic complexity 24 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 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":"apps/web/src/library/pack.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb3b723f93cfb8b3b43213451c6b42b8b61511a3652a439252b71612b2f232f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StatusBar (cyclomatic 24, cognitive 16): StatusBar has cyclomatic complexity 24 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/StatusBar.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef48f770808e4e9d93d785df268e142dad94136cc9f1a0b10929db5344314da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readClipScope (cyclomatic 23, cognitive 61): readClipScope has cyclomatic complexity 23 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a44a301d90e3305e5dd329ec67db201ba67ebe381961088c25aed2dc3bafad0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function imageDpi (cyclomatic 23, cognitive 44): imageDpi has cyclomatic complexity 23 and cognitive complexity 44; 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":"apps/web/src/documents/imagePdf.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b4c2cc39fe8a4edba0f2081a75a80b50dc1337bd4d8a839c826f216788b84f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPdfExtras (cyclomatic 23, cognitive 38): readPdfExtras has cyclomatic complexity 23 and cognitive complexity 38; 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":"packages/markup/src/pdfExtras.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"071cc666f0cc36a7dd725448b35514553e57f209981657184924d21a51209124"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 23, cognitive 34): refresh has cyclomatic complexity 23 and cognitive complexity 34; 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":"packages/markup/src/store.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c507d4b5a09a8aa801b3cb3ada47f0ace84f9fbc4520f4a793b5e5176e9bd59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runExport (cyclomatic 23, cognitive 30): runExport has cyclomatic complexity 23 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":"apps/web/src/App.tsx"},"region":{"startLine":6291}}}],"partialFingerprints":{"codehealthFindingId/v1":"392cd9eb51925a6607cd614547771562203b8d3d2bb3a4c1208940e89f59bf42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SignDialog (cyclomatic 23, cognitive 22): SignDialog has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff49ae320e29ce9b06905ac5d47cde2b16bb9a00901633d339cde327f3a0a3c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 23, cognitive 21): onKeyDown has cyclomatic complexity 23 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/TextEditor.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ed485877f060817cd726f5bb76745d17d8946aeabd922b77d57f50e5b8904d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cadPickTarget (cyclomatic 23, cognitive 20): cadPickTarget has cyclomatic complexity 23 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"3debbbbfb165f220a0be09e86b52951c2afd5d6d2ddd09e018af1a2af88e8f04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DocumentPropertiesDialog (cyclomatic 23, cognitive 19): DocumentPropertiesDialog has cyclomatic complexity 23 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 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":"apps/web/src/components/DocumentPropertiesDialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e687bfc8de61671e363af506967eeb72b76b5ea574db766a830d806e3df784e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importRevuFiles (cyclomatic 22, cognitive 46): importRevuFiles has cyclomatic complexity 22 and cognitive complexity 46; 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":"apps/web/src/toolchest/revuLibraries.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef54cae437b82522cda78d8f01ad9cf6c2b41e3a196ba06b529d2f2015e3f3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAnnotations (cyclomatic 22, cognitive 38): readAnnotations has cyclomatic complexity 22 and cognitive complexity 38; 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"42171407e483222af8d1c57ae51c9ad9d687bee42dd1a0f89629c4f90e40aece"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStrokeForm (cyclomatic 22, cognitive 37): parseStrokeForm has cyclomatic complexity 22 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8357b9d575bfcf1a81dc541281b07c6981bb6762005c8103d1c70d4e0bf0d57d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function joinSelected (cyclomatic 22, cognitive 37): joinSelected has cyclomatic complexity 22 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4779}}}],"partialFingerprints":{"codehealthFindingId/v1":"740d75ffd8382c8313b3f302ab48722cda26b6b019167e0b373ee1278c48f254"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addValidationData (cyclomatic 22, cognitive 35): addValidationData has cyclomatic complexity 22 and cognitive complexity 35; 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80d24d06a22cd364e83f22f3c4f31e88f2464b3b44d7ac9f094fd1da503045a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bluebeamColumnsFromXml (cyclomatic 22, cognitive 34): bluebeamColumnsFromXml has cyclomatic complexity 22 and cognitive complexity 34; 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":"packages/markup/src/columns.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a7423bd7d69f3b6aa470ca042722caab72592262a3d7a11ef88270904c280e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wordDiff (cyclomatic 22, cognitive 33): wordDiff has cyclomatic complexity 22 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":"apps/web/src/compare/semantic.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1189dd8782ce894ef0e6dfe9a16a22bba2780170c8af2b6621010b8ead8079"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calloutLanding (cyclomatic 22, cognitive 33): calloutLanding has cyclomatic complexity 22 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":"packages/markup/src/callout.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcbb1a4be7fc6c29109fbe397bf9861718077b17f20f20b73971b34d6c7854a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 22, cognitive 32): main has cyclomatic complexity 22 and cognitive complexity 32; 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":"packages/markup/test/compat/a3/build.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95abf6c21ca6425db6a545583f2c1313a29f389a3c8e42dc65881fab027a31e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ocspStatus (cyclomatic 22, cognitive 31): ocspStatus has cyclomatic complexity 22 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":"apps/web/src/documents/pki.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe963545192b7b1e0d157a2cc12d57caba20e54465d00984ceab8853976522d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reduceFileSize (cyclomatic 22, cognitive 29): reduceFileSize has cyclomatic complexity 22 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":"apps/web/src/documents/process.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8896c511760ff69b183e5ef59db63c42c80dd9d2c52b795417fe3ae51693b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skipInlineImage (cyclomatic 22, cognitive 29): skipInlineImage has cyclomatic complexity 22 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ef91e8af106ffbf4e512b2435713aa88119d1572c34f5c15c680bf4e36e4c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sectionFrame (cyclomatic 22, cognitive 28): sectionFrame has cyclomatic complexity 22 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"10769331fd30d7f1ed1c9ad04496c7116d25604c5f159d1a7967ec7f7e41d5f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poll (cyclomatic 22, cognitive 28): poll has cyclomatic complexity 22 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":"apps/web/src/studio/projects/Project.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a196f1b3368a2e2924fb7046a47ed730deb72003febdb02a77c548efa5aede"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTool (cyclomatic 22, cognitive 22): readTool has cyclomatic complexity 22 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":"apps/web/src/library/pack.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6710dd594fbc2f1022c9aa6e8850fa27a55f42022da156519b65ce40c80ab7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HeaderFooterDialog (cyclomatic 22, cognitive 18): HeaderFooterDialog 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":"apps/web/src/components/HeaderFooterDialog.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd055f33ba0a72687d2e9cd1b1e5de35e2fcc51422506becf50d3a82c72db0ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commitFields (cyclomatic 22, cognitive 18): commitFields 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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51ac0caee1bf5be89297838239e055f0a556c3195b57f20221432c95a7b05dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 18): (anonymous) 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":"packages/markup/src/stampPdf.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2938dbe242d9c86d21d389388c8148d9f3c08e71d177531c39f2bfdc33266278"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function item (cyclomatic 22, cognitive 13): item has cyclomatic complexity 22 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":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1f3e9b97f69fe9209f87f8e1e72e3d598c19e93ee5a44320e8c401d92bc5a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseXml (cyclomatic 21, cognitive 42): parseXml has cyclomatic complexity 21 and cognitive complexity 42; 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":"apps/web/src/geospatial/xml.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a632c23f44da47a23cc1e1485c2fd61581467948b3335bbe34eacfd9bc4bc72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawingSheet (cyclomatic 21, cognitive 41): drawingSheet has cyclomatic complexity 21 and cognitive complexity 41; 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":"apps/web/src/documents/pdfTemplates.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c523b52ad9e5faf7a8630b34945b2bfb95ba514437c7a3790f553f43a9f71f91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 32): (anonymous) has cyclomatic complexity 21 and cognitive complexity 32; 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":"packages/markup/src/store.ts"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"c442c04d8b92ff034ace197e54e14bde4ca63a79697e3e48e6eed71270f37487"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesFilter (cyclomatic 21, cognitive 31): matchesFilter has cyclomatic complexity 21 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a580ca86ebd72aaabb255932ff1bc4afd1d0bed3005117ece4b2f8dc32ce87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function counterpart (cyclomatic 21, cognitive 31): counterpart has cyclomatic complexity 21 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/compare/semantic.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a49e616a3fd035c67657d2f5e774cd86827d8fac556ecea333982fce80dae50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLength (cyclomatic 21, cognitive 31): parseLength has cyclomatic complexity 21 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/scale.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9500bc67c1a01e77a01ecca7af7d09daf3645ece85d0f5516c625e8dd5b0bf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coordGeom (cyclomatic 21, cognitive 30): coordGeom has cyclomatic complexity 21 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":"apps/web/src/geospatial/landxml.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed03e4803f8bb66380c31fee79f491755e2f1d4b263075b7d7e1d306eef69d95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 21, cognitive 28): finish has cyclomatic complexity 21 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e56788b31039b1043f9d429d6a3775bd1175c19071683469e394c2354e7260"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 28): (anonymous) has cyclomatic complexity 21 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":"apps/web/src/storage/sets.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4130b492e7dd4bf18ea63fab2ce137169ba388c1c734731f55c918bf5d83c94b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stretchMarkup (cyclomatic 21, cognitive 27): stretchMarkup 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":"packages/markup/src/cad.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ca1ebbd29db0cec98ffd07dae7b3dc9ac04d5b3d81e4c3b9c8ce5cd6fd8c8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 24): (anonymous) has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/compare/semantic.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"233368e87d382a8bedfaac8f0be76f65c31f41c149febdac945a4b7dfccee1c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupAffine (cyclomatic 21, cognitive 21): groupAffine has cyclomatic complexity 21 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":"apps/web/src/markup/groupBox.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"584e50e8b560bcbe35d2a2190ea3bc4e6730b4275d734a0f897d2851cd26bdd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function text (cyclomatic 21, cognitive 20): text has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/render.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d93b82b492afdb5ddefbc24e6c0cddc956d72068eb6730c787cae25147a008"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectionOfEpsg (cyclomatic 21, cognitive 20): projectionOfEpsg has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/geo.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"296fffdb5e42c4080cc8bcec084012fffa6f727680b33d8ee7d27b5de71b64fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HyperlinkDialog (cyclomatic 21, cognitive 19): HyperlinkDialog has cyclomatic complexity 21 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 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":"apps/web/src/components/HyperlinkDialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4484fdb1d0d4a0eb13dfe9be250f9f62cfc7c087bba335f9a375dbd998671929"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 19): (anonymous) has cyclomatic complexity 21 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 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":"apps/web/src/desktop/assistantStandards.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc7ef7f91178f38d89f11aa7a5a101e587301cb7c7b2a21461b69e61195af2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importable (cyclomatic 21, cognitive 19): importable has cyclomatic complexity 21 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 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":"packages/markup/src/fdf.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae9640ea5d05c124a565c953fa78e07942b5bc9de7308bf046be76e68d9ec11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function imageOf (cyclomatic 21, cognitive 19): imageOf has cyclomatic complexity 21 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 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ece7a092b9952a15528e1979b1c4bea0e41fb83bcc3fe3ff6567bcd0a829b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScriptsDialog (cyclomatic 21, cognitive 18): ScriptsDialog has cyclomatic complexity 21 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":"apps/web/src/components/ScriptsDialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0674415fcb6e619751488e2b26366cabf8af444a5ba56475b922664a937927"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Ribbon (cyclomatic 21, cognitive 13): Ribbon has cyclomatic complexity 21 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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8ff089b280d1f4e07f07d511efe011be0a4f2bac932b8212b2decdfdd3b0c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lineArt (cyclomatic 20, cognitive 68): lineArt has cyclomatic complexity 20 and cognitive complexity 68; 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":"packages/markup/src/lineStyle.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff4154090e91a0820d86d5dbacd4949e348773988b9364efbc9475df764c4db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mtextHeightRuns (cyclomatic 20, cognitive 40): mtextHeightRuns has cyclomatic complexity 20 and cognitive complexity 40; 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":"apps/web/src/cad/text.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da265116d27fa61ea2eb709f1ff8e4a368673af6f8a3b090fadc6872d389f8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flattenAnnotations (cyclomatic 20, cognitive 40): flattenAnnotations has cyclomatic complexity 20 and cognitive complexity 40; 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":"apps/web/src/documents/process.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51552d76aabaf8086be3eaaa24303bda2e52b37a1ec908025d5de79386802d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function plan (cyclomatic 20, cognitive 35): plan has cyclomatic complexity 20 and cognitive complexity 35; 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":"apps/web/src/documents/renderCopy/renderCopy.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d8ac2d4da07ae60b5b66df65bf99f9dc76848b7a91d90b97703c81db54f6f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 28): (anonymous) has cyclomatic complexity 20 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":"apps/web/src/App.tsx"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cda45b314c35ce2c6a6ad8b050e2c3485d650002ec2f8574647262b586f27f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readChainages (cyclomatic 20, cognitive 28): readChainages has cyclomatic complexity 20 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":"packages/sheets/src/chainage.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6ac063d21da1cbb8656df515359a73c9c0dd33199f0fd84a98a1b0b811cd2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffMasks (cyclomatic 20, cognitive 27): diffMasks has cyclomatic complexity 20 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":"apps/web/src/compare/diff.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb45f5757f500cdd05af36a235fd788045877e4af4bf6c2f23fb5424296b40c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLabel (cyclomatic 20, cognitive 27): readLabel has cyclomatic complexity 20 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"978c4f6b14b48e80f2d980ab6cae924c457d9f99658526271bf231070de88a76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeItems (cyclomatic 20, cognitive 27): sanitizeItems has cyclomatic complexity 20 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":"packages/markup/src/estimating.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0e8ec08ed077370ac8d89e2ca31bdb22544afac4c8540b487267fd44ed2ba6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractWords (cyclomatic 20, cognitive 25): extractWords has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"da43e7708659fedba685b56318f5e5891accee753e31d4d9dba714b24918aa87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 24): (anonymous) has cyclomatic complexity 20 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":"apps/web/src/App.tsx"},"region":{"startLine":4155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a05cf52fdf6dc8c759e3a7831c09b8d02f0ec87cd40bbe9effdddd512108061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 23): (anonymous) has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e878c647c03e5571141e16933756308037ce4bf02160500fec3767ae978a40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTimestamp (cyclomatic 20, cognitive 22): readTimestamp has cyclomatic complexity 20 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":"apps/web/src/documents/pki.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"c747f0f77f43d623f4336445a395fbde89e2907ba316d70df94ca0f80d2552f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proposePageScale (cyclomatic 20, cognitive 20): proposePageScale has cyclomatic complexity 20 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":"apps/web/src/desktop/assistantScales.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"af03e3580979f4fd388c3412764186a890f04f45dc966ce122fabc191cfd09f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 20): (anonymous) has cyclomatic complexity 20 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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"882c43a1ce52f71c0baab9b9fd472a524fc4a9cb74bad174122cf3983e0bb520"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickTargetsAt (cyclomatic 20, cognitive 19): pickTargetsAt has cyclomatic complexity 20 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 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4581}}}],"partialFingerprints":{"codehealthFindingId/v1":"df652d544478e74d3739d45c24a88ea10a564c6619655778388281d5d95c421d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 20, cognitive 19): update has cyclomatic complexity 20 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 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":"packages/markup/src/store.ts"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a910ef4e1723e6f003527362019313659b15e16078da9b32715c36055606264e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MeasurementSection (cyclomatic 20, cognitive 18): MeasurementSection has cyclomatic complexity 20 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"abac292f9c191ae582f74db9c1244728a9259e34610b6a9e33af51816c6302d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ManageProject (cyclomatic 20, cognitive 17): ManageProject has cyclomatic complexity 20 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09c783a63a5dda78e3c63c2a39b08e871d94b33b538cc4e82b67aa308aa925e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EraseRegionsPanel (cyclomatic 20, cognitive 16): EraseRegionsPanel has cyclomatic complexity 20 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/EraseRegionsPanel.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9326f6e598a82fccc033aebd8a2c5440590e79ef24ee02ad539b7e9042575fbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keyName (cyclomatic 20, cognitive 15): keyName has cyclomatic complexity 20 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 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":"apps/web/src/commands/keys.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0e72cf5147f987fb43539adad74cdd9110a21e137c5fb74c46a1492ff916cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DigitalIdsDialog (cyclomatic 20, cognitive 15): DigitalIdsDialog has cyclomatic complexity 20 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 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7b10e043ab09dfbaf13f1d3202a58e8eb9611cb7aa9dbd5dd35514788b453e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tableLineAt (cyclomatic 20, cognitive 15): tableLineAt has cyclomatic complexity 20 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 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":"packages/markup/src/table.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5f6d733f9b888c7e9a522a884284b5e6c25ec24f58e5e432f84c25a9333257"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 14): (anonymous) has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/record.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ae5d650e67359e6b3eef909c77481a7d603b914f66960e7ceb8dd16acd5c0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRevuMigration (cyclomatic 19, cognitive 52): runRevuMigration has cyclomatic complexity 19 and cognitive complexity 52; 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":"apps/web/src/migrate/revuMigration.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7c9b8ce883566ae105ae4e051d77a101e0259f4a23d529fa84677713c9e69e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scaleBars (cyclomatic 19, cognitive 38): scaleBars has cyclomatic complexity 19 and cognitive complexity 38; 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":"apps/web/src/measure/scaleCheck.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a757e523a01a97c10759c888c05c852aa94706df3392905f97c419b8b299e27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSymbolMatches (cyclomatic 19, cognitive 36): findSymbolMatches has cyclomatic complexity 19 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantSymbols.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f368946c28efde178dca9a217983cc77fc3c805daaf9761d5badaf7208efa0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visualSearch (cyclomatic 19, cognitive 34): visualSearch has cyclomatic complexity 19 and cognitive complexity 34; 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":"packages/measure/src/visualSearch.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a89baa329a91b1f09beb4e60d9c28aa64f14d08cda2e28b456f0b1948aadef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function polylines (cyclomatic 19, cognitive 33): polylines has cyclomatic complexity 19 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"da105b16bc644aa18d8969645548b1f2460052fb69031908035a078d020f019d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderPageImages (cyclomatic 19, cognitive 31): renderPageImages has cyclomatic complexity 19 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":"apps/web/src/documents/pageImages.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbd3b5aad55e4be6fb8344c93ae0cbaae3306076ba28b72c04e648f9f348d2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function change (cyclomatic 19, cognitive 29): change has cyclomatic complexity 19 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":"apps/web/src/components/SpellCheckDialog.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae9b08f28b35cebe4ce659ee6ea4b7f38823084e260ed887d18382595ecc51b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 27): (anonymous) has cyclomatic complexity 19 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":"apps/web/src/studio/drive/onedrive.test.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"482b2475c1995d718aad7c4b31a75ae3dfa0422d8ae94af3eacd3a618e6b0d56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanPolicy (cyclomatic 19, cognitive 27): cleanPolicy has cyclomatic complexity 19 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":"apps/web/src/studio/protocol.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c80b662e01c4d5e25d3059fbac86cb65254e40c9f2299fe74fb47480a6432b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeTemplates (cyclomatic 19, cognitive 27): sanitizeTemplates has cyclomatic complexity 19 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":"packages/markup/src/estimating.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e0274d81a8ee64226165982ce378bf32992e0e912a538945cfa59e66b9a210"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTip (cyclomatic 19, cognitive 25): parseTip has cyclomatic complexity 19 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":"apps/web/src/help/startTips.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c34aa9fb43513b7dcf9291d69f3a78dba235eca8ea41baa442d6d239179ffad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeWorkbook (cyclomatic 19, cognitive 23): writeWorkbook has cyclomatic complexity 19 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":"apps/desktop/src/excel.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b9f10b9a858147ac448cbe1a874245b1435aed41ccac97166f683a51860ca7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 23): (anonymous) has cyclomatic complexity 19 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":"packages/sheets/src/detect.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab7244704b89b08fcb9a2984ed8ea058695f121db5b0409a2d191434cf867a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exports (cyclomatic 19, cognitive 23): exports has cyclomatic complexity 19 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":"scripts/help/sections/09-sets-revisions.cjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f1927b75a44848a45d805e494f655d74d894ff352d66046ee96810725a68ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawnGeometry (cyclomatic 19, cognitive 22): drawnGeometry has cyclomatic complexity 19 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":"packages/markup/src/arrange.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7984113eaabb2d65e18555e7a34dc0d1eb6d3158bc1c9b5ee1371e8609d097"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flattenSelected (cyclomatic 19, cognitive 20): flattenSelected has cyclomatic complexity 19 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":"apps/web/src/App.tsx"},"region":{"startLine":6842}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc21305594f672d311a9f7efd457d1d580c3866a8180ca0895aab73d52be4f71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarkupFields (cyclomatic 19, cognitive 17): MarkupFields has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f5dc331cd183c017eb139e9a516e355af3584c70817a0d0e4e90ba99a70025"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fillAt (cyclomatic 19, cognitive 17): fillAt has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed62ee40d0237decf23c9b2604389750bf345e4fe391b1c7c4aef0493e00ea40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 16): (anonymous) has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/main.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"373212e6b4c41b99095caf2c3aace05f82b30eae3adda2def973262b2058b1db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function current (cyclomatic 19, cognitive 16): current has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":3894}}}],"partialFingerprints":{"codehealthFindingId/v1":"97da124be393436f0c8ba2f52406724ef96b2fc99c2535e1a094d03df92742fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 16): (anonymous) has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ItemsDialog.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eeb188169049517f733a73e3b35c6821ae61f24365f5aef97330f89fe27a77b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScaleRegionsPanel (cyclomatic 19, cognitive 16): ScaleRegionsPanel has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ScaleRegionsPanel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ef47bd63aecaf22614ff020afa1b745ff169c2731e7ad4fc251c59e7289e96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 16): (anonymous) has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.test.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b26e2c1cc7981550dd1433e553306bbc8f1fa35388bb149144bde2d03270f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AssemblyPicker (cyclomatic 19, cognitive 14): AssemblyPicker has cyclomatic complexity 19 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1e13e1453e7e83286859318620fade03b9cbad04d1338ddbf75729b6b3a0d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 13): (anonymous) has cyclomatic complexity 19 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":"apps/web/src/App.tsx"},"region":{"startLine":6938}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8630821d157f6f6c8a54ab5ea135455b96b1daccd510c06b26e53d6d4f20fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 43): (anonymous) has cyclomatic complexity 18 and cognitive complexity 43; 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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"52036ea587bada3ce01a619fa21d9cf9d02e8c2504c3d3692d4206c037dd3254"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removePredictor (cyclomatic 18, cognitive 36): removePredictor has cyclomatic complexity 18 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/pdfExtras.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6367f35981d22e14aff6978552de92277a72d2d9e6ceabc093d308f28bf55f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 31): (anonymous) has cyclomatic complexity 18 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":"apps/web/src/compare/semantic.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"67711c5800b3ed0f0c52eac295dde24ec20a3e7547e4e904b915f111e8c7c7e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shareWithLink (cyclomatic 18, cognitive 28): shareWithLink has cyclomatic complexity 18 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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"be46e68c9a81d9c13b6ab6160f2d7e3b7f36dff121077e1816806038028fce8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveIncremental (cyclomatic 18, cognitive 27): saveIncremental has cyclomatic complexity 18 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":"apps/web/src/documents/incremental.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1644ca6dd200f718ae126e515e6e5921415bb2958208d0bf2889486a26557b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function learnMatchLine (cyclomatic 18, cognitive 27): learnMatchLine has cyclomatic complexity 18 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":"apps/web/src/sheets/wizardLinks.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb21486eb6cebad5c1739ef1dec78691ec059dd7e34e43a85a5ea7272af7a40e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFdf (cyclomatic 18, cognitive 27): parseFdf has cyclomatic complexity 18 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":"packages/markup/src/fdf.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"364dfa340b3ab7ccebcb23c659738215e568fd3260693932224efd6a8318279e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function track (cyclomatic 18, cognitive 27): track has cyclomatic complexity 18 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":"packages/measure/src/tracking.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c785bc7ff88a9c119c3c1129c08568d94e9613954538e3290b8f51d8ba24fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assemblyProblems (cyclomatic 18, cognitive 26): assemblyProblems has cyclomatic complexity 18 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":"apps/web/src/assemblies/quantities.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3171bae286dbdcd07a414d8fd2635dbc5d730304875d6ed03f3fd12fc2dbc0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 24): (anonymous) has cyclomatic complexity 18 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"94903f29fd322b77ca3899a90a7029ee83ed769b11fa2a3cb587814540030c79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function entityOf (cyclomatic 18, cognitive 22): entityOf has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dxf.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1373f1e4ca9dbb475028d89cc9442c106e92e3578761a028217aace4baede737"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCtb (cyclomatic 18, cognitive 21): parseCtb 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":"apps/web/src/cad/ctb.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e49d5bbbd04351018faa9eaef27970742d08efca0e411d1ccf3910256cae44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onPointerMove (cyclomatic 18, cognitive 21): onPointerMove 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"82be7f46f559c837258f150fd2a5acb71db8a08c64f992430b98e8755595986d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 20): (anonymous) has cyclomatic complexity 18 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":"packages/markup/src/bax.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"408624cc1d17e52baf38a7d94d2e860bab85db868bedf589db135f0105abf596"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function manualEdges (cyclomatic 18, cognitive 20): manualEdges has cyclomatic complexity 18 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":"packages/stitch/src/manual.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de10f8ccc850625030597b20eb285eee8f7434fce6151aeb0667adca5073ade"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 19): (anonymous) 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":"apps/web/src/App.tsx"},"region":{"startLine":5122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3cb2e8eded108ba5d1819d217dddabc6a96acc58e491d71efe9f59f435b9e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BookmarksPanel (cyclomatic 18, cognitive 19): BookmarksPanel 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":"apps/web/src/components/BookmarksPanel.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d1b2597de1e74106b2e281308eb8c59463f310e05fcd0d787546ad64deb9c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publicRow (cyclomatic 18, cognitive 17): publicRow has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantScales.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31bacb9aef846a26af34795ed9f73c560c5bc5ed28d37a23361149b0e4e79b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bluebeam.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"b682910ef6505218cf270df1571d73de90f9a409ac8de532f0236614efacc711"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bluebeam.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"23275b6e03162b71b03c7c47c138ba05b57abf974106ef5cebe61085d16b1523"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectionOfWkt (cyclomatic 18, cognitive 17): projectionOfWkt has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/geo.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f966323ed846eb04868d72abc38fe607dedbb863afdcc5e7687758ba3665b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listSheetLinks (cyclomatic 18, cognitive 16): listSheetLinks has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantStandards.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2051bb892e7e01da0236c6b974447d6dbb5a03bf521205bfee57f53cdc881d88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addNextShape (cyclomatic 18, cognitive 16): addNextShape has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cf7a47e4a610d88fbebe3fe83e4684622baf50eb7c63ed1d86d8272ef3fc53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function routeConnector (cyclomatic 18, cognitive 16): routeConnector has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/flowchart.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1815affdb97136832c2e72467c0a0776763fcb3a4a515a2b8c5a8a514964ece4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanFormats (cyclomatic 18, cognitive 16): cleanFormats has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/table.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a070385d55b68bb90b3f163ecb781442ea88a75513de6b70e596625236be3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stepMeter (cyclomatic 18, cognitive 16): stepMeter has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sheets/src/confidence.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"443d7194c620bf74baeca0d7efeed9423ab88c0f83eb690479db613f2aae6db4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function add (cyclomatic 18, cognitive 16): add has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sheets/src/links.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"2baba905d120cea38691115389fd5e18401e4262f84f3bf2989c268a9263b52c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PublishDialog (cyclomatic 18, cognitive 15): PublishDialog has cyclomatic complexity 18 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 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":"apps/web/src/components/PublishDialog.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4554f4c119319a14be8c5ec497eb48364bf532f147829fba66f3a1a177e5bf2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function imageDataUrl (cyclomatic 18, cognitive 15): imageDataUrl has cyclomatic complexity 18 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 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":"packages/markup/src/pdfExtras.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"75da23a75ac072afda934a9d626b6ccfb27d7e1ee5434796926b835eb3d32ab4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sign (cyclomatic 18, cognitive 14): sign has cyclomatic complexity 18 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/token.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0935ae75b14051f3050bd6f38515e47b6701b498eb514cdddbf6241f82d16f38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FontPicker (cyclomatic 18, cognitive 14): FontPicker has cyclomatic complexity 18 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/FontPicker.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7801e2ebef15a410cd2d12fa31dd6ecfed0d6852995911cd2c741ee22b8e480"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rescalable (cyclomatic 18, cognitive 14): rescalable has cyclomatic complexity 18 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/renderCopy/images.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa91cc708da4ae0d382ab0439d078539e285a096d8972e36497a0c0bc4196d53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HatchMenu (cyclomatic 18, cognitive 13): HatchMenu has cyclomatic complexity 18 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":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f21b594571629440debdac72bcfde8a037b373bbcc14f1c605a43949b875127"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 18, cognitive 13): resolve has cyclomatic complexity 18 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe70422189827d904872da88db6eb10e126e74d2190a2739819018910658f01e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keys (cyclomatic 18, cognitive 12): keys has cyclomatic complexity 18 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":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6e471d1d69ab317a89005bc929c1b5712a78e28bf1778204dbe9b413bdac87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planValue (cyclomatic 18, cognitive 11): planValue has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/measure.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"0722f77b1a2912650f11c9a97fa98b4aa3a4154cc905e16c763d67dbb34c7643"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromXfdf (cyclomatic 17, cognitive 32): fromXfdf has cyclomatic complexity 17 and cognitive complexity 32; 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd29ad42ab0f91f27dc4cc2da171d6ef315bd61ccc84f562e5b6e03d79f0e9b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveStamp (cyclomatic 17, cognitive 31): resolveStamp has cyclomatic complexity 17 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":"packages/markup/src/stamp.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"848c9d863e512c5d59c6647de8c53a94fb71939d4081e607140262092189d033"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 28): (anonymous) has cyclomatic complexity 17 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":"packages/sheets/src/chainage.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31bbd3b50cc3c66b2eba897921b526f117d1ebe08bc6a4d68c4e87b4ac474cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function baseDocument (cyclomatic 17, cognitive 27): baseDocument has cyclomatic complexity 17 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":"packages/markup/test/compat/a3/lib.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca92c38e8c144b9b9a6a32b3da1171c88b405b62783169538be3aedcd11eefd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 26): (anonymous) 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":"packages/sheets/src/links.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ed43e28ca736fcab067703d012ad59bb1ca59eeadfc8d70514fc4df7fb162c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPublish (cyclomatic 17, cognitive 25): runPublish has cyclomatic complexity 17 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":"apps/web/src/App.tsx"},"region":{"startLine":8823}}}],"partialFingerprints":{"codehealthFindingId/v1":"010441a93bf23a399084fed2a2a6992a37830b82f9e842f415aea0f9788cfc17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 24): (anonymous) has cyclomatic complexity 17 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0f22df9af9bbc60772a28998019a1d26a5ad70f20b503a52df0071f5409c98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 23): (anonymous) has cyclomatic complexity 17 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":"apps/web/src/App.tsx"},"region":{"startLine":2967}}}],"partialFingerprints":{"codehealthFindingId/v1":"a194e76cd15fc9e54a804fbbebe3b3e5ed72b08243a00e3bb910440f96028a95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requirePoints (cyclomatic 17, cognitive 23): requirePoints has cyclomatic complexity 17 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe587fc261a3e3d9e47b9d1d85bb5f23948fde325225b8c514ebcd9713324bb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function write (cyclomatic 17, cognitive 23): write has cyclomatic complexity 17 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":"packages/markup/src/bax.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81fb180766f153302dbbc9e69fe4bcc469bc3a0800a3c2aca624a650ebc71fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function followFormat (cyclomatic 17, cognitive 22): followFormat has cyclomatic complexity 17 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":"apps/web/src/markup/selectionFormat.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb74c3620c5ec7ab9ccdca571b91da738befe1558753ff8d181e84b135fb6fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitSeats (cyclomatic 17, cognitive 22): admitSeats has cyclomatic complexity 17 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"924106a47668b46a5dfb9f9bf72ee4a1c547690a8caebea4c4f170435ce56bfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSummary (cyclomatic 17, cognitive 22): buildSummary has cyclomatic complexity 17 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":"apps/web/src/summary/exportSummary.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"61be3a1aaa9f9a2f7364b079660934520e5564762a65c4a805aaf7e1ef7a596f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function comparePages (cyclomatic 17, cognitive 21): comparePages has cyclomatic complexity 17 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":"apps/web/src/compare/compare.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1197058d27cb0c2ddee39ad9bb93a981fc073fd6a30386178f3084896a5b0dd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function place (cyclomatic 17, cognitive 21): place has cyclomatic complexity 17 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9418d634ef71fa6892d5b21f0751b710121a8aeb40c9971fdd446af840589c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rowFor (cyclomatic 17, cognitive 21): rowFor has cyclomatic complexity 17 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":"apps/web/src/measure/scaleReview.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c30062368a8a886bd22305fc1dc343448b36527d366ebcc5c60bcb715933ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function routeCost (cyclomatic 17, cognitive 21): routeCost has cyclomatic complexity 17 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":"packages/markup/src/flowchart.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"058ccce509c3de78ada64cabda6a774dc27fdbdeba69082ad5669b50a9d99123"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function signOn (cyclomatic 17, cognitive 19): signOn has cyclomatic complexity 17 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":"apps/desktop/src/token.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"050813365d4ccef068a97224d62eb07ccc1179e673b2345904b940aa34152dd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function displayText (cyclomatic 17, cognitive 19): displayText has cyclomatic complexity 17 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":"apps/web/src/summary/exportSummary.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa61b9fd6db5ea85e7dbc1bcf33b971f2395c6e63f054a9106bd89b5cee807b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toPdfValue (cyclomatic 17, cognitive 19): toPdfValue has cyclomatic complexity 17 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":"packages/markup/src/pdfValue.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffd602b30eccb081da59e2b653403577ee5455adbfa719ed8d3077abc6944d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawConnectionPoints (cyclomatic 17, cognitive 18): drawConnectionPoints has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2583}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6b80c96f36f0b1f3d382fa266008240a86011d674c7fee1bf9a6e47c574d1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyRevuPath (cyclomatic 17, cognitive 18): classifyRevuPath has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/migrate/revuFolder.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67961b6fef73550d12bf06fb89587d2fb00d52eb66203bace100410753e88aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function text (cyclomatic 17, cognitive 17): text has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"3306323f1a4afd81208661a5750c976fc8b79c476263c876b4fd3bfbb3d51c24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scaleParts (cyclomatic 17, cognitive 17): scaleParts has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/scale.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ac2d929d6fa457483d3e89d4ea7dd6a29058010586a9d9eaba13a201bdde24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 16): (anonymous) has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SheetScaleReview.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2152d590e23bac72a6c52e14befca6400602fd93b2fdef4762aeb0a78ec75ea5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legendSymbol (cyclomatic 17, cognitive 16): legendSymbol has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/legend.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40eac4437a58cd805c3375f42d0dd733976ea26081e5f3b8c7eb2d0a52e625c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CalibrateDialog (cyclomatic 17, cognitive 15): CalibrateDialog has cyclomatic complexity 17 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 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":"apps/web/src/components/CalibrateDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"992f7854b4854791702eaf7f16a198ae09a74575930cc1443607d68516bf4a1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StitchPanel (cyclomatic 17, cognitive 15): StitchPanel has cyclomatic complexity 17 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 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":"apps/web/src/components/StitchPanel.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c13a75259705a7bf18db31b867451edc300ff0c2dd2029c9565ed9cccee7f27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function statusAt (cyclomatic 17, cognitive 14): statusAt has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55f51a41a46bc13a5f0f10c2d3089623c6b27c202537b56a6b46b75671b620d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function differences (cyclomatic 17, cognitive 14): differences has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/test/compat/run.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"348f752efd6ff7420509771b41692b1a831a8d59caa56637ed74015a5af4108f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 13): (anonymous) has cyclomatic complexity 17 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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d8066333affac9da987ed07255122f65f8f4c884eb956db12f7456e438c720"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lineEnding (cyclomatic 17, cognitive 9): lineEnding has cyclomatic complexity 17 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":"packages/markup/src/geometry.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0edb63c09986220c56af8ecf278ae8b0798880e99caee1b5a467f0243ad050f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureMarkupFonts (cyclomatic 16, cognitive 37): ensureMarkupFonts has cyclomatic complexity 16 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":"apps/web/src/fonts/systemFonts.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"095e86be12a10f778c03042cfee7ec4d68ce8da2c1cc8a68a4ec4398f5b54363"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function outerBoundary (cyclomatic 16, cognitive 34): outerBoundary has cyclomatic complexity 16 and cognitive complexity 34; 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":"packages/measure/src/fill.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"383feea69e0dd65039ca06759f7f19efb2001e247bce8b323b3cfce5da08ab9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unpredict (cyclomatic 16, cognitive 31): unpredict 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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ccad792af6906d3453db14dcf85d1024f2ecd35cab079dc1be6279a18a6f7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 30): (anonymous) 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":"apps/web/src/cad/dwg/container.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdb797e54730bea73e80402f6185b9ec6bc086fec4ae9b2af68778853d84d60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function optimizeContent (cyclomatic 16, cognitive 30): optimizeContent 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"3888f23deb640196f0e5a78dbbfc828d913727308a4ec64c1ed002509e2d69c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 16, cognitive 30): main 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":"scripts/check-client-data.mjs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d26763d3b4dfbd49d818dd66678fa95c226cb97f2e0bb16d47ee8be6b25b02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 16, cognitive 27): walk has cyclomatic complexity 16 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":"apps/desktop/src/revuSettings.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"00613ab825249f44e37a165b3d4e6c4dcb4e049f3c41962857206458f71e8757"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bspline (cyclomatic 16, cognitive 27): bspline has cyclomatic complexity 16 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":"apps/web/src/cad/geom.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"959f12b8a6ac50a9a32d0da7f76c2dd0be9c0d8194abb55dff572b089a8c6eeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenize (cyclomatic 16, cognitive 27): tokenize has cyclomatic complexity 16 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":"apps/web/src/columns/formula.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1303cbcf1d27eaf35dc38b590a11a75c83557caa08d74c29f66874ca520055f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function search (cyclomatic 16, cognitive 26): search has cyclomatic complexity 16 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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec954f9d86c81ae2765274e22d7150e39cb8df0a9f4ddbe12affbe4b9c633fdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseValue (cyclomatic 16, cognitive 25): parseValue has cyclomatic complexity 16 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":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5c3bc6bb3d35eade7203affea6be39b311d970f61a0d60dc04acd27ff9f978"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insert (cyclomatic 16, cognitive 24): insert has cyclomatic complexity 16 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":"apps/web/src/cad/render.ts"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"7067476477fbf329370df69138d15994952b25af5603c58053cfe0f2d5db0477"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trackingPaths (cyclomatic 16, cognitive 24): trackingPaths has cyclomatic complexity 16 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":"packages/measure/src/tracking.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d837d7cab2892b19ca12a8897deee8af78fdeae41c240b8d6f32f70b50061140"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNames (cyclomatic 16, cognitive 23): readNames has cyclomatic complexity 16 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":"apps/desktop/src/fonts.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b7e7f45eafb1a1cb81c0ce1ff02dbb76e86ebe2bdb0c59df373a1f5057ff49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 23): (anonymous) has cyclomatic complexity 16 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":"apps/web/src/cad/pdf.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7c7d93cde0ce045896615f5e799e588b115f6f8f9818e960f034a34967be58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markupsToXfdf (cyclomatic 16, cognitive 21): markupsToXfdf has cyclomatic complexity 16 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":"packages/markup/src/xfdf.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df6ad95041b81a87a2dce1f6f9c12a24da1816eb64c5fbb338fb6560001c74c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDwg (cyclomatic 16, cognitive 20): readDwg has cyclomatic complexity 16 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":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b284355af1ec94310826bee5c14ab31ecebd731177849b5697de2e9bbebc83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 19): (anonymous) has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63db063342b31447341ec31033aa8a63752c60469e3b2db137784fd3693e1e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 19): (anonymous) has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c87231ad88f2d0a378b6b6154db83b13b12c30b3662650c05eb6c2acad655b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function outputColumns (cyclomatic 16, cognitive 19): outputColumns has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/summary/exportSummary.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3d53b012480e426a788d41daa8fe648809cac95b0b404e97f253fb188fa422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBpx (cyclomatic 16, cognitive 19): parseBpx has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bpx.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b32f5b26828277b89e36f1d9c9573560d859626867acf08d72684b6180d73d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function labelAnchor (cyclomatic 16, cognitive 18): labelAnchor has cyclomatic complexity 16 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":"packages/measure/src/measure.ts"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bea041f5c17f64c722087345dc0c97cd79a19364b04ab9fda223f5fc7b9018c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGeoJson (cyclomatic 16, cognitive 17): parseGeoJson has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/geospatial/geojson.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"46478846d93377a256885251d0e225660107b85cea46dc56777c6e9d6e48fcbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appliedSet (cyclomatic 16, cognitive 16): appliedSet has cyclomatic complexity 16 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"90811e30948a017da0409e9e73ac36b46193f65ef6128779818aa9521993e756"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appliedUpdate (cyclomatic 16, cognitive 16): appliedUpdate has cyclomatic complexity 16 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f511b115a6d1b7bfaf835b3e3d32f9a5806271ae318408b36d55b4069a7b2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCms (cyclomatic 16, cognitive 16): parseCms has cyclomatic complexity 16 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01793d739a3b99cb814c2552a5ed5a44e477b990cb176c8a91218e04f46f98b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function asRect (cyclomatic 16, cognitive 16): asRect has cyclomatic complexity 16 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":"apps/web/src/documents/renderCopy/clip.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48ae326acbbe3b2d0fb00a4cfdf140f97196839feb798ac56aa1ce989027f1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function armTemplate (cyclomatic 16, cognitive 15): armTemplate has cyclomatic complexity 16 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 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":"apps/web/src/App.tsx"},"region":{"startLine":6181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efc6dfdf6614f6881ec1dc9512ed815d809a1bef413c68aa88ed5927eae6513"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pageNav (cyclomatic 16, cognitive 15): pageNav has cyclomatic complexity 16 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 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":"apps/web/src/App.tsx"},"region":{"startLine":8052}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5857ba1364b369e9b8acc4baffb36a18628919a8618b00f3133f48c6b3d108a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TextEditor (cyclomatic 16, cognitive 15): TextEditor has cyclomatic complexity 16 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 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":"apps/web/src/components/TextEditor.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2557375a0a430d2826e6ebfb169acf094019a64206b550fb8deead469897f12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readModel (cyclomatic 16, cognitive 15): readModel has cyclomatic complexity 16 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 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":"apps/web/src/geospatial/model.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"703721daeee913fd44cb2036fcb2be7903ecaace966dd119d9739992fb3ce815"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function richText (cyclomatic 16, cognitive 15): richText has cyclomatic complexity 16 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 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":"packages/markup/src/export.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"170a7f4c294af25c22b401cd74a55a3e11245e7152dbd85b5daeccb04edbb63a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unrotatedBounds (cyclomatic 16, cognitive 15): unrotatedBounds has cyclomatic complexity 16 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 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":"packages/markup/src/model.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c826e11eb9178b15c393c721b1c1e39d54922068f2fc363ce0f309dc64086f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveAsTemplate (cyclomatic 16, cognitive 14): saveAsTemplate has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":6160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4959166c24f2ffe15e0a3b03aa776bfa18c0ad1b751a5aa47fec13193dd171c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fontFor (cyclomatic 16, cognitive 14): fontFor has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/render.ts"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d49d08aeff92b66c7dcc17ea1deb4b0f51d414674e1872eada7037706c7798"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OfflinePrefs (cyclomatic 16, cognitive 14): OfflinePrefs has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/OfflinePrefs.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"337ad22ab9e83bb06d9edf051ac20e37b0be39cd96d017d046558feaabc9fa09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SlopeRows (cyclomatic 16, cognitive 14): SlopeRows has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b9cfe30de08543dbc7185f7ecb4076b394180ab199109a5664fdd0fcf1e891"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onArrow (cyclomatic 16, cognitive 13): onArrow has cyclomatic complexity 16 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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cccff596fe73ef9eedd67e1477b2386eab7ee9ebdfa61688a4cee0c342e0967"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function segmentsCross (cyclomatic 16, cognitive 13): segmentsCross has cyclomatic complexity 16 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":"packages/markup/src/arrange.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53872afdbd9097566628a50fcb7d544d3d981c9ef4ea556ad6c8f793b571631"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectList (cyclomatic 16, cognitive 12): ProjectList has cyclomatic complexity 16 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"066044295b155f778ef4a1b7da6d55604e70b2ece8b2b1b7605f88a1aaa54216"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readObject (cyclomatic 16, cognitive 9): readObject has cyclomatic complexity 16 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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d45ebfcf5f60d82015469714ff6b15aec9651f3f8130b2425cc7b044e680ef2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rollup (cyclomatic 15, cognitive 34): rollup has cyclomatic complexity 15 and cognitive complexity 34; 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":"apps/web/src/assemblies/quantities.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"159323967ea8945b4f3048be027aa7f8ebc5f66173f7381b8874e0cf53cf8ea9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 31): (anonymous) has cyclomatic complexity 15 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db637a0003091c4aac66e6d1eb2eb0203ae5a8c483346387bb3081cee9e0e6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draftProblem (cyclomatic 15, cognitive 31): draftProblem has cyclomatic complexity 15 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":"packages/markup/src/lineStyleEdit.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc80b417ec7dc2fa56f0af96576c99e1cc4e575e2d882da6df6a30b27b1173d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function primsBox (cyclomatic 15, cognitive 30): primsBox has cyclomatic complexity 15 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":"apps/web/src/cad/sheets.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"1262ef70ceffcc6cd77cef2a0a364a3743a0bfdaea7218bcd35e404d08302470"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function layoutFromBpx (cyclomatic 15, cognitive 29): layoutFromBpx 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":"apps/web/src/columns/bpxLayout.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a7b754f19ccaaee789945c02917ebdcc7894aaee97efd05891bc5f801641c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function multileader (cyclomatic 15, cognitive 28): multileader has cyclomatic complexity 15 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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a4efce4c1432cd5f3e357e540e98a4e2060595f441cca0898adc3be801ebe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeTiff (cyclomatic 15, cognitive 28): writeTiff has cyclomatic complexity 15 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":"apps/web/src/documents/tiff.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9b02fcb4bfa37bc08e543693469c01518dd68947d4d95956d9f0f9357295b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawLinks (cyclomatic 15, cognitive 27): drawLinks has cyclomatic complexity 15 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":3986}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e678d530a3ad11abfa5f901fe46f10c0089047f03a20e4579a6ced1f45aab1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapOnPage (cyclomatic 15, cognitive 26): snapOnPage has cyclomatic complexity 15 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4327}}}],"partialFingerprints":{"codehealthFindingId/v1":"763dd0d351fb8258055727bf8c5a9f78deca946ed10bd49a1c90665cb08e7e76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pagesOf (cyclomatic 15, cognitive 25): pagesOf has cyclomatic complexity 15 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":"apps/web/src/measure/scalePresets.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"132d0330858f78eed43019bd1f866ad3971bae2923cbb34f93dbee4ff9d30eb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backgroundLines (cyclomatic 15, cognitive 25): backgroundLines has cyclomatic complexity 15 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"161550211c6346c63be12ae3cc26ac34dd3a89260db8218b9cf513fa3524800b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 23): (anonymous) has cyclomatic complexity 15 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":"apps/web/src/App.tsx"},"region":{"startLine":10209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86ced775eae26e6aa0fa3208541ba570625996329a3ad8813d5ae6146314579"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCsv (cyclomatic 15, cognitive 23): parseCsv has cyclomatic complexity 15 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":"apps/web/src/assemblies/csv.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36bd772ff2b31eb5aff4ebec948c54e4255de65a3aebf29571ddfa9ced095d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revuOverrides (cyclomatic 15, cognitive 23): revuOverrides has cyclomatic complexity 15 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":"apps/web/src/commands/revuKeys.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"7737c1ad40dee3fe4a1e2759ea42ed26e15887557de4f6bae002a6c3db0a0460"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function certFacts (cyclomatic 15, cognitive 23): certFacts has cyclomatic complexity 15 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":"apps/web/src/documents/pki.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af57d4f6f1a10061f78ac3780d83e57a6af358624813f19d95faf1218fa6fb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintHatch (cyclomatic 15, cognitive 23): paintHatch has cyclomatic complexity 15 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":"packages/markup/src/render.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b106724f3fbcb7e77fc6216eb79ba911eed72ddbfeebd7645e73aebf3407f3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 23): (anonymous) has cyclomatic complexity 15 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":"packages/measure/src/rasterSearch.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3563218be79591ddfade6d9552be669c54d36c4ae11a4f63b9adae38bebf63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setValue (cyclomatic 15, cognitive 22): setValue 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"b765cacaf35fc2f94bbd7bc6e7a1757746d8ba01559fa119f568df0f4d7713a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFolder (cyclomatic 15, cognitive 22): readFolder 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":"apps/web/src/studio/drive/rooms.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08f7b2f2afdf6236dfbac9ee342145daa3e7fa5a7b1fc9cb06df002042b2f66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function component (cyclomatic 15, cognitive 22): component 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":"packages/markup/src/lineSet.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b10efdaf04aca52f25d34425c5caa9bbd010c624e77065fcdee2000587cda4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function editPdf (cyclomatic 15, cognitive 22): editPdf 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"13db455cd1fc7b32a7ba035051d268423ee35f06dce26ae3b07d27ebe7a2e360"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 21): (anonymous) has cyclomatic complexity 15 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":"apps/web/src/columns/formula.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b6ca07e6c30558af9f581f07fe28c923922ae5f8f250f7693bce7ff39c936b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectMarkup (cyclomatic 15, cognitive 20): selectMarkup 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4dfba6ff8b8db94a888ed8efbc5ddfcda0dfb1a4220efcbceeef745ef7de1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tableLines (cyclomatic 15, cognitive 20): tableLines 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":"packages/markup/src/table.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde73f1ff9b77b69248b42ec553d4bc0b7a38efea40c3dbf9334203a759c374d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setPatch (cyclomatic 15, cognitive 19): setPatch has cyclomatic complexity 15 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e31a04fa8b4fc0cc1fc32f5684a90e7bcec9803cc70475f103181eaad202de4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modelOf (cyclomatic 15, cognitive 19): modelOf has cyclomatic complexity 15 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f4a682a8c78fabf79edff632fa8fcd57d5c9a363301ec78726f83c23ef75c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 18): (anonymous) has cyclomatic complexity 15 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":"apps/web/src/cad/convert.test.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5969f23357b9357645b6dbf6e107a334e8c441409d485dc47e00bc37da753d33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withoutComment (cyclomatic 15, cognitive 18): withoutComment has cyclomatic complexity 15 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f459a694fdf602c56abd3cbfddabb665bf8b8bf8dd3faffd398dbadca4e06dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function columnsFromXml (cyclomatic 15, cognitive 18): columnsFromXml has cyclomatic complexity 15 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":"packages/markup/src/columns.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"875fca51de16e8468b17721b0495c7f9092c3efa2720d56c42022259794b5b7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 15, cognitive 18): onmessage has cyclomatic complexity 15 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"593c3a123e929bb9d6f7357f113b2f2f749605b2974c1f5e99c6ae73916b8d91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findLine (cyclomatic 15, cognitive 18): findLine has cyclomatic complexity 15 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":"packages/stitch/src/matchLines.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7332243ce90b9a22fa9ca9c558014855c0aebf4ced4716c45ec2051df844f47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function optimise (cyclomatic 15, cognitive 17): optimise has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SlowDrawingPrompt.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"719d1ca1a5804c3099680d48605c5df0e0bebf68e5c33383483c58afc2640e75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function imageToPdf (cyclomatic 15, cognitive 16): imageToPdf has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/imagePdf.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"271b795f8d151e371873393c595d262f05f0cb3e7d16e090f05f2e73858382e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeViewports (cyclomatic 15, cognitive 16): writeViewports has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/export.ts"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"0259f2c1b89b6941275282e7e9411aac0496627a1638085b93ba1cd7c0cb85f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revuCombo (cyclomatic 15, cognitive 15): revuCombo has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/commands/revuKeys.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d68a92cf1f73ed7fdddf17783daa1775d068ffb695fb2b639f9aba281ef13ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ContextMenu.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d235502d0e54fe5e40791e0b41735f0aecb837754828fd819d92141984de68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mtext (cyclomatic 15, cognitive 14): mtext has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/render.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b27af9beeeac989cdaf2b1818ccdc1063ad4d2a34ab4fb1145b3c0fdca6843"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PagesPanel (cyclomatic 15, cognitive 14): PagesPanel has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c170dcb7f9e3e736a69cc5aa8d7ede34828f29189c555c14f835f1860b482dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteMatchLines (cyclomatic 15, cognitive 14): deleteMatchLines has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantStitch.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ff78139b0a71b8d85dbfb6283c412a558f988b25bc389a3e2123f691e5d15b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function push (cyclomatic 15, cognitive 14): push has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sheets/src/chainage.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43f8f5eaf4489695b7173f079a05de2a13861db8e6206a52b336aa27d833669"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function panelRail (cyclomatic 15, cognitive 13): panelRail has cyclomatic complexity 15 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":"apps/web/src/App.tsx"},"region":{"startLine":8949}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb34e749adbbcd56ebd564fa24874ce0c4106cf0e96935eecb27ed1e3998dff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProcessDialog (cyclomatic 15, cognitive 13): ProcessDialog has cyclomatic complexity 15 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":"apps/web/src/components/ProcessDialog.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f717e4925b55d971048042a642ab914064acd6b5961f1edff232116f6049f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 12): (anonymous) 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":"apps/web/src/App.tsx"},"region":{"startLine":9830}}}],"partialFingerprints":{"codehealthFindingId/v1":"025020c3153baee88d1e92fdb50e1cf5aa4400ae02474801378087d4df5c4cf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rest (cyclomatic 15, cognitive 12): rest 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4252}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ed6feb2f2334ee9fb6dbf9bdee28c66e286da62f3e2f93c9f767b85ecfdf45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 11): (anonymous) has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":3224}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ff5497931ab5bf44bbb3f17a5e56ce8545c2caccfbc0d3e47a9056459c4e2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SpellCheckDialog (cyclomatic 15, cognitive 10): SpellCheckDialog has cyclomatic complexity 15 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":"apps/web/src/components/SpellCheckDialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae9acbd233bbd1331c078915f837160be475777996bf8ff8843e7e8843aef4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 32): (anonymous) has cyclomatic complexity 14 and cognitive complexity 32; 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":"apps/web/src/cad/dwg/r2007.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebcb35e4d0a4ddc9c2dfa788ec82bc69c4c7e64c68a3ca378874e4910caaebd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clipLines (cyclomatic 14, cognitive 31): clipLines has cyclomatic complexity 14 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":"apps/web/src/documents/renderCopy/clip.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef21b17f3a48fe27122c84fde38898ba993689582646d84ba468a45d9d3e394"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 30): (anonymous) has cyclomatic complexity 14 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":"apps/web/src/App.tsx"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc079341d908da2828f047d6c6138824c2066d49aa397772fa8af39cd645cb44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dilate (cyclomatic 14, cognitive 29): dilate has cyclomatic complexity 14 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":"apps/web/src/compare/diff.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3795f1ebaeebb997b48f7020835709878aff52f31b67c54ca134d3a83d99254b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 14, cognitive 27): fetch has cyclomatic complexity 14 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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"d824dc524c2d11308f42c6f030ef917855333ee6c18c4805cf1e3ddb550dad94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lineProfile (cyclomatic 14, cognitive 26): lineProfile has cyclomatic complexity 14 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":"packages/stitch/src/matchLines.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d23079fc505aea711b479794308dc75330d385f093619b022f35fac5a1d887d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 23): (anonymous) has cyclomatic complexity 14 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":"apps/web/src/App.tsx"},"region":{"startLine":8761}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa01d265d3ac5daedf5606f55ab714673ccad65f74cb0d5a222733d492882760"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writePdf (cyclomatic 14, cognitive 23): writePdf has cyclomatic complexity 14 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":"apps/web/src/cad/pdf.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bb3ec574b61cd01b8494f7a831baa268a5db6c8f65b002cc6593e1e0134074"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function textOps (cyclomatic 14, cognitive 21): textOps has cyclomatic complexity 14 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":"apps/web/src/cad/pdf.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac563aa7e6fc98f13eee9602c9a4d1bf8d9d9f57057fda30529fa46da0a7d31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCsv (cyclomatic 14, cognitive 20): parseCsv has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/forms.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b3f3115090cc49b00da274478b9faff4cff19479eac84dbbd4e3b0f15b2f9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scaleClick (cyclomatic 14, cognitive 20): scaleClick has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61b39ad2e6c0656e8e1d4fce535be994b1dfb5bb1e7bc8a43b91dc9154f61ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openProject (cyclomatic 14, cognitive 20): openProject has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/projects/store.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"254cb6b636cccb4635afc48c72beffc6620b8bb64353d1548339f1dd487a439e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onWheel (cyclomatic 14, cognitive 20): onWheel has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb4db0fdd93ab558fcbccbdf52eea42256ac4b70c6a9d4c37f12d450141f6d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function page (cyclomatic 14, cognitive 20): page has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/rasterSearch.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"029d27847091eb2012514793df3df4f8c56bfc98da88deaf140b22e26be54a3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function entityMode (cyclomatic 14, cognitive 19): entityMode has cyclomatic complexity 14 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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e267ab92dabebb25af2fcf5f9acee4b4278a568faf8c5f8b607cfb46cbf019f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function field (cyclomatic 14, cognitive 18): field has cyclomatic complexity 14 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1814101d72ebaf5aec336f7c9fffcaf641531b90df409bedba01294969ac2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rectOf (cyclomatic 14, cognitive 18): rectOf has cyclomatic complexity 14 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":"scripts/help/lib.cjs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"c676f9be2cce6bcb7f73c70f6651cff6f2dab0e2fe5c800aec7ad677c5fe7ca9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 17): (anonymous) has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/export.ts"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c32f3461354d842ba3b404bba121240f5ab16ad35a31b5160137533023c11a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insideIntervals (cyclomatic 14, cognitive 17): insideIntervals has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/regionGeometry.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4061acd2b86b5459b66045a68ff2dfe3e64c839dfcc0120ad91e8ccd083ce5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findDetailTitle (cyclomatic 14, cognitive 17): findDetailTitle has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sheets/src/links.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1b3c566876319263548c916739e9c77931e7badfd8624a0b051404192a32b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proposeStandardHints (cyclomatic 14, cognitive 16): proposeStandardHints has cyclomatic complexity 14 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":"apps/web/src/desktop/assistantStandards.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4ade3e39eca3698e8d641fbea2922e9b8d7fdf2a7909d4fd2f36db341cfb8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importMarkupsBax (cyclomatic 14, cognitive 15): importMarkupsBax has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":8721}}}],"partialFingerprints":{"codehealthFindingId/v1":"565d897c30b8ac6c4c466919bf95337cc6b5fcbe057b568d2be7f88b90729417"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createFields (cyclomatic 14, cognitive 15): createFields has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/forms.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cea95bdccd6e64a76e1a2c8bfda95643f1e726de0251492e355746ad7bf7c59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawLoupe (cyclomatic 14, cognitive 15): drawLoupe has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f90e18cb81ef15166b40f33efb3919646ccd3b805a584973679201a09bd5f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compileVector (cyclomatic 14, cognitive 15): compileVector has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/lineStyle.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"82248d5c95e473284d69622fdc9984ca8eb4de61b5769b37eeea6d3004a75d8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) 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":"apps/web/public/home/home.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6026bd6c969fe17ae5d47202a0b73010f43dc54478cc07adf7e6d756c7c6dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FilterMenu (cyclomatic 14, cognitive 14): FilterMenu 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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f1d2a12e0c07d34a7f7cf60fa311e197d7510316834a3c233736bfb90dc7ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ValueEditor (cyclomatic 14, cognitive 14): ValueEditor 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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"40416a86b368051f4024aa2863e5162f4004527a3dc3bbbcecc6d3db1114c5e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publicMarkup (cyclomatic 14, cognitive 14): publicMarkup 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b946d6b106ad132bba2bd5f28f6c11308412c8351591296f49d095a32bddad68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceText (cyclomatic 14, cognitive 14): replaceText 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"e692a21a7c36c3da88571f418686ac3add2a61a7740c46909f72f60dd84aee18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) 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":"apps/desktop/src/assistant/server.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf6696294d5c2e7f346c6776dc76794c06542d0df83ac460627133249624817"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describe (cyclomatic 14, cognitive 13): describe 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":"apps/desktop/src/folderDrive.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0a5340c346932e762542d35f935aafd26c74ecad238b4758ddc9b514d01f85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) 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":"apps/web/src/App.tsx"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebfc0b8e3597b5caf01c595bc1d963eb49c333dc72c5d6e5fc635164c32cd5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterInput (cyclomatic 14, cognitive 13): filterInput 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a9a6780a47e58168e6ea56ee11fca8a7790a2c658e65d583978635c15a0f1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProfilesDialog (cyclomatic 14, cognitive 13): ProfilesDialog 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":"apps/web/src/components/ProfilesDialog.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"36650f0f8065b153f3f59ee9ba9878a500f8f3c4f68173249a7c5eb05e3008b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) 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":"apps/web/src/components/TakeoffReview.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f096715affc9a5e2ae57921c3b31cf19d7e75e26c9580fbefc95c3148bc21ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewrite (cyclomatic 14, cognitive 13): rewrite 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":"apps/web/src/documents/process.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc4c0fb6a7024395f39cbce98d5514c63cda1a094b79b22715e2557fed00de2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) 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":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80d84943726e59026bbddad46feb6a88ae009c286650ca567053dab3338ee4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) 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":"packages/markup/src/bax.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3d1a1ff8e714c1069cbabe60567376b1152edcecbc94e9a93001da971e2eb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) 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":"apps/web/src/components/SetsPanel.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb89523d963e51dabe1ec961fe544571afed17c9421f82c41f1ee60b3a36d17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) 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":"apps/web/src/dialogFocus.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1818eaff889b191a5dd55a123b8fe60c586a527f41422fbf9a3a55a8566df0fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 11): (anonymous) has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":7732}}}],"partialFingerprints":{"codehealthFindingId/v1":"506667ef01d816e64f9bf616816b16bebcc43bfcee7b59d904e5c0b9257a1184"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function strokeForm (cyclomatic 14, cognitive 11): strokeForm has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/renderCopy/renderCopy.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0973a5b3aa33478268b3466e5244852331c038208bd4cbf2926113603c7096bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dragRectCorners (cyclomatic 14, cognitive 11): dragRectCorners has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4087}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4344a7b41ec978800b673ca9d48d2cbe6cacc951f5f766d9c04a83ee002bcf1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreviewWindow (cyclomatic 14, cognitive 10): PreviewWindow has cyclomatic complexity 14 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":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae38613b7dffe7266d1ac1ff0624723c4578d0300600385d056ce3123d66f117"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 14, cognitive 10): visit has cyclomatic complexity 14 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":"apps/web/src/geospatial/geojson.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef748981e178ed2573d8c758dd0a20fab8ff6c15592a8013e04bbdbf98b0862"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lineEndingOf (cyclomatic 14, cognitive 9): lineEndingOf has cyclomatic complexity 14 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":"packages/markup/src/bluebeam.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86c0ac98360f8c5dc8ebb017ac0e38a83bae16d2951020e1430e2680ead44da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createFile (cyclomatic 13, cognitive 28): createFile has cyclomatic complexity 13 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":"apps/desktop/src/folderDrive.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6599e3775eff8b45bdca5d2e04db3c32425c0dd5c6499008395560210760bb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 13, cognitive 28): visit has cyclomatic complexity 13 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":"apps/web/src/documents/activeContent.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f83e4e8e6934f3d1ebb3f6e92c90fc94a9ee706e116b74474a0deaa2cbfdd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pixelData (cyclomatic 13, cognitive 26): pixelData 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":"apps/web/src/documents/tiff.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2689ef9de084fba245fdfe33b6c3027c4ca496778163a6516914e72c2203a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clusterCells (cyclomatic 13, cognitive 25): clusterCells 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":"apps/web/src/compare/diff.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a622369ea916f2e2abfe059b83730f036834e7339898a2c82c8064f76fc35fe8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function signInWithMicrosoft (cyclomatic 13, cognitive 25): signInWithMicrosoft 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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bd33982937de75887ef3cda64042042e1c89a52f138481248f28b35d323475"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function joinPaths (cyclomatic 13, cognitive 25): joinPaths 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":"packages/markup/src/cad.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8ed8df18edde7315064fe40c7f81da302ab4ff2d1f0d24119505ee08665fd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFiles (cyclomatic 13, cognitive 24): buildFiles has cyclomatic complexity 13 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":"apps/web/src/studio/projects/model.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a641e9734c9ab064affb66f276bef4435efe781cabd905c1e30c488f5c5162e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sheetNames (cyclomatic 13, cognitive 23): sheetNames has cyclomatic complexity 13 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":"apps/desktop/src/excel.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"488e748a252089afe5ec345b0f3096bc3b684051dd721cfc3261d748682d0e87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 22): (anonymous) has cyclomatic complexity 13 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":"apps/web/src/components/SignaturesPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3af314242f8acce085ab42fff3e05b0d779106fb3340eeb355760c965a5743"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destTarget (cyclomatic 13, cognitive 22): destTarget has cyclomatic complexity 13 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c6859cc166b9ee80f660e59650fac6913bfe608d37efacd1435fa28e4c6525"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeGroups (cyclomatic 13, cognitive 21): writeGroups 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":"packages/markup/src/export.ts"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c93f8af38dda7b4ff2a656dc563b4d4af3e9d55d3fe4a4f04a3a1ee60ffe0d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function offsetPath (cyclomatic 13, cognitive 20): offsetPath has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/offset.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e12b63d34354144b60edd5a7612bf06df0ba8acd1864ed3e9ae94ab13aa5a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeAppearances (cyclomatic 13, cognitive 18): writeAppearances has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/forms.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"4294c7d5e462d86aa3a18adb93fcb9b9cf9a9534e777a960ef949efb8db97f35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstNewObjectNumber (cyclomatic 13, cognitive 18): firstNewObjectNumber has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/ltv.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b89bb93cf6dc07ed83c4aa637029a13b72d3bdf9b8a9b409f5a0e84a0403cf6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawPopup (cyclomatic 13, cognitive 18): drawPopup has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":5050}}}],"partialFingerprints":{"codehealthFindingId/v1":"73653d7763254b8e19e110a44bb48edd2ae5860fa65b49f87e8f8ce9e285663b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 18): (anonymous) has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheetsync/xlsx.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd876bc71c026920003aa3570cb24301a4fd51c998af0c4aa8891878166348cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 17): (anonymous) has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":2194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a86364fa4f419308ef17f5fab8992c0cb7daf3edd533889cc30fe807a5eaa8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function help (cyclomatic 13, cognitive 17): help has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":8252}}}],"partialFingerprints":{"codehealthFindingId/v1":"deff703e7cfa3e8f61315a567585b86dd7e7b5d40d6475c58021089ff5f64466"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 17): (anonymous) has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/assemblies/proposals.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ad06ec40916ff9392e40354e800011e7645ff18f1a9ad4c91413a318eaca4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePageRange (cyclomatic 13, cognitive 17): parsePageRange has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/printPdf.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2982bc50076fccf2ab377cf81d95a167cfce167fa96feefda0a753ce59250bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchSize (cyclomatic 13, cognitive 17): matchSize has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/arrange.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbd31ea55789278bab91cb97dae7e17cbd46a43824ed22423e60ad72ed25a78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPage (cyclomatic 13, cognitive 17): getPage has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pdf-core/src/worker.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd999578592cf45a7b1f4405c44d122bcfcf417cabaaa6431127a2fe93c8904"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scan (cyclomatic 13, cognitive 16): scan has cyclomatic complexity 13 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":"apps/desktop/src/revuSettings.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc10ec3052c98d52e1b9d9271d33a12d3f63428eee491f2e062084cce6717ee3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 16): (anonymous) has cyclomatic complexity 13 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":"apps/web/src/App.tsx"},"region":{"startLine":3050}}}],"partialFingerprints":{"codehealthFindingId/v1":"49361a35723761b122fa2ca389d5cda23d024e37dbf9f242d6e033fccf2252b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openR2004 (cyclomatic 13, cognitive 16): openR2004 has cyclomatic complexity 13 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":"apps/web/src/cad/dwg/container.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"100fca6e4c18d5377cc645ad4776be1a96184f6cb2ca4edb3eddac9fc998b80b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancel (cyclomatic 13, cognitive 16): cancel has cyclomatic complexity 13 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2109}}}],"partialFingerprints":{"codehealthFindingId/v1":"62086b55abffa6a295ab7719c37e0c802b04de96b6cb188c0172c3424d160288"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function linkTarget (cyclomatic 13, cognitive 16): linkTarget has cyclomatic complexity 13 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"f532d88422c302f07c561e37f021b683bf12ba62d4e8b5e58c92236b285bcb78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runButton (cyclomatic 13, cognitive 15): runButton 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":"apps/web/src/App.tsx"},"region":{"startLine":3927}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbbce7030b63a812bc8ed51a0b4b1042328177175ad738281ab4886280793dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dashOf (cyclomatic 13, cognitive 15): dashOf 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":"apps/web/src/cad/render.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9f54884e1cd6424088d78a15183bb3abb6450cdd2d2e4744c5d07cc42c9ec3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStampPdf (cyclomatic 13, cognitive 15): parseStampPdf 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":"packages/markup/src/stampPdf.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd395f807d7586ca9eb04ab6a045d9878bc32d8c4b24f6830956cb9101ed163"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revuCandidate (cyclomatic 13, cognitive 14): revuCandidate 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":"apps/desktop/src/revuSettings.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"504de5239d8b0e3e7805c012c94c79ab3e7b0631ecb35f243683965cc317552d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readClasses (cyclomatic 13, cognitive 14): readClasses 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":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"87deea15572b6a144db7e440cd73159a65aec38bd1635197bd33a2e154024de7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sampleOf (cyclomatic 13, cognitive 14): sampleOf 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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e541b2835bb9ae667c4dd99c14e1b6def38560fac586476c54b2562cb742ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exampleOf (cyclomatic 13, cognitive 14): exampleOf 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":"apps/web/src/desktop/assistantSymbols.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"049191e430d36d62638d4672d5678feb4630d83f9e5dac2f4f5d9a9c8c8d2f77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legendRows (cyclomatic 13, cognitive 14): legendRows 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":"packages/markup/src/legend.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f842acdfbe31015bea66192e22f1d8034487c069baeac1a154bab6954de00ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) 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":"packages/sheets/src/links.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c82fcee80292b48ae843b94d48639299be5296ccf916cc10d3aa0717f487aac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listMarkups (cyclomatic 13, cognitive 13): listMarkups has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cbffcc3d9ef50e6135930271895b392dbcf7910133daa8bd8f78d8f13a9759"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function imageDecoded (cyclomatic 13, cognitive 13): imageDecoded has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/indexer.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"577005ab4e4fffc6e9b906795ad7ea92316bc1aaa8d115a5068efc1aac397227"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/tools.test.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b7229f11dd98911db91d0f0a8b196331a84d3f4a2023092d4516b6aeeea18d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFace (cyclomatic 13, cognitive 12): readFace 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":"apps/desktop/src/fonts.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"468ddcac488834de8f4423375d5e4220c45cb44d15faf3ac6f42a63097cf707f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":7451}}}],"partialFingerprints":{"codehealthFindingId/v1":"260e0efc5d178d7da7b964f4456ab03776794999904e4812a5be249db7dbda6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function current (cyclomatic 13, cognitive 12): current 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":"apps/web/src/App.tsx"},"region":{"startLine":7993}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b15912e51ee223b7ab11b9e870ae1a1ee3823e612e3c66cdc6b09785966051"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareCells (cyclomatic 13, cognitive 12): compareCells 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60317121af294d2e7363830b273b674b03d005bc5b710a20cffdfab325316f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/BookmarksPanel.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4dc9fe9933fedb5773ca656422e91b1d267edd969e577aa6775bc8cc39715a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CadConvertDialog (cyclomatic 13, cognitive 12): CadConvertDialog 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":"apps/web/src/components/CadConvertDialog.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81e0ac78bebff203eb89c0d87fd79090a946945fab46283681930a938684ed6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DeletePagesDialog (cyclomatic 13, cognitive 12): DeletePagesDialog 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":"apps/web/src/components/DeletePagesDialog.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5813b2004902a743675b43f9758e8be48337309973af633b74c35792ece17252"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39b825f3b2201cd50b8ff4efa3a19151fae335d82a6cea09ce9601cf907e015"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProductListsDialog (cyclomatic 13, cognitive 12): ProductListsDialog 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":"apps/web/src/components/ProductListsDialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15fdf172c6e6bc2ea1bead31cb5ae65af70406e815a8db7bab283bb72775c70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionList (cyclomatic 13, cognitive 12): SessionList 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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e589babadf4c8e6d82e15afbac72d81eb7da975139f0938dfb9c95aa32ada6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 13, cognitive 12): onKeyDown 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":"apps/web/src/components/TableCellEditor.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d562aa113d4e0efe46683721479343f877937be4a734b7f5744c25d613ee399"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planViewport (cyclomatic 13, cognitive 12): planViewport 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":"apps/web/src/desktop/assistantViewports.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c5fe1b7f49e929c759bb0f2b833f8017bec2a543d2005ee48f3a7af324e76c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAction (cyclomatic 13, cognitive 12): readAction 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5757b5f83a1daa16d87e70c0a08261251e88eda9b95cde09af01b2da61215fb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timestampTrusted (cyclomatic 13, cognitive 12): timestampTrusted 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f49dcb1ea4620458e033e87a1de8bdef08973fcc11242a5a6641edfd8151ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/store.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"243d018472d3a04ac206d9041aadcad10f91539353dae12bc1683746258ff49e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poly (cyclomatic 13, cognitive 12): poly 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":"packages/markup/test/compat/a3/lib.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c293f46dfaae68d3663395aade487c01ae79ea450b618cfdb8cd9a5628badbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 13, cognitive 12): constructor 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":"packages/markup/test/compat/a3/lib.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7d2fa02fe8c2e3b6adb311a96edf4ac03eb84e7068d8c27428bb6ca010bbc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AccessPrefs (cyclomatic 13, cognitive 11): AccessPrefs has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/AccessPrefs.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1b47e1e35bb2c43339aaf91772718126d93eea1197e1d1480d9848d4d45ad7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKey (cyclomatic 13, cognitive 11): onKey has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c3fe42744745a4c10890b5c99705665a58fc22c7ee55e767f84fb9f29e6b5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StandardSettings (cyclomatic 13, cognitive 11): StandardSettings has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/standardsWizard/StandardSettings.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7381e6adff1990d5612557b7da25d582f459b3c93db787946de01644974b1990"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseNumber (cyclomatic 13, cognitive 11): parseNumber has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66729a61ca0309a5216d00eaf21972ddbe46f400aaab8df85847ec692247b9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTo (cyclomatic 13, cognitive 11): addTo has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/takeoff/reports.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e46449e2e03b5c35d054b213981e5478b5ce98ad760d33caf43975f7497ef1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) has cyclomatic complexity 13 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":"apps/web/src/components/CountReview.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74060697c1dfdf943f1fd01a05d19c5032e6b71793204986a27c235c78c4d06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NumbersStep (cyclomatic 13, cognitive 10): NumbersStep has cyclomatic complexity 13 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":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27f0928c971bcc8d88c990ec2adce886e5d5c183324ef6da471efcab4d83fa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isTitleLike (cyclomatic 13, cognitive 10): isTitleLike has cyclomatic complexity 13 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":"packages/sheets/src/detect.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7192c3b821f9c0d7912bf0fa45cc34aac46ede450b7e297f9240630e493879"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VisualSearchPanel (cyclomatic 13, cognitive 9): VisualSearchPanel 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":"apps/web/src/components/VisualSearchPanel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84b3a6e925dbc047291f517ffb90ec2fc370d2240e05884b904f5785d8472c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chainGroups (cyclomatic 12, cognitive 30): chainGroups has cyclomatic complexity 12 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":"packages/stitch/src/layout.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c94fdc2560a443b4d55f60ade61af85eb26c51b3c3e74e66837f57554975efe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lines (cyclomatic 12, cognitive 24): lines has cyclomatic complexity 12 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":"packages/sheets/src/detect.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"388ac5b2629b4681714b632479a57ac9c83009b30afebe676f6f98a1a6c653cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffWords (cyclomatic 12, cognitive 23): diffWords 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":"apps/web/src/compare/diff.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"849f1c921a40be28f52f28d596232b7c705c645fff67eaf7894576ca5420c780"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printablePdf (cyclomatic 12, cognitive 23): printablePdf 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":"apps/web/src/documents/printPdf.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38e5c39bc695e0d2afc0997989f67251daa37bb4c3662cb2b7d84336f5f8149"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build (cyclomatic 12, cognitive 23): build 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":"apps/web/src/documents/renderCopy/renderCopy.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c88b6e59800feeea50270686744bc0f649555b1f9a19bb32a145dd95515f802"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failures (cyclomatic 12, cognitive 23): failures 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":"packages/markup/test/compat/matrix.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f252843c94de68c67f397c7321d6c637cee60ec4854e116240f49c4e59aca582"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reportPdf (cyclomatic 12, cognitive 21): reportPdf has cyclomatic complexity 12 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":"packages/markup/src/report.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d79d63c3c0c915f78df90541b9cc56c3c45a0997a97f01f11a18e6afff5075"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseXml (cyclomatic 12, cognitive 19): parseXml has cyclomatic complexity 12 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":"packages/markup/src/xfdf.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6743da3b87480dff21d5e890073806baccf6ef5b0eb25320031cc0c6633e7fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walkPath (cyclomatic 12, cognitive 19): walkPath has cyclomatic complexity 12 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9b47b2a093a96ae8bae085a7e4befd748e55fc42adfaf1939fd59271e50a1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shxWords (cyclomatic 12, cognitive 19): shxWords has cyclomatic complexity 12 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54002973871377588f65ceb4fed0b1cf4ba227258bb91a6799a0d40b64e7c9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 18): (anonymous) has cyclomatic complexity 12 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":"apps/web/src/App.tsx"},"region":{"startLine":4980}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3761a471f18162645af1842b2d967dbc7376978df89e4fa294b161a5fd6cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lz77ac18 (cyclomatic 12, cognitive 18): lz77ac18 has cyclomatic complexity 12 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":"apps/web/src/cad/dwg/lz77.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9082f0510d4414e9cc6e22270c1e04cafdb04f86d208790879e5d35ed13229ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildChain (cyclomatic 12, cognitive 18): buildChain has cyclomatic complexity 12 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":"apps/web/src/documents/pki.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c9fdbcf40dc2b54d27f697acd7f37811ff34dfa05230a5c6f97aed1b4d107f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 18): (anonymous) has cyclomatic complexity 12 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":"apps/web/src/sheets/indexer.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b067f91bf1a0572217de8a54d4e6f4e0fd9013341b9adfa87db7a1aaa9847c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleList (cyclomatic 12, cognitive 18): toggleList has cyclomatic complexity 12 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":"packages/markup/src/textLists.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"002d7f6166033dd366caab03a67f35b1500397b80da88b2cc568be3e029214e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureDetails (cyclomatic 12, cognitive 18): measureDetails has cyclomatic complexity 12 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":"packages/measure/src/measure.ts"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"254615e21e61b3ae27e2e81917334c93a6e41a490f06e31bdb5c05c17b361746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawnPictures (cyclomatic 12, cognitive 17): drawnPictures has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/fdf.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec755d86789ce7ee7e0cee69a81ee8e201da307d28b1b7eb4e705c7848f8bcab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markupsFromXfdf (cyclomatic 12, cognitive 17): markupsFromXfdf has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/xfdf.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0478b28c0bc92d8333f0572f3abea844d48a4935276398db24fcf9c12bb824"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summary (cyclomatic 12, cognitive 17): summary has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cad-corpus.mjs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"428e9e94ea112fcd7277ce07fc8b2be64ed77b88aeb9455efec5dc7fe30d133c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 16): (anonymous) 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":"apps/web/src/App.tsx"},"region":{"startLine":7395}}}],"partialFingerprints":{"codehealthFindingId/v1":"e280486cdc29d720496f0f1399b9ade1ec2e54d4bde8c5462a9f3e5d4b002b12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setStitchRegion (cyclomatic 12, cognitive 16): setStitchRegion 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":"apps/web/src/desktop/assistantStitch.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"049f6b71bc02262d878a8a9e213bb385e682700fe77befc3fc2202360062b5ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function numbered (cyclomatic 12, cognitive 16): numbered 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8be0c86da5693fb2898af20ff86ab2b3f90687316485506d2952dc0875f1289"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPresence (cyclomatic 12, cognitive 16): buildPresence 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"941d9678569bc4d65579b1a541ae027bd324b7543e55984e98225c1f1ed7b27a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function injectBax (cyclomatic 12, cognitive 16): injectBax 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":"packages/markup/src/bax.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d876d2b5ff3e76b0188b7580946c40b98056702a77494aad2f55e75de21d12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function richText (cyclomatic 12, cognitive 16): richText 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":"packages/markup/src/stampPdf.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9955f36ea61fa7bcb4bdf627b520a76602701370e9c0c9a607d1c3f974ac466"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blitImage (cyclomatic 12, cognitive 16): blitImage 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e7a304c9d758881710d54483dad5f4460d9893daae50fb76dc6abc0091599a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commentListMarkups (cyclomatic 12, cognitive 15): commentListMarkups has cyclomatic complexity 12 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"40172438ad6c806e242aaae715e84f646ceae5a8314d2b72cb3bb90a96cd78e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pick (cyclomatic 12, cognitive 15): pick has cyclomatic complexity 12 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":"apps/web/src/components/GeospatialPanel.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fed99c9384b08e6080d54774c51edc0239937eab49f7eafd7eaf098ce2ee02d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invite (cyclomatic 12, cognitive 15): invite has cyclomatic complexity 12 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f29c918b7b6b634d8b2dd07e8f1505523d83c2d6414a1a4833ba2866b323261"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBhx (cyclomatic 12, cognitive 15): parseBhx has cyclomatic complexity 12 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":"packages/markup/src/hatchSet.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14a87b7251f49ed46aade356504ff961d44015a43a3ba20ab49a270ba573ecf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pipeline (cyclomatic 12, cognitive 15): pipeline has cyclomatic complexity 12 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":"packages/markup/test/compat/run.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"154941cc44f09e9876d2746962af7cc36859321b82d09387fe468a6583b579b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 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":"apps/web/src/App.tsx"},"region":{"startLine":3290}}}],"partialFingerprints":{"codehealthFindingId/v1":"844b9aa781b26e7a5e83a6c5e86c59650fc00da3861fefeaa95fd8f03b8680af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bulkInsertDocuments (cyclomatic 12, cognitive 14): bulkInsertDocuments has cyclomatic complexity 12 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":"apps/web/src/App.tsx"},"region":{"startLine":5797}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db503350705a234e603e60bac566eda1dde930bf3fd9214b92d4c40413050a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAc21 (cyclomatic 12, cognitive 14): readAc21 has cyclomatic complexity 12 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":"apps/web/src/cad/dwg/r2007.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0ca097b7df9ecbfad6f91752898db0b0fc1798766464a365ba4d7ca86865d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateValue (cyclomatic 12, cognitive 14): validateValue has cyclomatic complexity 12 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef246d7fb8c93f36c7418fd400e46613ce1b36e2a5591d2e8df08ebe7dc3885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function valueOf (cyclomatic 12, cognitive 14): valueOf has cyclomatic complexity 12 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"62076a952e4246953823ca5209090ff134b743d14222245eaa3b7af7b2ac773a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeComponent (cyclomatic 12, cognitive 14): writeComponent has cyclomatic complexity 12 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":"packages/markup/src/lineStyleEdit.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2f01ceb882310ab5771ae66fc1c68b91832a055b2f84667253c54fe910050e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 12, cognitive 13): onmessage 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":"apps/web/src/documents/renderCopy/renderCopy.worker.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"35261cc9d2ccd304a6338b7e29bb5d7e7a1f50f6e8fb7c26393458b0a696f1ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) 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":"apps/web/src/sheetsync/useSheetSync.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3ed12360aea0b505619e158a39cc6522c273f3a3a62b2ff70e2a30941e4695"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseListItem (cyclomatic 12, cognitive 13): parseListItem 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":"packages/markup/src/textLists.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6526c74add8f4f554845aa3b3dd9a039542359629d82cb983d97e72b05db537e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchFn (cyclomatic 12, cognitive 12): fetchFn 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":"apps/desktop/src/graph.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcfd6e49f86656c02b29f5d8c82ab56a317fea1c8a3df8cf4146d75a0b89e2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 12, cognitive 12): start 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":"apps/desktop/src/main.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"754e85a5f263e50ab6df7f0cc90871a545f64dd04fd272f1195f05c1fc494ad6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) 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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8ecb470a06da5c5316c7553508c1d144c1f5a28baa565ef157d4614ed1f5ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inside (cyclomatic 12, cognitive 12): inside 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":"apps/web/src/documents/renderCopy/clip.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b1e27971b1250907ba53454a988c19d530bd8a79542fbdf2995d2b6c5dc04a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resume (cyclomatic 12, cognitive 12): resume 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2060}}}],"partialFingerprints":{"codehealthFindingId/v1":"a446aa1eb88ea3465decfb3ffc9e5b4bdd26c99701de7205bd61254fc9e4bca6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAssemblyItem (cyclomatic 12, cognitive 12): resolveAssemblyItem 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":"packages/markup/src/estimating.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdde7c3cfb2373a04dc0ddc7d4aef52dbe0b7da94fac3c6acad43c69ed2bab8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function baseDict (cyclomatic 12, cognitive 12): baseDict 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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"06237ac176fa73fec70a071b174cd7782d0a1e1f33a38325611a71f78346f173"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanMerges (cyclomatic 12, cognitive 12): cleanMerges 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":"packages/markup/src/table.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0e7cabad0f37de13c8a0080625213553457f905276bc20e7ff79e0854bc74b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function textObjectAt (cyclomatic 12, cognitive 12): textObjectAt 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"41177822f26e881419a7c995fc6a378089f978176adf93788c28a55fc467e9ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteRefusal (cyclomatic 12, cognitive 11): deleteRefusal has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/graph.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2efd4cf814275b8f699bf34f13ce4c3d4349452e870f308bdba348bbf81723b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function status (cyclomatic 12, cognitive 11): status has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e924df07bac9d28948711c8cad72b11dfac789d9b31af454aed795924ebf8e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FormsPanel (cyclomatic 12, cognitive 11): FormsPanel has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfd99dd6244e6330f932e4e514f2461a65d8b678d2a2a3e22c9c6c3f7e7c951"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/LayersPanel.tsx"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"4769114b100f8e9ac3ae67616dd4608dd922b17d6e36f08c95a6adfd7c07ac81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ffdb1192aa1e6b66cccd65e1c97e31eec70a4cf577c552adb4d4d53ccd6720"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 12, cognitive 11): resolve has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/ltv.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebf89f09f54e53b71b21873d5410e3ab9e15f5218e72a10478331649f54002b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withDefaultUnits (cyclomatic 12, cognitive 11): withDefaultUnits has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/settings/settings.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c9da6fcb79311637567040bd7bc8feceb8918aa7cb03728558749f2db8d0a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function learnChainage (cyclomatic 12, cognitive 11): learnChainage has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/teachLinks.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f37b5e8fbf39b36179d23dcf41e5e61bcada01f25663c37dc743a123b6d9b14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legendKeyOf (cyclomatic 12, cognitive 11): legendKeyOf has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bluebeamTypes.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ff472bbc2a620f21488c97c81f964630450403e2a36f77661eb3e3849dc75e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/export.ts"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa72c57c66190a1cab7960b1c48ef944af7ef59d7d837a5040affd074a26dbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readGcs (cyclomatic 12, cognitive 11): readGcs has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/geo.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"48163acb547c5fc69e753bce9428b8546a40fd117462844ebcfd681437da48e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measurementLabel (cyclomatic 12, cognitive 11): measurementLabel has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/render.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b64de0f173f144e87c319048267f105711886efe0d10d735d8ff887d939679"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function featureOfAnnotation (cyclomatic 12, cognitive 11): featureOfAnnotation has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/test/compat/run.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae8e57c2e43a2ea4ebcc5e65a58512799450000afca6afbf2c7bcab9b0eba4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) 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":"apps/web/src/App.tsx"},"region":{"startLine":7221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d574d684fcae6e03a829e23d1e909f3b3174904dd2668f12fc0046dc0213123"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slopeCells (cyclomatic 12, cognitive 10): slopeCells 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a710fff463c0ad9f38ba5fd731ef8880ce2b16b585eabc1b5f7151c9b0f217c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LineStyleSelect (cyclomatic 12, cognitive 10): LineStyleSelect 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":"apps/web/src/components/LineStyleSelect.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"293add485525e838cf60530c72159c63e77390f73eaa1fee6093f5e1144da56a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LineStylesDialog (cyclomatic 12, cognitive 10): LineStylesDialog 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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"265573cd2d13290ba16a1e9a2477187e8c54a8f951adf45b7230ddc86578a5e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SecurityDialog (cyclomatic 12, cognitive 10): SecurityDialog 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":"apps/web/src/components/SecurityDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36d7b4f52fbc24a97ddc5b969c05da7074cf673b523da01331cae78510fd23b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionsPanel (cyclomatic 12, cognitive 10): SessionsPanel 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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba25cc691fd5429fae3571c408cb44050d327250a6c3f7af7283faca85ea275"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wheelSinglePage (cyclomatic 12, cognitive 10): wheelSinglePage 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2d978769f26e14b903f93713e3c463fd799d846eec655f9b41ecbbd4ce4d8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeColumns (cyclomatic 12, cognitive 10): writeColumns 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":"packages/markup/src/export.ts"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71466565c7fb0bf1f51c3887375b0b1e4874d6653d9f9b2cc3a5abaeb3f5de9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SoundDialog (cyclomatic 12, cognitive 9): SoundDialog has cyclomatic complexity 12 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":"apps/web/src/components/SoundDialog.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c37cb5aa6e1b84424f3d82b4ce812883c38a37a6d4469c8af142a9b5132bb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 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":"apps/web/src/sheets/standards.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"7933f677072bf7d5152e01ff8ee0c6fd26cfe8c46d9389d3db93be3e1bf557f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeBoxes (cyclomatic 11, cognitive 29): mergeBoxes has cyclomatic complexity 11 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":"apps/web/src/compare/diff.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14400edeaf78f431c20f07b0c4632d55769183045d2962a21827657c6c80d69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 26): (anonymous) has cyclomatic complexity 11 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":"apps/web/src/App.tsx"},"region":{"startLine":3300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f85c4dc2688e7501fecda1c85f04570481a9dbb1c5a10f7baf6a9b3f1cdfccc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 22): (anonymous) has cyclomatic complexity 11 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":"apps/web/src/components/SpellCheckDialog.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61dddb0518303e8fbc86170acee498b044fbd1aff99d1c86be34775b1a50b05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runScript (cyclomatic 11, cognitive 22): runScript has cyclomatic complexity 11 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ddb6c4427fad0eabdf78e9b6282098394c7ca8e59c2bb89883fad076cd31bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wrap (cyclomatic 11, cognitive 22): wrap has cyclomatic complexity 11 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":"packages/markup/src/summary.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cc8b61001017a5cb0335090059e597c799a16ec5119ac26d884ac613b4b802"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 11, cognitive 21): draw has cyclomatic complexity 11 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":"apps/web/src/cad/pdf.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3807c897f6632bf948cbe2a54d4b7675a2e7fe57a9817246fa2ed60b2b92046"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function explodeSelected (cyclomatic 11, cognitive 21): explodeSelected has cyclomatic complexity 11 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4818}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c9417b7b610b447df3e00c5b79c634d85b7005159fb043a786ca7da05808de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 19): (anonymous) 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":"apps/web/src/App.tsx"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fa1632ef0022c00d3ca5f7f956259903e2dcf968e446471fc77a87f2b26830"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blankImagePixels (cyclomatic 11, cognitive 19): blankImagePixels 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"c469ee2ffd0cc4d4e049983a1984e584527bfb1791953156f6d385a770d988df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function viewLabels (cyclomatic 11, cognitive 18): viewLabels 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":"apps/web/src/measure/viewScales.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6183350b5094d753422798cf583858b79b6bd8ad5b963b740765d738f21c1a80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function touchesPolygon (cyclomatic 11, cognitive 18): touchesPolygon 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":"packages/markup/src/arrange.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ded445497aa095976b10a1bf6e4bc665341054f2f4585df8455f6d83a0a93b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recolourPages (cyclomatic 11, cognitive 17): recolourPages has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/process.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"448741933eac32df65d10cd9078dc48c97463fb900c56fd599cd70dc613499c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inlineParts (cyclomatic 11, cognitive 17): inlineParts has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/help/startTips.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"24526bedce18dbb506e6a7c9d84db7f4d819c94001cd9fc4b6b94b5bd9178c41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proposeViews (cyclomatic 11, cognitive 17): proposeViews has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/measure/viewScales.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb82c763b79f4db2e791d9079d1f9a4a5b2390b17df09590e3d406fef84d6fdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function joinedSheet (cyclomatic 11, cognitive 17): joinedSheet has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/sheets/marks.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aa9f26c80af31417ff060e45f383932ce27c32ac06fb53a14cba60468f9847"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lengthenPath (cyclomatic 11, cognitive 17): lengthenPath has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/cad.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1bdf69c7c6cc2a86112ceb1dd8d98e011cb895007d7726b4f124bc30ad56fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function customFields (cyclomatic 11, cognitive 17): customFields has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sheets/src/standard.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a852611651257e0ba8e61ad19c23f6b4cfdbf5cc187485522927c72889596c03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function colorComponents (cyclomatic 11, cognitive 16): colorComponents 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":"packages/markup/src/pdfExtras.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43c792f623d5094d33b992bb0895d6623dab091c9081255b49b9784a92cc8ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dockPanel (cyclomatic 11, cognitive 15): dockPanel has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":7569}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c9f4df5c00dea7e7d8416318b77e7b6b4577b873dec612def1966d266f9fcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":8201}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3868d5148b83d5e771f84e5d83a0e52d7270ceaa2e539bc10fc2fdbc59f630"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ordered (cyclomatic 11, cognitive 15): ordered has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/index.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e0493c1dd4dd5282186956d38fee89b728b911ffa75a8abde11b14cd1deda0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function kindOf (cyclomatic 11, cognitive 15): kindOf has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/compare/diff.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aefcb57b8832ba5ce900398c4e827587ff3a4d17e0e4402547511dc5cbacc6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawStitchGuides (cyclomatic 11, cognitive 15): drawStitchGuides has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":2894}}}],"partialFingerprints":{"codehealthFindingId/v1":"0243fb98b043fc59188d3c31d616c9bc54621530de6b85e84e6abcdaf05422b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildMeta (cyclomatic 11, cognitive 15): buildMeta has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"268a48a2019a5a3ebb0e1342f812b61bae3cec5647b883b5ecf8d7134b3ab52d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readComponent (cyclomatic 11, cognitive 15): readComponent has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/lineStyleEdit.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5ab31dabf1493745978e425cf8e1f604c0211aa96d1be81175fbe7cd763e46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseScaleText (cyclomatic 11, cognitive 15): parseScaleText has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/scale.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a8544d6281c464ee4fcde0772b70fb540f961ced554af8d7b2ed4473079575"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSheetInfo (cyclomatic 11, cognitive 14): getSheetInfo 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":"apps/web/src/desktop/assistantScales.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3643e941d5c2c66f6e4756d5a12c49150f21bea05dad038e9cefa3995f0d5600"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeStitch (cyclomatic 11, cognitive 14): mergeStitch 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":"apps/web/src/documents/stitching.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9027a9673d9725f883f01513fce6ab195f9d3aabff039f958af1ab79aa330393"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawCad (cyclomatic 11, cognitive 14): drawCad 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4902}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6907cc12f1fc0fccceeda99889d0f42c24e924591f7bbe97dc8e24af504e0bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onPointerUp (cyclomatic 11, cognitive 14): onPointerUp 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"348233aba65bac02619302e2218fbdce2d669ed8f4cd07fec9bb2e768c177db1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) 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":"packages/markup/src/bax.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5dec116094b8fb4f26bdd933f3937d0d4f0ed56df31773e03f9d0df0234805"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":5200}}}],"partialFingerprints":{"codehealthFindingId/v1":"33556566fcaa6a614a4881c8cdd266d4d9a177a663bd66020f6b4a12905fcf8a"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":5319}}}],"partialFingerprints":{"codehealthFindingId/v1":"548345a99d0cbd54e0b31ad53b4d35cd2d90fef519f7a2cca7ae1614718ef843"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKey (cyclomatic 11, cognitive 13): onKey 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":"apps/web/src/components/FontPicker.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b84f9572c50c2b1d340d2f1a9f38ea3ab355cfa0c32546ec66272ffdc9df5ed"}},{"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":"apps/web/src/components/HyperlinkDialog.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6e7d678fff331a2ce0be0ebaef581f40a094712effc60c76004074f1487039"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickMarkups (cyclomatic 11, cognitive 13): pickMarkups 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcbbadef23a4fc9d4db0aaada716b1fae2db47db001cf8c84b6bee736c9ab4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planSlipSheet (cyclomatic 11, cognitive 13): planSlipSheet 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":"apps/web/src/documents/slipSheet.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf308c55bccfac24db7e46036d07962d6e086e269b2f762623cea4a909c33a21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawingArea (cyclomatic 11, cognitive 13): drawingArea 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":"apps/web/src/measure/viewScales.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"791dc395f3b4ab7461225d1f76896352e71b763df5d5ad50690160b74510773b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconnect (cyclomatic 11, cognitive 13): reconnect 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5114002c6a122a4646065d177c33ad92cf9d5bb02af2cb4bc2e2dd5bb982cc38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extendPath (cyclomatic 11, cognitive 13): extendPath 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":"packages/markup/src/cad.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0c93c77a2a6bac8c405175234461f77aee248f29367b33a74337743b30490c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addMarkupLayers (cyclomatic 11, cognitive 13): addMarkupLayers 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":"packages/markup/src/export.ts"},"region":{"startLine":2018}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f16f27ea10737bf4fea034109b6c1aea9d374bb5c10508af925fc697caacaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clearTableFormats (cyclomatic 11, cognitive 13): clearTableFormats 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":"packages/markup/src/table.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"417afa6669044c5735a4e3392cde583f28586c2a588ed243fa51888a394efbea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function continueList (cyclomatic 11, cognitive 13): continueList 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":"packages/markup/src/textLists.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b38f1fc1d51ff7f3cfc14dd92e56553c072e9a2e7c9cfd5e200f7520f0f835a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function standardFit (cyclomatic 11, cognitive 13): standardFit 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":"packages/sheets/src/standard.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64569d5c9bcdaffbd716a831e951d512d365d65807a0a77b2fc8f2542b019e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function microsoft (cyclomatic 11, cognitive 12): microsoft 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":"apps/desktop/src/auth.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4166917b789c1b878c9321b2b04fd3fd1f9fb5b6419f264f926c34013e4544"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) 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":"apps/web/src/App.tsx"},"region":{"startLine":4461}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4047633398f2d8d8515305fbe937dc3561b6c7b9e239e161b6192603ddbfe8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 11, cognitive 12): onmessage 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":"apps/web/src/cad/convert.worker.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f708a4752b7c233b8e7f2ae91afa1d2b71d9c8407c9e95c9286ac82b0d9f951"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FieldEditor (cyclomatic 11, cognitive 12): FieldEditor 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":"apps/web/src/components/FieldEditor.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0df6c852a79795239cafa25d4c32dad66601d699808c4a70d46c6f2c52a4ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function switchFrame (cyclomatic 11, cognitive 12): switchFrame 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":"apps/web/src/components/GeospatialPanel.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"6262e81346440122488cbb72251b8606a90f3cbaec54f14d2eddd60fdca00f26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) 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":"apps/web/src/components/SetScaleDialog.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"43611bb8a0657cbaebcdd6e0dc60bad513ec2bd6c4495bc33b881c1e6004852f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findStandard (cyclomatic 11, cognitive 12): findStandard 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":"apps/web/src/desktop/assistantStandards.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"401d9ac3beaa9777ad385d91a490d33c403d8296562caa817c3007e448781d0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 11, cognitive 12): create 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d6f4e503fcd5b99f4142b3d4886bd485015a7af9dcb0557cf5bbeda6535514"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function statusOf (cyclomatic 11, cognitive 12): statusOf 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":"packages/markup/test/compat/matrix.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"009d569d9d961ea288d30fc228c468d095b16265a1a99eec633608b9d3650223"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 11, cognitive 11): resolve 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":"apps/desktop/src/folderDrive.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0100629ce0e45cf87e892c22656a0ecfd78fd16f221da28570cf2a05efe84544"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) 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":"apps/web/src/App.tsx"},"region":{"startLine":5341}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6e0e564477a04ff70abc3b3643e7e8a18044026042eb3cc05bebc4daa05bad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function displayValue (cyclomatic 11, cognitive 11): displayValue 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":"apps/web/src/documents/formScripts.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f230c86b5397ed2d758fe5fbcab7b25ed43a6f0bc0078000d62f3464a2aaca8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ocgsOf (cyclomatic 11, cognitive 11): ocgsOf 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":"apps/web/src/documents/layers.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"99eec629f282afade2380aa427893900f3133ebcdfe7aff21458b6a03cb1a376"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function placements (cyclomatic 11, cognitive 11): placements 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aecbedeff8b5a9af27f552b1730a25fc5a2ed1f627d44004095761d15951c63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) 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":"packages/markup/src/geo.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae2a508d0b7659ba1701cdb22fd8ec60d28abe90986f457184bd66d24891716"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unrotatedSnapPoints (cyclomatic 11, cognitive 11): unrotatedSnapPoints 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":"packages/markup/src/snapPoints.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"49080d028ce90e56960340ba86a8f7bdc2e44d5802bb1d5d2a3415b42d338f72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function annotatedBytes (cyclomatic 11, cognitive 10): annotatedBytes has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9647050abd51264befcf2c4b7de3b7547824222406517e15bf8dd0c3189436a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":5686}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7d3161f0a96b68e6caed36f029af9eba66a809eeb72e280d5c250f5954158a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveTab (cyclomatic 11, cognitive 10): moveTab has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":7331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d906cb67508ba16b174ea39921d756111ccb6a919a12f73ee5b844832df18e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/assemblies/quantities.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc994ea1a24a7459d066b555196c1c74a54e5308373d6e495899e8385dfd476"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CMC (cyclomatic 11, cognitive 10): CMC has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/bits.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"331503a1022a7a047736c8b60d22625c9d284046ae99e604a11714a7f5749169"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modelSheet (cyclomatic 11, cognitive 10): modelSheet has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/sheets.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9d174e4e6f3fd1068f024dc19e2df038137f17908cc4d9f4361443abe84487"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportedCell (cyclomatic 11, cognitive 10): exportedCell has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a5f52d1aa0c77c20930fde58a8d97132cc38bdcfa175a43e0833795671df27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScaleRequiredDialog (cyclomatic 11, cognitive 10): ScaleRequiredDialog has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ScaleRequiredDialog.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d7d3f6434ed0de33c6c6f84779fb8095dc7b72468b525c28f3904a871a2aec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SheetSyncDialog (cyclomatic 11, cognitive 10): SheetSyncDialog has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SheetSyncDialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"df304a7c549cda34d1cec9b5c3473a299646d555bae67d089dcc2f011c7cba30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SignaturesPanel.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db1f68b0b8bb98fc81fee194059ca7e7dfd724907e3a0f1f83c5bc3d30bb572"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StampsDialog (cyclomatic 11, cognitive 10): StampsDialog has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a7502ab2bbc87df9b824f6e7d24c39b8970105791e9d1e3edcc2d59f3de311"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 11, cognitive 10): draw has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ToolChest.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da60eb0cf589f604f3b3b9f2f860d9c2e53bf8334fe4a824cf45ca0dc1eb20e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapKinds (cyclomatic 11, cognitive 10): snapKinds has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb26860dcdbc710ba3881ffc070ad37827484fe521a62340030ab2a7e47e53b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleSmooth (cyclomatic 11, cognitive 10): toggleSmooth has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"402b363838824d218dbb88e5aea4a180d01b5eedc654626fb8e3ed8ef2a41219"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function offsetCopiesAt (cyclomatic 11, cognitive 10): offsetCopiesAt has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":4935}}}],"partialFingerprints":{"codehealthFindingId/v1":"790ca32b97735a276d94bfe7e7552f687616489fca431bb493a35ca8a4c49fc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bluebeam.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9fa747552104735fe4ba98fc1b4c1e8bee82892ecf3674627749b1f9cdc733"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ourLink (cyclomatic 11, cognitive 10): ourLink has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/import.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4972ba7e37285ae36334b3f17d5dbd57c92122c51eac3904bce66778331184df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function contentOf (cyclomatic 11, cognitive 10): contentOf has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/revuWrite.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"232191459d5332e4a71f519f403b77525d159af368b7d801f6f2856b7047f5fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/textLists.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1dab54dc8ae1d276319bd7ec8f246dc15dfddd834f4d60e3d6ddb5f24b14e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restyled (cyclomatic 11, cognitive 10): restyled has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/tools.test.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5501186b06775ba0aa65bf02298d4fa6f4c4ed2711bc97dee4d28028523cbde7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/tools.test.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d3ce0c39a0bae58635bb7777f014513df4f01bf3394b5f7fa05bb9f07d3e2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoFields (cyclomatic 11, cognitive 10): autoFields has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/test/compat/a3/columns.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2647f1a6ee42a5b8d8ed2fabb7ed084883d444d4f5155a33791c0fb5a1ca5b20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandArcs (cyclomatic 11, cognitive 10): expandArcs has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/measure.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0e8a98d5c3317240f7d95268c4335ca8f0988b419bcfac35172d291cc5240d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyY (cyclomatic 11, cognitive 10): applyY has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/measure/src/measure.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d78b477b48941c16f831eb00c783088afd675abdf4e5513c439fabc90e0bbf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function imageOf (cyclomatic 11, cognitive 9): imageOf has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/assistant/message.ts"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddde153df6f95b0452a706ed1cc4bba408188e52eadd4e5fa8088c20dada6111"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function current (cyclomatic 11, cognitive 9): current has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":5576}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd238bc7f3230d1ca4fef8d2ecb9ce80f02f5d75fcaecc1221f76347c70ae7d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/StitchPanel.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"935e3499163e193bdad62b43b58d4ba9e81997eb9bac74f8fe9971a6a0486406"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ToolChest.tsx"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"2886dd4996ca8831b6e8534aa7c04ed89a4a6bd8fdc7b5225832537ea9d3c1f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InviteDialog (cyclomatic 11, cognitive 9): InviteDialog has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/sessions/InviteDialog.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4173e13d466b4ab2c388b8db7192026c64531c450df2f71c79ddc7bb94f956e9"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/App.tsx: 11419 lines of code: apps/web/src/App.tsx has 11419 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":"apps/web/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bd09cfd61dee91bf4cc227dfc30bd16a76f2dba143ee13bd845992944e4ab1"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/markup/MarkupTools.ts: 5400 lines of code: apps/web/src/markup/MarkupTools.ts has 5400 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a3e5735c0b16a2c20a5a6733f67d412c01c60b1ae23eb09957d4253bb5a867"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/markup/src/export.ts: 2242 lines of code: packages/markup/src/export.ts has 2242 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":"packages/markup/src/export.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f724f99987ec3837d03e548c25a9113f19303c9cf99232e40632ba595b5a119a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/pdf-core/src/worker.ts: 1988 lines of code: packages/pdf-core/src/worker.ts has 1988 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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece5140ab13297be0a5f32cdd5382cd7d3eadafd9c18b95fb6d0c415c108b325"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/viewer/TileViewer.ts: 1867 lines of code: apps/web/src/viewer/TileViewer.ts has 1867 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2425dae4bbcb8c00c4ca9e54c889de94fcbd3a59bc23044be9c06cabfb45bd2a"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/Ribbon.tsx: 1377 lines of code: apps/web/src/components/Ribbon.tsx has 1377 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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cf67f3fba362850e3e5b1779e971c0dadd77c3ca63c99a21e2734d9a5ba82c"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/cad/dwg/objects.ts: 1320 lines of code: apps/web/src/cad/dwg/objects.ts has 1320 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":"apps/web/src/cad/dwg/objects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30ed21a1eb0264842b36628774fafae540719d638fcc7cc9bd7b7885e3c9289"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/markup/src/store.ts: 1317 lines of code: packages/markup/src/store.ts has 1317 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":"packages/markup/src/store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2820781fc7f37e574e85dfdd129838484224755fe156829a8bcbdcd2d220ca25"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/PreferencesDialog.tsx: 1220 lines of code: apps/web/src/components/PreferencesDialog.tsx has 1220 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":"apps/web/src/components/PreferencesDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e7cb5bd8b7416467991e22f0ac9afc9ab139b0c15769ce7faae310ac155fc9"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/MarkupList.tsx: 1192 lines of code: apps/web/src/components/MarkupList.tsx has 1192 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f75be74ba0793e382908ff844992db56db2e2237eafa0c78cff1325c9ceac42"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/studio/drive/DriveSession.ts: 1115 lines of code: apps/web/src/studio/drive/DriveSession.ts has 1115 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"016002301f805d13a6b2b3ea345b5c11b82e151408c95f521fee496a1f83a4e8"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/cad/render.ts: 1106 lines of code: apps/web/src/cad/render.ts has 1106 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":"apps/web/src/cad/render.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b34269c2ade4b96d70abf629fcb62248f28cc7a9617f97d0f2e143735b3316"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/desktop/assistant.ts: 1101 lines of code: apps/web/src/desktop/assistant.ts has 1101 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd0fa4c60829b4324abf1f04e03e5088687f65e07df95c383142e5c71cbcd64"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/MeasurementsPanel.tsx: 1070 lines of code: apps/web/src/components/MeasurementsPanel.tsx has 1070 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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bb99fee87b6e3fe48ef8834f0ce317552075f2414f48ee50f245d909059d6f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/markup/src/toolchest.ts: 1062 lines of code: packages/markup/src/toolchest.ts has 1062 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":"packages/markup/src/toolchest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"611b666bdbeef95b302625155b1dabf8f98c0c01fa480f2c053fce00cb45771a"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/ProjectsPanel.tsx: 1057 lines of code: apps/web/src/components/ProjectsPanel.tsx has 1057 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":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d96d30f43ca1ab937fca298d891da1e65450787592001fce68c84429d6a19b"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/PropertiesPanel.tsx: 1048 lines of code: apps/web/src/components/PropertiesPanel.tsx has 1048 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":"apps/web/src/components/PropertiesPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbe4238d2c696f9716fe9964deb97afa538e305ef12fff7b84f04ffe58100bd"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/desktop/src/assistant/message.ts: 1023 lines of code: apps/desktop/src/assistant/message.ts has 1023 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":"apps/desktop/src/assistant/message.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b545efd1c003673ec1ba1a04d0d5cad4f171eca9336e4e5c76e5be027685107c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/markup/src/import.ts: 947 lines of code: packages/markup/src/import.ts has 947 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":"packages/markup/src/import.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e4d5cbcb3d890089388a2c9f0cf6d9edc2d1ea90e6fc9c036f7d92f93b697a"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/studio/drive/onedrive.ts: 933 lines of code: apps/web/src/studio/drive/onedrive.ts has 933 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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0060599539f069902f390d47989d98b0b610e5409cecb242203f7ce2aa30e03b"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/ToolBar.tsx: 835 lines of code: apps/web/src/components/ToolBar.tsx has 835 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":"apps/web/src/components/ToolBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb0ed33a8c02c14700a5363c09ab0969efc35664ca9341a3a7beb80c5d34ca0"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/LayersPanel.tsx: 829 lines of code: apps/web/src/components/LayersPanel.tsx has 829 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":"apps/web/src/components/LayersPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4961d655fd95e2ed0b1a968992bba396bde5cb77f0fe44a0c466acffd34e9e67"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/sessions/SessionDialogs.tsx: 801 lines of code: apps/web/src/components/sessions/SessionDialogs.tsx has 801 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":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06887d195202b79653a3521d646124bb690f647121594faef9849dc7ca5ce862"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/markup/src/geometry.ts: 791 lines of code: packages/markup/src/geometry.ts has 791 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":"packages/markup/src/geometry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9aafec14d977fdd121573fd93f14218721126b3b89a932765b01cea4ab45830"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/ExportDialog.tsx: 770 lines of code: apps/web/src/components/ExportDialog.tsx has 770 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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3f47be33a57dc9a1baedd7bd1b2856664384ce1eadca8a5f906e89f5cb7b25"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/documents/forms.ts: 768 lines of code: apps/web/src/documents/forms.ts has 768 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28333661b76cf471b6af5c012f649592e54d7405bfae3f7659c5891048d44f8"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/SessionsPanel.tsx: 767 lines of code: apps/web/src/components/SessionsPanel.tsx has 767 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":"apps/web/src/components/SessionsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de468e612689d129e65f74c0bd7a8080fc81251851a32bbd107c8db600c5456"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/markup/src/cad.ts: 754 lines of code: packages/markup/src/cad.ts has 754 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":"packages/markup/src/cad.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"798afc3088f772d89226a9cc1456ab1885fc61ec2a266581a1349af3126a9e63"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/studio/projects/Project.ts: 745 lines of code: apps/web/src/studio/projects/Project.ts has 745 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":"apps/web/src/studio/projects/Project.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e4fcc86e181c7d776c6f97b174d3ca079e8204a29d66f83b8456c84ece2ad4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/markup/src/render.ts: 736 lines of code: packages/markup/src/render.ts has 736 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":"packages/markup/src/render.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"399e1b390bf58c6119d1b11febb2028246e4d48098880cf4f4a9d3dfebf56545"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/standardsWizard/StandardsWizard.tsx: 733 lines of code: apps/web/src/components/standardsWizard/StandardsWizard.tsx has 733 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":"apps/web/src/components/standardsWizard/StandardsWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9014ef74d7788211a6e7653250df3adf266394a6917768e4af6ee7cb7e3b01c2"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/documents/pki.ts: 733 lines of code: apps/web/src/documents/pki.ts has 733 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":"apps/web/src/documents/pki.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af95bfa047c9b01498a79c7eef7c70ad0b98344ac464faf26461b0455f7c21e2"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/MenuBar.tsx: 715 lines of code: apps/web/src/components/MenuBar.tsx has 715 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":"apps/web/src/components/MenuBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3597fe4c62a9ac0899c1b8f3bf74908d8d52fb11ba5f22ab2c6105fa8b3dea4a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/markup/src/model.ts: 685 lines of code: packages/markup/src/model.ts has 685 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":"packages/markup/src/model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7432cb146e4e99d651fa5b7a8dcd17b205a265a2bb69d153e20735fb1c23679e"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/LineStylesDialog.tsx: 675 lines of code: apps/web/src/components/LineStylesDialog.tsx has 675 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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cd7e5e8cbff607e117aa85ba1d57ed985c6349df37a821dca644fc74f54a6e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/measure/src/measure.ts: 674 lines of code: packages/measure/src/measure.ts has 674 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":"packages/measure/src/measure.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af597834b0ef56d4d09f4fc8fe497f41819f222eea90553d3461c79327afce48"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/DigitalSignatures.tsx: 672 lines of code: apps/web/src/components/DigitalSignatures.tsx has 672 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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2068c9d6759e57a403ff180d55cae56950ea859aa03f256a30ea260bf37d2f1"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/documents/pdfSign.ts: 671 lines of code: apps/web/src/documents/pdfSign.ts has 671 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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fa4c1c04196af340d7c21e7a11a5e777cfbf6aa5c671b1b1316f7494ffaae5"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/commands/appCommands.ts: 638 lines of code: apps/web/src/commands/appCommands.ts has 638 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":"apps/web/src/commands/appCommands.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"962ca501f6e08be9b86122c3b789a018233057bde8938a0118dd4883d983f55c"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/documents/renderCopy/content.ts: 634 lines of code: apps/web/src/documents/renderCopy/content.ts has 634 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":"apps/web/src/documents/renderCopy/content.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d02c4757659f90db85788cc8c0ab313f1ddf4545e89656f0ff20c082406e3a"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/settings/settings.ts: 620 lines of code: apps/web/src/settings/settings.ts has 620 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":"apps/web/src/settings/settings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b46c8119e0fcc67d06fc5ba8c8f4e654a74e2ce4f228d8463fa7af738d8d2f7"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/PagesPanel.tsx: 619 lines of code: apps/web/src/components/PagesPanel.tsx has 619 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":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e44d44f844648786ec4bc2921f521f3c391ce3d2e9e8c6e150a77875c8c891f"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/StampsDialog.tsx: 619 lines of code: apps/web/src/components/StampsDialog.tsx has 619 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":"apps/web/src/components/StampsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded5e995b20e4b6a85bc2e0be1054633170f803159b2db2470b7b17bcd3bb71d"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/summary/bcf.ts: 610 lines of code: apps/web/src/summary/bcf.ts has 610 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":"apps/web/src/summary/bcf.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fd4d599972cfe7a7cb717c53603388d9bee9bcb06c5479515530e114e1253f"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/assemblies/starters.ts: 591 lines of code: apps/web/src/assemblies/starters.ts has 591 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":"apps/web/src/assemblies/starters.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4584dd866ec70666f7071fb5ff4b3d4869ba5964af5249f1df35e8e419b20705"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/geospatial/ifc.ts: 587 lines of code: apps/web/src/geospatial/ifc.ts has 587 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":"apps/web/src/geospatial/ifc.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9eb5542524f7eba4a998db5d1bb3dd642bdac6493a08b1ed443576a882577fd"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/markup/cadTools.ts: 579 lines of code: apps/web/src/markup/cadTools.ts has 579 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":"apps/web/src/markup/cadTools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfa40308f56dd3835674ad924d2b60cdcb5eefae786ea3e8bbd1a6f95146fa7"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/AssembliesDialog.tsx: 577 lines of code: apps/web/src/components/AssembliesDialog.tsx has 577 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":"apps/web/src/components/AssembliesDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fdcdca1b2dfbe9700f310d6d379cadaa9e29b2f6582eb466e70b49b10b4bdf"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/ColumnsDialog.tsx: 564 lines of code: apps/web/src/components/ColumnsDialog.tsx has 564 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":"apps/web/src/components/ColumnsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e9392ef547623afe19aba90e05ba6686584f0d5b4f6220a05b45a36e156dec"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/documents/ltv.ts: 563 lines of code: apps/web/src/documents/ltv.ts has 563 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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"316ec583a7898378ed098fa1c7054aa8bc1eb9e56420cfc8aa4a4dcee8e860c5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/markup/src/revuWrite.ts: 554 lines of code: packages/markup/src/revuWrite.ts has 554 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":"packages/markup/src/revuWrite.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da98a82684b3afebfe8b47ca6cc496bf2ed2f7a94279a6a503e6194fe5d790d0"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/GeospatialPanel.tsx: 551 lines of code: apps/web/src/components/GeospatialPanel.tsx has 551 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":"apps/web/src/components/GeospatialPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b6622c1d3d68affcc5c5a60b190234c8b9b42b005e9a147fff03ff0c31d388"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/ToolChest.tsx: 550 lines of code: apps/web/src/components/ToolChest.tsx has 550 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":"apps/web/src/components/ToolChest.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e778497b262246e01f6f02540026c575bbe88e0582ff7a4ab95d97826a643110"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/markup/src/bax.ts: 543 lines of code: packages/markup/src/bax.ts has 543 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":"packages/markup/src/bax.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"378227355b601e157eb1959b3ec6b8e105a8d80eb2b8eab0d0919291a2301a12"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/BatchDialog.tsx: 526 lines of code: apps/web/src/components/BatchDialog.tsx has 526 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":"apps/web/src/components/BatchDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c520fa2bb0e28e5e9bd874b7762a3f9f205013581e2ba1385cbf3f02022b0882"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/sheets/src/chainage.ts: 523 lines of code: packages/sheets/src/chainage.ts has 523 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":"packages/sheets/src/chainage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3516b9f938de1b0666e6ff77f900fb898bd8b017215ddbf8dac38983e9bf3f36"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/documents/process.ts: 507 lines of code: apps/web/src/documents/process.ts has 507 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":"apps/web/src/documents/process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb7c5f219538cf5cd915ca1e6865dc5382bbeb48b42def3898877c7ef1ba9b6"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/compare/semantic.ts: 493 lines of code: apps/web/src/compare/semantic.ts has 493 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":"apps/web/src/compare/semantic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"869ca1d1e829a4dcc127aa491b91a5ddbe01d71b52f0c51584e9b25f52312574"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/SearchPanel.tsx: 490 lines of code: apps/web/src/components/SearchPanel.tsx has 490 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":"apps/web/src/components/SearchPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac41ce8f2e39c7dd1f347db69499c00c5cef31a87442e2aff7a5ad92d46d048"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/markup/src/table.ts: 485 lines of code: packages/markup/src/table.ts has 485 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":"packages/markup/src/table.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1be9159ed979bd8c1d9fee2deb1b2e414b17d3340429fbf8da8e2f3d4e462c1"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/sheets/marks.ts: 480 lines of code: apps/web/src/sheets/marks.ts has 480 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f99fdc036c5fa60f534fa02482eb56e3f6d144089911956cbfc9fda5d4ff6fd"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/columns/listColumns.ts: 478 lines of code: apps/web/src/columns/listColumns.ts has 478 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae9eccf024df9f9f95045234a1724675708c66fe5096124571aab54b8adce3b"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/commands/revuKeys.ts: 477 lines of code: apps/web/src/commands/revuKeys.ts has 477 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":"apps/web/src/commands/revuKeys.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"813e9102602adb962b63baeb7f62b44b6c125bd8c784de1924eb00aa3e329e36"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/scripts/script.ts: 472 lines of code: apps/web/src/scripts/script.ts has 472 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":"apps/web/src/scripts/script.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b114e3f1c48ab9b770922467b99f91a57b1a18ef47b3fdcb9637ff7b93b4d4"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/FormsPanel.tsx: 468 lines of code: apps/web/src/components/FormsPanel.tsx has 468 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":"apps/web/src/components/FormsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d82a207892f3e21551072ff87b7d9af01f582601eab3754ac342a10335b7fb8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/sheets/src/detect.ts: 464 lines of code: packages/sheets/src/detect.ts has 464 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":"packages/sheets/src/detect.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92834db7cc0e98f52203ce2585049eb1f4c39981d11ff0e631736c1aff4438f"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/desktop/src/main.ts: 462 lines of code: apps/desktop/src/main.ts has 462 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":"apps/desktop/src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12df53dd7e24d42b5b222c8f329dd9a6136381d888cd648583a7ea48467df1fa"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/markup/src/bluebeam.ts: 460 lines of code: packages/markup/src/bluebeam.ts has 460 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":"packages/markup/src/bluebeam.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06b25c0b585e741e4a0aca71eaaad165232c475269893d2697f599008fae6c2"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/cad/dwg/r2007.ts: 445 lines of code: apps/web/src/cad/dwg/r2007.ts has 445 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":"apps/web/src/cad/dwg/r2007.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf55d7105ca0c148781a8bf6f56a6a194f7a4408c6e8701439771d5e604a2245"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/measure/src/scale.ts: 437 lines of code: packages/measure/src/scale.ts has 437 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":"packages/measure/src/scale.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad20e93a612dde8a35c951e83e692750d7885a635774bdf23b4e98e77b776d23"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/SetsPanel.tsx: 430 lines of code: apps/web/src/components/SetsPanel.tsx has 430 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":"apps/web/src/components/SetsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e408c34be1c8ad615f9db9ac3e7d66cb7b097e146a0a73ca28f99fea2b31231"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/components/CompareDialog.tsx: 421 lines of code: apps/web/src/components/CompareDialog.tsx has 421 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":"apps/web/src/components/CompareDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9048a447f3463072b51ee53c3e4349b89339f579b095e9b6c952f894d6dd3c14"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/desktop/assistantStitch.ts: 421 lines of code: apps/web/src/desktop/assistantStitch.ts has 421 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":"apps/web/src/desktop/assistantStitch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3e322e5b20bf8124d437b136ccdac44c0d71d9025632c26ac1d1d876951055"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/compare/diff.ts: 408 lines of code: apps/web/src/compare/diff.ts has 408 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":"apps/web/src/compare/diff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ef23029ab8e405a20908349238d1f1486474285d91a89c3c056360e7869bf2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/pdf-core/src/engine.ts: 406 lines of code: packages/pdf-core/src/engine.ts has 406 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":"packages/pdf-core/src/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07da3c7de5226fe8cacfc5c5cfac3f8ec3eebfb5818a179d1f8f05aa2e96045f"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/cad/sheets.ts: 405 lines of code: apps/web/src/cad/sheets.ts has 405 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":"apps/web/src/cad/sheets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b55d973c33f8e6fa1a6c14b90878e48505de3ebec5e96e76d775b6fe96aed3"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/web/src/studio/drive/rooms.ts: 403 lines of code: apps/web/src/studio/drive/rooms.ts has 403 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":"apps/web/src/studio/drive/rooms.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7146384bdf49ca228c6e581b235cfd37301345cb95c0954ee6b71819a2ddd01e"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/desktop/src/token.ts: 402 lines of code: apps/desktop/src/token.ts has 402 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":"apps/desktop/src/token.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"971039a7553ddc70862d12247859710a43752582baed5e9db6a457fccba09dbd"}},{"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":"apps/desktop/scripts/fetch-assistant-node.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c6c3790c5e4723d50706355e46ee284ec55581f5e1165a9e449bec07056976"}},{"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":"apps/desktop/src/preload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a1b4a55528233df7600f772ab9d93c50764dde551e31bb749489214dda39d7"}},{"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":"apps/web/src/components/resizablePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"266bed168c104397885505e7b9edeb81d9c646a8e918aec2ff553f8a9bd830c9"}},{"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":"apps/desktop/src/assistant/stdio.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"562dd24cd4dca60754810575275e4941610cdfed9b47788b96bcd093cc8bb805"}},{"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":"apps/web/public/sw-share.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02de6ad16a41d66446745afdcb1f6c38a41a3d57d3249aa4f0ab550988bb1777"}},{"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":"apps/web/src/library/writeSeedPacks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"244c3d37b6ca379aca604fa5ebe6684a7ad50c8c5bb0730616c400f0ab1318d9"}},{"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":"apps/desktop/src/token-host.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8325fbc02e4503ebabcb8532af83e02bd53949969220650639674de43fade1fc"}},{"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":"apps/desktop/scripts/before-pack.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c537eb5e1513c13c024ab4c55bd7ab1e9ec23e44078a0185b664433304843b5c"}},{"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":"apps/desktop/src/assistant/mcp-cli.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1363b9402181380f08537904e4b067e7dd4fdacee646f71470a0c13b93abe8"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \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":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~129 LoC): no import path from any entry point (185 application, 7 tooling, 296 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":"apps/desktop/src/preload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88aa31f13d27ffdf958f18de60fbccbb228c0d4081c1c891b49b004c5a34e852"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~99 LoC): no import path from any entry point (185 application, 7 tooling, 296 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":"apps/web/src/components/resizablePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bc26c393e02fd354cb84496f57e0319822feca9b1cda075266111a87eda436"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~73 LoC): no import path from any entry point (185 application, 7 tooling, 296 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":"scripts/check-cad-samples.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d36ee7fb2e102606ff48c95daf1f0839382a8bce63d9a7c6df98002f9d3147d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~56 LoC): no import path from any entry point (185 application, 7 tooling, 296 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":"scripts/help/hero.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedcf581c5437887ce044b3a35e30105c4a0d63b72550e6179a1b3dc3d2341af"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~53 LoC): no import path from any entry point (185 application, 7 tooling, 296 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (apps/desktop/src/assistant/mcp-cli.ts) \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":"apps/desktop/src/assistant/stdio.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"920ddea08c0b449eb0a16baf067233568fb1747b77484e51e98701d80bcc98b6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~45 LoC): no import path from any entry point (185 application, 7 tooling, 296 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":"scripts/readme/sync-shot.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58653ed83410a1b04ff78b710a025b6e3af6f1dfb420731624571c0793fcddbb"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~40 LoC): no import path from any entry point (185 application, 7 tooling, 296 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":"scripts/help/clips.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93fd7818f2ba0019f9854b2a8f08340d165e9377c0b9e9b53f9dce8a4116093"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~33 LoC): no import path from any entry point (185 application, 7 tooling, 296 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":"scripts/readme/bulk-ribbon-shot.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a063b6678744b1b378832306f0cb1736d974ba3fafefe2d632299a454b0c0ed9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~21 LoC): no import path from any entry point (185 application, 7 tooling, 296 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":"apps/desktop/src/token-host.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eba7ae8c6a1941eaae3ec0a88ec3ac45d4e3a943359ea5f22ed6f045bda3961"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~17 LoC): no import path from any entry point (185 application, 7 tooling, 296 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":"apps/desktop/scripts/before-pack.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0343f9187b879bb2d4b3a5fcf53426df5a67867dd41e2954d0293d3f4c58d5a3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~14 LoC): no import path from any entry point (185 application, 7 tooling, 296 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":"apps/desktop/src/assistant/mcp-cli.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a496b7e7c2695615ec1749c5cb9d65ee66e71f89b5096217f07c2e8d0d3cd4e7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027APP_ORIGIN\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/navigation.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"93646081293bcdbdd11ee44ede67337480b736ee691e1737970d78b4c32f04d9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027assemblyName\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/assemblies/quantities.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f6c0e3880cbe5ef8350b0527d549e59d7f5bdee46a5ccae57894e81df13ed1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027headerStr\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/drawing.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0563d5f2880607e232b191135ae1519c8ef54d04b029b7c54614b5bcf7c4825f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027mapPath\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/geom.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dfe718e0521038bf7bc3643a5e52a1f972a72eed638d1a22a68ce035d64051"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ExportDialog\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab502838bb8d51b922267518d18796ed55aca9853077dca8554d75fbe13010c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PlaceholderPanel\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SidePanels.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9e90908d715e8aa2aa66ce52627af24ec0cd25ed6e1774c13e7b3fee11b19d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ViewportMethod\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistantViewports.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e841cccaf63d9bdafff1d9cee709c69b0802b8da735b2cf7dfdcf649720e5c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MAX_SEGMENTS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/geospatial/model.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"071436546eeba744cea99c441682f4a27ba1ebc6b0c606dc544087fd29701a14"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027canHandleFiles\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/offline/launch.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ca7a5ac819204674c56291f30e012de9276eb25511bc12d9d3ca689c16c362"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027canPickFiles\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/storage/diskHandles.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"623a2a4a97776e02b7f99f47f0e6f4a959409b9c04ce5a0373c6cac9d88eff45"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027adoptProject\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/projects/store.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"53debb6de533a42d985f83d7b6ffe921024a8471e1d229fee75071dc2671f84c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027sameColumn\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/summary/bcf.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95a2ecab66f76b52940daa2a8072754feb1070de9c23c18479d9a39d15f9697"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027when\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/ProjectsPanel.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5de00f66bee04c01aa29a1960107211fbb1d32d290fcdcc7c27d14de02f589f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027toLocalInput\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/sessions/SessionDialogs.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c962cd7dd259dab714bfaf7291552e4a48e2e45cb8fe9b0884cf1348ad48fd26"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Markup\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/drive/DriveSession.test.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"846be92deb81a139a7551c30cb29e317e8c97271e1f212451143662dbd382fa4"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027playwright\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/test/browser/csp.cjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0861ac07aab63b8d1152691246f20a4888011a0c9b3d44bae93501c30e9b7b39"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027tesseract.js-core\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/vite.config.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea4ac7eb83328105ef5168bd290dfa27e5f770ebf1d4f783a68e1772afc1a70"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \[e-mail redacted]-data/deu\u0027: Declared in apps/web/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":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"45598eb2c609b954734806418651b93d3d9542f6f64b11cb108de5c32619c067"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \[e-mail redacted]-data/eng\u0027: Declared in apps/web/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":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/package.json"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb410cb47a8269543b0ab1f854530031e7ddd47e05303457442cf39bea7559e4"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \[e-mail redacted]-data/fra\u0027: Declared in apps/web/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":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/package.json"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bca3d0c059895bd101a9348400c8a67b8a14aa8d542904a32a90605a44bf636"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \[e-mail redacted]-data/ita\u0027: Declared in apps/web/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":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/package.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10d1f62283f6aec3977d378e49e50054610f51c0ba0e0d8fd11947cd4b62dd0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \[e-mail redacted]-data/nld\u0027: Declared in apps/web/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":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/package.json"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a164aadc416ec8f37f40fedbcb18f84da30538dfe3590cb7a53632610f53263"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \[e-mail redacted]-data/por\u0027: Declared in apps/web/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":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/package.json"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5565591c4afe73bd10487a47c5eeeecd06911c48366cef1540ac0435349c1e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \[e-mail redacted]-data/spa\u0027: Declared in apps/web/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":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/package.json"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de261efcdd27ed981cc65b7fe3516f5bfede2a1d76d89e5d688392c16d405ed"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): apps/web/src/cad/dwg/container.ts \u2192 apps/web/src/cad/dwg/r2007.ts \u2192 apps/web/src/cad/dwg/container.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/cad/dwg/container.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99c7d47619670d53aa300bef4a44834b03b1f332f335a9dad8744719d0c3df3"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): apps/web/src/desktop/assistant.ts \u2192 apps/web/src/desktop/assistantScales.ts \u2192 apps/web/src/desktop/assistant.ts (one verified cycle inside a mutually-dependent group of 6 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"046e84e9b31c633c4620300253c50e375f066c8508a3ef58bc492ab4e2727b97"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): apps/web/src/geospatial/dxf.ts \u2192 apps/web/src/geospatial/model.ts \u2192 apps/web/src/geospatial/dxf.ts (one verified cycle inside a mutually-dependent group of 3 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/geospatial/dxf.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed90c0704d993a79b0d4c20587664d0b829a9dd2ab106c9662945d4b2f09ca52"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): packages/sheets/src/detect.ts \u2192 packages/sheets/src/standard.ts \u2192 packages/sheets/src/detect.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sheets/src/detect.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3077557149e974c0fa342c9e72c15d6e93b7c9b69e720d3dda4349b47a9721d"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/ltv.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1040c1752cf80a6eb9fe7317fdbab97ec7caae3bf7665ef5db7cd22ba9efaa55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!v \u0026\u0026 typeof v === \u0027object\u0027 \u0026\u0026 !Array.isArray(v)\u0060 appears character-identically in 5 files \u2014 apps/web/src/library/catalog.ts, apps/web/src/library/pack.ts, apps/web/src/sheets/standards.ts, apps/web/src/summary/bcf.ts. 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":"apps/web/src/library/catalog.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbd60c322cbce5ab580d6399a6406a19aeb0af284201f859a4f2b4812406f0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isMeasureKind(m.type) || m.type === \u0027angle\u0027\u0060 appears character-identically in 2 files \u2014 apps/web/src/components/MarkupList.tsx, apps/web/src/components/MeasurementsPanel.tsx. 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":"apps/web/src/components/MarkupList.tsx"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ec87a7968e7b11182e614ef028c9b54029ab8cb33b66f908f0cd89b3b20454"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!item || typeof item !== \u0027object\u0027 || Array.isArray(item)\u0060 appears character-identically in 2 files \u2014 apps/web/src/desktop/assistant.ts, apps/web/src/desktop/assistantViewports.ts. 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4feb3a174b8fdfb9589810bc6e5c9987ba519323193c50cc132de7085de111"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!listed(m, legend) || !onLegendPage(legend, m.pageIndex) || !inLegendKeys(legend, m, plus)\u0060 appears character-identically in 2 files \u2014 packages/markup/src/bsiLegend.ts, packages/markup/src/legend.ts. 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":"packages/markup/src/bsiLegend.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e34fd0982343fafc2d6b10c4ebb574597260d60c36026f60508f5cf1c22d5af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!root.current?.contains(t) \u0026\u0026 !pop.current?.contains(t)\u0060 appears character-identically in 2 files \u2014 apps/web/src/components/ColorMenu.tsx, apps/web/src/components/OverflowMenu.tsx. 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":"apps/web/src/components/ColorMenu.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0f3b6677779ea0997d248428bba37f61ac66f8ec0c6efe4f7174c59a049ef5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(isImageType(m.type) || m.type === \u0027attachment\u0027) \u0026\u0026 m.image\u0060 appears character-identically in 2 files \u2014 packages/markup/src/export.ts, packages/markup/src/render.ts. 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":"packages/markup/src/export.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9d30becf8b8212ed800e5d20b5cd1aef9fcc701492105729bcd84dfa741322"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060/\\/(createLink|invite)$/.test(path) || /\\/permissions(\\/[^/]\u002B)?$/.test(path)\u0060 appears character-identically in 2 files \u2014 apps/desktop/src/graph.ts, apps/web/src/studio/drive/onedrive.ts. 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":"apps/desktop/src/graph.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6cf4b66d5d2920e19059dab64977d032cda7ff48ed0dffd2cfe1da1bf2703a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Math.hypot(b[0] - a[0], b[1] - a[1]) || 1\u0060 appears character-identically in 5 files \u2014 apps/web/src/markup/MarkupTools.ts, packages/markup/src/export.ts, packages/markup/src/geometry.ts, packages/markup/src/import.ts. 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":5205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb4bb32672a7dd6ad34d7f99157b4cdb7000d71f62978876cd1885b2b4b7ba0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number(b.c.enabled) - Number(a.c.enabled) || a.s - b.s || a.i - b.i\u0060 appears character-identically in 2 files \u2014 apps/web/src/components/CommandPalette.tsx, apps/web/src/components/MenuSearch.tsx. 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":"apps/web/src/components/CommandPalette.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"835d279ed5fc698ea14e0ed276318cb4020b4c5750624b9c5cfc1f5e9e98f3f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.markup.pageIndex - b.markup.pageIndex || a.markup.createdAt - b.markup.createdAt\u0060 appears character-identically in 2 files \u2014 apps/web/src/columns/listColumns.ts, apps/web/src/summary/exportSummary.ts. 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d9047027614f339ea2ecc66df76bfab579d44b78dff75a915d9a070883f61e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.objectNumber \u0026\u0026 page.objectNumbers[a.index] !== a.objectNumber\u0060 appears character-identically in 2 files \u2014 apps/web/src/sheets/indexer.ts, packages/markup/src/import.ts. 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":"apps/web/src/sheets/indexer.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc17c9d7f83c6fc8b45d355f2e5621b91948e91955366d60c912be34ce664280"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.pageIndex - b.pageIndex || a.createdAt - b.createdAt\u0060 appears character-identically in 7 files \u2014 apps/web/src/components/SidePanels.tsx, apps/web/src/components/SpellCheckDialog.tsx, apps/web/src/studio/comments.ts, apps/web/src/studio/report.ts. 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":"apps/web/src/components/SidePanels.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fea110f8bf803fa57dd7db4cd41ba09e393470f911e1a18b4dfd7413d34537"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.region !== undefined \u0026\u0026 args.region !== null\u0060 appears character-identically in 2 files \u2014 apps/web/src/desktop/assistant.ts, apps/web/src/desktop/assistantStitch.ts. 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f86136beca14680116813c7cf81e00fe87bfef92dd2750f8647a76d4034a7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.type === \u0027number\u0027 || c.type === \u0027formula\u0027\u0060 appears character-identically in 3 files \u2014 apps/web/src/columns/listColumns.ts, apps/web/src/summary/bcf.ts, packages/markup/src/export.ts. 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4158d9ad192ee67490becbf9552a2038148c022f447eb9b4ef9be453835f93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code === \u0027EBUSY\u0027 || code === \u0027EPERM\u0027 || code === \u0027EACCES\u0027\u0060 appears character-identically in 2 files \u2014 apps/desktop/src/atomic.ts, apps/desktop/src/paths.ts. 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":"apps/desktop/src/atomic.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"795f859326414e2fe19ba4c170239bd520b811c06ee6a44f78884b6221baeb0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current \u0026\u0026 !groups.includes(current.group)\u0060 appears character-identically in 2 files \u2014 apps/web/src/components/MeasurementsPanel.tsx, apps/web/src/components/SetScaleDialog.tsx. 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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"956a9a76dd22b774c76cf1ed0879515d9eff2229dd900615c70b5ba5a6d8980a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cx \u003E= r.x \u0026\u0026 cx \u003C= r.x \u002B r.w \u0026\u0026 cy \u003E= r.y \u0026\u0026 cy \u003C= r.y \u002B r.h\u0060 appears character-identically in 2 files \u2014 apps/web/src/sheets/marks.ts, packages/sheets/src/standard.ts. 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"61acaa89ffb0215a45f69c3a97368e271cfffc64c43d966134b3a3d5dfeca8ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.button !== 0 || (e.target as HTMLElement).closest(\u0027button\u0027)\u0060 appears character-identically in 2 files \u2014 apps/web/src/components/LinkPreview.tsx, apps/web/src/components/MarkupList.tsx. 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":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c76dac06b23346b294f3e7c9d54950f92e04b486cdec609419e82eba74e403b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.key === \u0027Enter\u0027 \u0026\u0026 !e.shiftKey \u0026\u0026 !e.altKey\u0060 appears character-identically in 2 files \u2014 apps/web/src/components/TableCellEditor.tsx, apps/web/src/components/TextEditor.tsx. 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":"apps/web/src/components/TableCellEditor.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecb828e88e76b411debd499ef9aef261fba506442ed8410cb5f0627e0e2c39f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.key === \u0027Enter\u0027 \u0026\u0026 (e.ctrlKey || e.metaKey)\u0060 appears character-identically in 3 files \u2014 apps/web/src/components/CommentDialog.tsx, apps/web/src/components/MarkupList.tsx, apps/web/src/components/ScriptsDialog.tsx. 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":"apps/web/src/components/CommentDialog.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc636010e0a109edf1e55a6e453c28d5bf6233295d59bd2a1dd4a8dbc822ab0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.key === \u0027Enter\u0027 \u0026\u0026 e.currentTarget.blur()\u0060 appears character-identically in 3 files \u2014 apps/web/src/components/MeasurementsPanel.tsx, apps/web/src/components/PropertiesPanel.tsx, apps/web/src/components/Ribbon.tsx. 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":"apps/web/src/components/MeasurementsPanel.tsx"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9ef0d85fd2647689b6a5deba6d497c2752bc097a485287bd11214cd4070670"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.origin \u0026\u0026 e.origin !== self.location.origin\u0060 appears character-identically in 3 files \u2014 apps/web/src/cad/convert.worker.ts, apps/web/src/documents/renderCopy/renderCopy.worker.ts, packages/pdf-core/src/worker.ts. 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":"apps/web/src/cad/convert.worker.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"def0956d19545ee23232f7ee12639ddc3178d2e219be51b4ce7525dc79a10328"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end \u003E start \u0026\u0026 TRAILING.has(s[end - 1]!)\u0060 appears character-identically in 2 files \u2014 apps/web/src/sheets/marks.ts, packages/sheets/src/standard.ts. 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"24aac7384379a246faa537f67a622d2f3df61c2d6251cf6aee30378e105e3806"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err instanceof TypeError || err instanceof DriveAuthError\u0060 appears character-identically in 4 files \u2014 apps/web/src/studio/drive/DriveSession.ts, apps/web/src/studio/drive/rooms.ts, apps/web/src/studio/projects/Project.ts, apps/web/src/studio/projects/queue.ts. 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5571c3db4bf0eedcfe1e748717eb81b50b8828d3ce2654451e2c7c8f584622"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060initialPages?.length === 1 \u0026\u0026 initialPages[0] === currentPage\u0060 appears character-identically in 2 files \u2014 apps/web/src/components/LabelRegionsPanel.tsx, apps/web/src/components/ScaleRegionsPanel.tsx. 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":"apps/web/src/components/LabelRegionsPanel.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"950daf06838826d41d3b47a07b0565d3da099cea0818457c396e54ad243a92e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isTextType(m.type) || m.type === \u0027dimension\u0027 || m.type === \u0027replaceText\u0027 || m.type === \u0027connector\u0027\u0060 appears character-identically in 2 files \u2014 packages/markup/src/export.ts, packages/markup/src/xfdf.ts. 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":"packages/markup/src/export.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"632d1b584f8fe32e0be96ba92c578fbe0f3d9e1887180c0d7ad6c04f7bf06d25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.subject || MARKUP_LABELS[m.type] || \u0027Markup\u0027\u0060 appears character-identically in 2 files \u2014 apps/web/src/columns/listColumns.ts, apps/web/src/takeoff/reports.ts. 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":"apps/web/src/columns/listColumns.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b31341a89dc56ac9c2db34e02529254b0811275a80debeac3cffd43c825a90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.type === \u0027arc\u0027 || m.type === \u0027arcLength\u0027\u0060 appears character-identically in 2 files \u2014 packages/markup/src/model.ts, packages/markup/src/xfdf.ts. 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":"packages/markup/src/model.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"758f418e55ca68315d8af91872cc719377ea365c3c48ff5394b7d1e64751b5f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.type === \u0027callout\u0027 \u0026\u0026 m.points.length \u003E= 4\u0060 appears character-identically in 3 files \u2014 packages/markup/src/cad.ts, packages/markup/src/export.ts, packages/markup/src/model.ts. 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":"packages/markup/src/cad.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"5933424190ae5074893aa464fdccb1fced09921d9807cfd4090a9ad8be5860c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.type === \u0027cloud\u0027 || m.type === \u0027polygonCloud\u0027\u0060 appears character-identically in 2 files \u2014 apps/web/src/markup/MarkupTools.ts, packages/markup/src/model.ts. 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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":5000}}}],"partialFingerprints":{"codehealthFindingId/v1":"b264fb4aae357e6c21e4621992eec202f0b2629c0bceb8874811d09e5212bb74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060obj instanceof PDFString || obj instanceof PDFHexString\u0060 appears character-identically in 2 files \u2014 apps/web/src/documents/forms.ts, packages/markup/src/pdfValue.ts. 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":"apps/web/src/documents/forms.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b1f80a832745af47615d0d8a198da5deb45bc782b4a5816feeaa567792b515"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parts.length === 1 \u0026\u0026 name.endsWith(\u0027.xml\u0027) \u0026\u0026 !NEVER.has(name)\u0060 appears character-identically in 2 files \u2014 apps/desktop/src/revuSettings.ts, apps/web/src/migrate/revuFolder.ts. 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":"apps/desktop/src/revuSettings.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b5f390d4c3430f42af039f9f8f8146943283de8f65f44f1ab7eaeea5c16ca1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parts.length === 2 \u0026\u0026 name.endsWith(\u0027.xml\u0027)\u0060 appears character-identically in 2 files \u2014 apps/desktop/src/revuSettings.ts, apps/web/src/migrate/revuFolder.ts. 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":"apps/desktop/src/revuSettings.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68456660d4d6dfe15840d66798c5200bbfb3d1fc6856e7e4fb5c8a1af28070c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.URL || \u0027http://localhost:5173/\u0027\u0060 appears character-identically in 5 files \u2014 scripts/help/lib.cjs, scripts/readme/bulk-ribbon-shot.cjs, scripts/readme/measure-redact-shots.cjs, scripts/readme/sync-shot.cjs. 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/help/lib.cjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d574ab9ead42b463d442cf20b7397c73562949a8514b95c6ac6b3f91b71da34"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scale.feetInches \u0026\u0026 (scale.unit === \u0027ft\u0027 || scale.unit === \u0027in\u0027)\u0060 appears character-identically in 2 files \u2014 apps/web/src/measure/scalePresets.ts, packages/measure/src/scale.ts. 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":"apps/web/src/measure/scalePresets.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"65af9ac5150864fea1d114e8c4e612de65e0ff13fae093f99f55397df5bf28b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subtype === \u0027Polygon\u0027 || subtype === \u0027PolyLine\u0027\u0060 appears character-identically in 2 files \u2014 packages/markup/src/fdf.ts, packages/pdf-core/src/worker.ts. 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":"packages/markup/src/fdf.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f19cf4ec1dd56056d0374b1d319d78d73e4b1c04bd2f00e48b1ab1a902539b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060t \u0026\u0026 (t.tagName === \u0027INPUT\u0027 || t.tagName === \u0027TEXTAREA\u0027 || t.isContentEditable)\u0060 appears character-identically in 2 files \u2014 apps/web/src/components/LinkPreview.tsx, apps/web/src/components/SketchBar.tsx. 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":"apps/web/src/components/LinkPreview.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a60103870502a9f0d8772aa04e12b635079fce2d4a666a015c942af0385e215"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060t \u0026\u0026 (t.tagName === \u0027INPUT\u0027 || t.tagName === \u0027TEXTAREA\u0027 || t.tagName === \u0027SELECT\u0027 || t.isContentEditable)\u0060 appears character-identically in 2 files \u2014 apps/web/src/components/CadBar.tsx, apps/web/src/components/MarkupList.tsx. 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":"apps/web/src/components/CadBar.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"855ef6b9a1da5de37dfa3016bdbc5a886a7e67e59a83b1d3a7c197abf48e024a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.opts.pollMs !== 0 \u0026\u0026 !this.destroyed\u0060 appears character-identically in 2 files \u2014 apps/web/src/studio/drive/DriveSession.ts, apps/web/src/studio/drive/rooms.ts. 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d462d77f1faab92de9b754415a6b07363c2977f0b336feb7571ceb934ba5029"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.opts.pollMs === 0 || this.destroyed\u0060 appears character-identically in 2 files \u2014 apps/web/src/studio/drive/DriveSession.ts, apps/web/src/studio/drive/rooms.ts. 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"303c41c9ab6cf67c3b5600ad7a0af82eb95794204f5322f69cab53c2a79a0397"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof args.reasoning !== \u0027string\u0027 || !args.reasoning.trim()\u0060 appears character-identically in 2 files \u2014 apps/web/src/desktop/assistantScales.ts, apps/web/src/desktop/assistantStandards.ts. 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":"apps/web/src/desktop/assistantScales.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b242de1a772f29987232087eec384f3c63369801e02850cb5dbce2e861d8b67a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof args.source === \u0027string\u0027 \u0026\u0026 args.source.trim()\u0060 appears character-identically in 2 files \u2014 apps/web/src/desktop/assistant.ts, apps/web/src/desktop/assistantSymbols.ts. 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":"apps/web/src/desktop/assistant.ts"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b455f08598348001b3b95e8a64d3a8e95fd55948243572d2a0f7d81c637065"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof document === \u0027undefined\u0027 || !document.hidden\u0060 appears character-identically in 2 files \u2014 apps/web/src/studio/drive/DriveSession.ts, apps/web/src/studio/drive/rooms.ts. 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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ce40acd6163034a2a2ca7419c10d18ffa3e5232053eef27d9b8a0e51603be8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof n === \u0027number\u0027 \u0026\u0026 Number.isFinite(n)\u0060 appears character-identically in 2 files \u2014 apps/web/src/components/resizablePanel.tsx, apps/web/src/library/pack.ts. 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":"apps/web/src/components/resizablePanel.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbd4f337f9cf9beaa604d20707783a75c9762317bfe830ef6896cc87a03e405"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof v === \u0027number\u0027 \u0026\u0026 Number.isFinite(v)\u0060 appears character-identically in 10 files \u2014 apps/web/src/assemblies/quantities.ts, apps/web/src/desktop/assistantSymbols.ts, apps/web/src/sheetsync/xlsx.ts, apps/web/src/summary/bcf.ts. 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":"apps/web/src/assemblies/quantities.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8cedf3ecd52c029a70b105741bd7d1edb97e13175f05fb9ad6691d3fdf6a9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v instanceof PDFString || v instanceof PDFHexString\u0060 appears character-identically in 6 files \u2014 apps/web/src/documents/layers.ts, apps/web/src/documents/pdfSign.ts, apps/web/src/documents/security.ts, packages/markup/src/bax.ts. 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":"apps/web/src/documents/layers.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7645a9264f1fdd1801c188bc059b8457ac62e774d56e7b6e3a17902ec4fef426"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x \u003E= box.x - margin \u0026\u0026 x \u003C= box.x \u002B box.w \u002B margin \u0026\u0026 y \u003E= box.y - margin \u0026\u0026 y \u003C= box.y \u002B box.h \u002B margin\u0060 appears character-identically in 2 files \u2014 apps/web/src/sheets/marks.ts, packages/measure/src/visualSearch.ts. 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":"apps/web/src/sheets/marks.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc07e81cc168cbbba67e8d421c27edf46f5505d53b8faa24b1db31013c6ef6e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060yi \u003E py !== yj \u003E py \u0026\u0026 px \u003C ((xj - xi) * (py - yi)) / (yj - yi) \u002B xi\u0060 appears character-identically in 4 files \u2014 packages/markup/src/arrange.ts, packages/markup/src/geometry.ts, packages/markup/src/offset.ts, packages/pdf-core/src/regionGeometry.ts. 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":"packages/markup/src/arrange.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc340279fb498e386a0007414fab5ea568e86aed1fb46a4fca3f794879add669"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060yi \u003E y !== yj \u003E y \u0026\u0026 x \u003C ((xj - xi) * (y - yi)) / (yj - yi) \u002B xi\u0060 appears character-identically in 2 files \u2014 apps/web/src/viewer/TileViewer.ts, packages/measure/src/geo.ts. 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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8be314f57d83de9547031fae9418ec5c0f91f1e9ce85e838d5b9b68339329ba"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): \u0060spawn\u0060 pipes both \u0060stdout\u0060 and \u0060stderr\u0060 here \u2014 it is given no \u0060stdio\u0060 option, or \u0060\u0027pipe\u0027\u0060 \u2014 and the parent waits for the child\u0027s end while nothing consumes either: nothing in this scope ever reads \u0060child.stdout\u0060 or \u0060child.stderr\u0060. Node holds an unread pipe\u0027s output only up to its buffer: once the child writes more than that to either stream (measured on Linux: about 128 KB \u2014 the 64 KB pipe plus Node\u0027s 64 KB read-ahead \u2014 and less elsewhere), the child blocks on the write, never exits, and the \u0060close\u0060/\u0060exit\u0060 this code waits for never fires. Nothing fails loudly: the promise never settles and the stuck child holds its resources until something kills it. Consume both streams before the wait (\u0060.on(\u0027data\u0027, \u2026)\u0060, or \u0060.resume()\u0060 to discard one), or stop piping what you do not want \u2014 \u0060stdio: \u0027ignore\u0027\u0060, \u0060\u0027inherit\u0027\u0060, or those values in its slots."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/print.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3cda0acd60fdfba29d7ac5e13a54f88451a96045f028c45552bfd99ee79181"}},{"ruleId":"X16","level":"warning","message":{"text":"Truncation loop has no floor \u2014 the value can be consumed entirely: \u0060v\u0060 loses its last character (its last element, if it holds an array) on every pass \u2014 \u0060v = v.slice(0, -1)\u0060 on line 147 \u2014 and the loop\u0027s only exit is the test on line 147 \u2014 which measures \u0060v\u0060 only through \u0060enc.encode(\u2026).length\u0060, as a TERM of a larger expression, and never compares its length against a bound of its own. So nothing stops the loop at one character: it runs until the test\u0027s other terms come under the bound WITHOUT any help from \u0060v\u0060, which leaves \u0060v\u0060 empty \u2014 and if they never do, the loop never ends, because JavaScript\u0027s \u0060slice\u0060/\u0060substring\u0060/\u0060substr\u0060/\u0060replace\u0060 hand back \u0060\u0022\u0022\u0060 for an empty value instead of throwing, so every later pass shortens nothing and the test never changes. Neither outcome announces itself: an empty value surfaces later, as a path that names no file, a key that matches nothing, or a record written blank \u2014 and a hang surfaces as a frozen tab or a request that never returns. Give the loop a floor (\u0060\u0026\u0026 v.length \u003E 1\u0060), or compute the length once and clamp it (\u0060v = v.slice(0, Math.max(1, budget))\u0060) \u2014 and decide explicitly what should happen when the budget cannot be met, rather than letting an empty value be the answer."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdb69cb70dcd168294a1a42f0e2c35bcb604449ddec0c9ad4eed6c46c06b353"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060readBsiLegend\u0060 is exported, takes a document from its caller (line 175) and hands it to \u0060plain\u0060, which calls itself at line 169 (\u0060plain\u0060) with a piece of \u0060v\u0060 (and at line 170) \u2014 and nowhere in \u0060plain\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060plain\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/bsiLegend.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"536f9596868d246c9a8999c54d7c85360bbf8586533a9ace8ed0863460d801e5"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060readLineStyle\u0060 is exported, takes a document from its caller (line 41) and hands it to \u0060plain\u0060, which calls itself at line 43 (\u0060plain\u0060) with a piece of \u0060v\u0060 \u2014 and nowhere in \u0060plain\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060plain\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/lineStyle.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b380097217abc8d27588b4cd9c3b0fa67e8781d986fce0f5297695de570a4084"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060canonical\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 206 (\u0060canonical\u0060) with a piece of \u0060value\u0060 (and at line 211) \u2014 and nowhere in \u0060canonical\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060canonical\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/studio/crypto/keys.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ca21aee57fdae2f0d7a0655233a3baabb8270a0786ade91d578e7edd60b3c1"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060descendants\u0060 is exported and takes \u0060el: XmlElement\u0060 from its caller, and it calls itself at line 101 (\u0060descendants\u0060) with a piece of \u0060el\u0060 \u2014 and nowhere in \u0060descendants\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060descendants\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/geospatial/xml.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2855e20ac56f6281546c2bfa0bc12cc2eb463234b279344e0f77befdd6dfd79"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 10/18 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: runButton: \u0060runButton\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":"apps/web/src/App.tsx"},"region":{"startLine":3927}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c569240831cdb209c12c55a5295c2a5ace9f67a7a8751325579846a0d731e57"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: readJson: \u0060readJson\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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e626a288f483a979b14d5295d38bcbee253313236e2b9e637451a8163250a6b6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: upload: \u0060upload\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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab762b115f960cb5cf907eb0f23c5e9e0aa939e5543b0666ccb119e07a3a614"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadOcr: \u0060downloadOcr\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":"apps/web/src/offline/ocrCache.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2d7009a5fa84e18f84948c5c884c8646e265ceff0b2017d2937042e40e454a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadTip: \u0060loadTip\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":"apps/web/src/components/StartScreen.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca6fa48a51e0f20695491650d110169422ef1e0980ac10f6aa8f8accf5bb3d5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fonts: \u0060fonts\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":"apps/web/src/cad/convert.worker.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9638c6625f44b9fe75e0524f589b5522a01e00d48b22d746d32bb41d4dd987e3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: postForm: \u0060postForm\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":"apps/desktop/src/auth.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd7196003b148f92e19deb90093777108af6e698596637e5be3ddb76ac5c923"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: microsoftUser: \u0060microsoftUser\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":"apps/desktop/src/auth.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9893a59b8fb18bdcfa57ccf3aa4193986be12723b655d8e1faf828a4fe7c224c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060encodeURI(path.basename(p.file))\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/print.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1625ba8ce981d891de6d2525fb7b43a4b1dd0cf17ccd99b6a5301265630a10"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html(blocks(md.replace(/\\r/g,\u0027\u0027).split(\u0027\\n\u0027)))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/public/help/help.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d9c91b23de8f303d698ce30b0b847bbebe34dc5acc8021e5baad4a25628208"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html(\u0027\u003Ch1\u003E\u0027\u002Besc(p.title)\u002B\u0027\u003C/h1\u003E\u003Cp class=\u0022missing\u0022\u003EThis page could not be loaded. If you are offline, open it once whi\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/public/help/help.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"741f13daa0274600bfdc2b2a9d2f793ea254201e293bb89be328c31281f5be13"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html((prev?\u0027\u003Ca class=\u0022prev\u0022 href=\u0022#\u0027\u002Bprev.id\u002B\u0027\u0022\u003E\u003Csmall\u003E\u2190 Previous\u003C/small\u003E\u0027\u002Besc(prev.title)\u002B\u0027\u003C/a\u003E\u0027:\u0027\u0027)\u002B(next?\u0027\u003Ca class\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/public/help/help.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"38346bd192004d650441fb0d7822c2d978e07d46396aa9b6c4bc2e1f5ccedca7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html(renderToc(TOC,[]))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/public/help/help.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3708072a61686504a868632248111f5481c988fdc227d06ab47e1ce45b07b2d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html(hits.length?hits.slice(0,40).map((h)=\u003E\u0027\u003Ca class=\u0022hit\u0022 href=\u0022#\u0027\u002Bh.p.id\u002B\u0027\u0022\u003E\u003Cb\u003E\u0027\u002Besc(h.p.title)\u002B\u0027\u003C/b\u003E\u003Csmall\u003E\u0027\u002Besc(h\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/public/help/help.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"879bde071a09f5f89210fa907aaecf6c397ca2df197ae4ff6797e7b541175fb5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060xml(file)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/forms.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fde292fbf41b3e6d5ed93096bb7f43750559fecc170a0ba5f3f7f038d55f1a5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060root\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/setCategories.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"001f13549835ac56fbd4d32f70623368fea4c4db29e52305478ef9bd803ae148"}},{"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":"packages/pdf-core/src/engine.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5123db9fb8416bbfbd5b9b7099a32c39340b31c537a4744ea0d0d58cc49830"}},{"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":"packages/pdf-core/src/worker.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1265fb56e793f472bb14249f9b4e14cd16df94095ef805a1e9bfeb0b7c94ae"}},{"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":"packages/markup/src/bluebeam.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f10207273947332a3d761a1e846146f2cf934e98aea59de913fc98b31ba5dd5"}},{"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":"packages/markup/src/import.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a6cf11378bd77683a36db443f176ea473ac0e6c800cfe8ead8b3d88eb8e00c"}},{"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":"packages/markup/src/render.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e56c02892a36312c579f167d71a382ee7dee46aaa67a27d4a3cc527f1172e82"}},{"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":"packages/markup/src/toolchest.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab49eb84101d7090f82f7c3dd21d9e4dc8042a8c4e0482aa50f55bdf7d7fb626"}},{"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":"packages/markup/src/toolchest.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e248c5c7bbbd482e8a9345ede0b404158208c280b17c4e9d6b10eb78e56ee17"}},{"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":"packages/markup/src/toolchest.ts"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28f60d4b536fe3268d4aded20c20c951e41741f50e924e65accdafc0ffac0b3"}},{"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":"packages/markup/src/xfdf.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfb5de17b3d5f06b485e0f8e330b1f8a1a8af6118f18a9c7aae3bb2ec63acb8"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa77f48c238d461d078a2f944b759e48f994bd671ee4bc40a13550abffac932"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2e75860c74d55856030137882cde0f53661dadb9bf09eef74dc7f0a9439ca2"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"d181cbc49520164cc613258780155e41e70892550db32c5c7d9dcc26bc941533"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfb715d16f45e8ef6fc85d456b6feef1a8589a5468adbea073997be082f5f0d"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62dee64af9ff37437abaf526b18185aac6720d5c743fab14c44a8070b647e58"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":2109}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ce20126c3c908d1a1ed2550e7c1fe3a324dc35eee75297b0dc5a150cc2786e"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":2185}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce9d840f564a0f6d6abe8a3c7a42543c4a64b62b0399c1a04ef84282f464726"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7190b04e9c190983f84d00c7f76dece1aac4bd1632d115f9fac587f12664fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/App.tsx"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecec71893c27a84390b71f91844a26d3c6a74c464d179979de0958639281ec41"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":3827}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5b3e554d77330a4d6fa3a359ec0f0c8cbf800b51bf14761553d58134d72d1b"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":4010}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c3a138e87343c786d2afb9f998d955a138819bec3ad54dd38b3dfbcb124ff3"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":4373}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4664c31703f0e99d423e3e53cda197023ae32c5617f1a00e3661581531bf63a"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":5081}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d921b6531d1496f731b6038abc4d412e63e808fc289afbafb8ce81cad558bfa"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":5108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee435fecd1556be446117e5672aba8452207e4c3790da5080a142a82c8506ffc"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":5989}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ebfa8e89c319b336f414d7db269707321e33ee469867a3f64e854d2485fbe5"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":6478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7c940a062f21c26111320bb95c0f46d044987cebba3349a4671105be3b414a"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":6488}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2d8865d18f17ecd4116402cd4696cc2add66be2fafbd8230f470ec639e3a9e"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":7243}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c2c06ab37f7a8ebdb303880a1d4ff6af83bdb94c638d7c5e75a8583077a0d9"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":7321}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf63c8395e72c0df42a3b2e6e029cdb3277959b21b6adde110f1d782d900073"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":8351}}}],"partialFingerprints":{"codehealthFindingId/v1":"864645a237346f7c6f2a09a78a8fdb881644dab73577d7692b624a97f52248dd"}},{"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":"apps/web/src/App.tsx"},"region":{"startLine":9408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8189272f3ab6cd4c53e95733a6c613b2505c98889b5edb416d1a95d2443425"}},{"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":"apps/web/src/workspace/profileBackup.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d1902b6a86270e836a0507190a686b504ba2e0f6f2b3347bb0c78a3dba159a"}},{"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":"apps/web/src/workspace/profiles.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2404b9bc69f1a60721c84a6ccfcf2e60c10814ca218c8dac3d734f00eaae34ae"}},{"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":"apps/web/src/workspace/profiles.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5bdee0a09a89eac2e8b262c908d7e633b13934db250aaebf5ba036bf745390"}},{"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":"apps/web/src/viewer/TileViewer.ts"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f8ca8cccbd572ebedaba3d699f8041d828e912d69897fbcd00ac00a7893191"}},{"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":"apps/web/src/toolchest/revuLibraries.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b508a18b668aacb411f822c697afb83a831e10182dc75a4ad91373de4bba7a3"}},{"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":"apps/web/src/toolchest/toolSets.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a1cdc17d7eb64cef308dd8b12e5abda9035b3b2b6cf304167d56b213e02a68"}},{"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":"apps/web/src/studio/local.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c8f89a551837f7c16050885b0079219c90dc375348c9e9ff2a4236c48595be"}},{"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":"apps/web/src/studio/roundtrip.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3bef0b2ae073b83bc56258c03e8e1112064f2d469a358020f2c218bcdf164e"}},{"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":"apps/web/src/studio/roundtrip.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"04edcad3cb944dfe17c4e2cbde9da014828d1deadc6f69bc34b2fb496e975967"}},{"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":"apps/web/src/studio/projects/Project.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"123fbcfb1f262155c952739e4fee3057563de717888778a903ca0f2d076e98bb"}},{"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":"apps/web/src/studio/projects/queue.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa5d77795c7afa8f64fb6f5e8be739b396292a49fde689588b886cb527acfbe"}},{"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":"apps/web/src/studio/projects/store.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e44335b4b68759da0b38a0128fa9d7c368263b358df9f1f6384796a2802245"}},{"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":"apps/web/src/studio/projects/store.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d551e63e3ce3c34c6d383c58c20bd1b05288a9d8a7a785662a659358f2081cf4"}},{"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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"86078b4b01af58dd238ee81a234e43b12cd33b156860cb8f8cedf01eee435618"}},{"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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73696639ce18923572a003d852a921e24e82ff00821e8a7c4b7bdd87d3b8c64"}},{"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":"apps/web/src/studio/drive/DriveSession.ts"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18af191cef5465978f70e324d3b0b8df0d44ce3322befc8fe59582a9485394f"}},{"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":"apps/web/src/studio/drive/cloudLog.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e0958ae5645de461b095eacb2d18b655b3295ee662905dafa4e912d7beb1e9"}},{"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":"apps/web/src/studio/drive/idle.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e91a012f0be4d4457908b08987fff285b605c9122076dfde95d886129946b5"}},{"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":"apps/web/src/studio/drive/notices.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1df1f4566280ca8fe617d2b9bce40afd2191d367756cd0c2a2c66888f92894"}},{"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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7035915eade67d24205c171b116d29b864f2d6d56220b5c022b02f0e7474963"}},{"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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee01e5529c5aeeac0869bbf88ce13502c6d02615d22bf389b29771faf3fddc5"}},{"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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf7c5737ee3fee70659b660b4911845d28d2c39db51aef1b226e04dfb5528c8"}},{"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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da57ffc8400e37ebc3264400468c8e1fac21034b89faebec8ed4b19025711f3"}},{"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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ff98a4fa01a7b06d13dcf4cd3d0036f06d0ff5a0bbd042e5cfba34b2c083db"}},{"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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"506c688ebf1e5e044929682defd9f7cff828812e5165f5f9da60a1d1dc1acca4"}},{"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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dd24158764668b5fb7f0d20b21049f3f56c0d238b40adcea9d825a96f67af3"}},{"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":"apps/web/src/studio/drive/onedrive.ts"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcc60f676a8108d6a0dc488a24341f714219d4a98bc1af82e55e1f4cfbb5bd8"}},{"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":"apps/web/src/studio/crypto/sessionCrypto.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51d29bf79e395dd0ff2b14bfd4aac4ddf0e9854fdef1d6ff49f23d3fef04f87"}},{"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":"apps/web/src/storage/diskHandles.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9cb225c079f7e1f660f182c1ea770f4a210c4e0b4e7cde948c87b56ad7df00"}},{"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":"apps/web/src/storage/diskHandles.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4c499c2a26855c4a46a16ac8596540ef09c76b870ba4ea83ee8b05a9c5986d"}},{"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":"apps/web/src/storage/diskHandles.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"331f8954f75ea4757ab819da32da4b6fc53f33b80ba2a00992aa007c3fe2e3c5"}},{"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":"apps/web/src/storage/diskHandles.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef66a5527f822d11046382d0c2374d5e2eeecde30f8617c5850cb1c7cc8a075"}},{"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":"apps/web/src/storage/fileGroups.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"31500f796789c958b59e65397835dea154aeaf60317bde0d2972e28eae09a51c"}},{"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":"apps/web/src/storage/fileStore.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db969c73b4b69f2da2c9a0d87f1982ec6e0b57f00eccef8ee59bb2c7178099f"}},{"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":"apps/web/src/storage/fileStore.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"467f3d794c8e69ec3bef06beb0c8bd4fecea828847664222cee26ad9bd78092b"}},{"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":"apps/web/src/storage/localCrypto.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6b0d498719cb2b56bff9030da596fc927862002f527ea7b2913e82ba38f1e5"}},{"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":"apps/web/src/storage/sets.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e790a875d57aa104cbd91f755481a046c74ca73f3f0099b41c4b95ff5ae7af"}},{"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":"apps/web/src/stamps/revuStamps.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba1ead9aa16f1ae199a73058e429fbdda0136ac6f6575a49d551685b6450678"}},{"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":"apps/web/src/signatures/signatures.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd08caf6039e159b1512ce0bddac7dc68bffd8b321a878410255d9024a10a047"}},{"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":"apps/web/src/sheetsync/useSheetSync.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8fc58d5e01ddfbf1191c75b95945402639f52a3ffbd847e67bed1ad5a45594"}},{"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":"apps/web/src/sheets/indexer.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"832b22953842b4fa71a618690ac3acf1710d74586f2f1dff61e592d931ff531e"}},{"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":"apps/web/src/sheets/standardsWizard.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d868e95bba6d053f23ab153e6ec0fe6fd40e87acb9cbb078ef59969a8bc1a7"}},{"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":"apps/web/src/sheets/standardsWizard.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeab63463fd1e11b28535007e754050ea02f2de5b63e944fe10b76b257971c4f"}},{"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":"apps/web/src/settings/settings.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3a3bdb4d47370f173b0cd3ef4ef40a338a84b710b1f7b8652e538100ba2c62"}},{"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":"apps/web/src/offline/launch.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d73b410eb1b317902d966ed36efb36893aecd9121c4d75eccf7b660423a3b1e"}},{"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":"apps/web/src/offline/updates.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e626e73842dc09fc101fc4016cb8345d1d9467bcb64c9ac5b58c1311b6c062b"}},{"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":"apps/web/src/measure/scalePresets.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8523b46eb7d8f1e9125a5c1f29739a52bcff7af9576753893f1fba51751532"}},{"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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":5340}}}],"partialFingerprints":{"codehealthFindingId/v1":"de14d4b07be5536e20e4aa1c3963ee1cc3541746339e07ae471f283c92b2c764"}},{"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":"apps/web/src/markup/MarkupTools.ts"},"region":{"startLine":5349}}}],"partialFingerprints":{"codehealthFindingId/v1":"b143f9f4bdbaee2597c92e0c266682caaa132b8f2bedc1cff4b27f0b91df7929"}},{"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":"apps/web/src/fonts/fontList.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4de01cfdde46d017c60143d46100070af04e6210611c02ab07e5b49242a3cfa"}},{"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":"apps/web/src/fonts/systemFonts.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ca518af7744778b45271a7cb5d25fabe21e9397b5352360719036ea037ade0"}},{"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":"apps/web/src/documents/archiveFonts.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"350db1d3c6a00fa6740cfa82d6511ea3646297d84137fd3920926df6f38864fb"}},{"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":"apps/web/src/documents/forms.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a836f932d2cda5df6980db21f97fae31d4dbb3a07f5ff93cf092b758692605"}},{"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":"apps/web/src/documents/forms.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aec19f31fddb2bec299f82f8cf2a0a32035464e9282ff3f1733bb2d76cc5d35"}},{"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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4d6bdf356fc499f2a640f7327fe03ecb0cedab949017ab56b9f0193c336515"}},{"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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d1842b7d68909950de3650e819a58be084d1b0f7a015bc70ee474a892b8cf4"}},{"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":"apps/web/src/documents/ltv.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"88427a3cf1d28feb5bad5f88dedff118de51c84d797a52b90f0d50d96f642753"}},{"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":"apps/web/src/documents/ocr.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3884bb3f5597c383ab3f539b157f75fdea0931309e490eb967780dd37c830cdd"}},{"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":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2749ad81eed4e145ac0f0282e2a6f3e2032f81eb0285455ed8ec35de1e75f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/pdfSign.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"047e60c0b2ff7d4fc1e4893479ae6826ae38363fc9e612233e8e1cfed3e28bd6"}},{"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":"apps/web/src/documents/pki.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e3183a2d662c1451ca722fbd2bb8dfa1661cca2720689376d6ff0cca762126"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/pki.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"2401e3fe96d60460520786db3a27ca38f09b9f27a3ee5d8797df92677a18445f"}},{"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":"apps/web/src/documents/pki.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd4f16bc0a5f607bc1ca2f6226d7ce0d9162d37515a8d6dc6eb8fcc09dd04cb"}},{"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":"apps/web/src/documents/pki.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa81784c1e827636112e7adcc0023be5ae42d8170d709dfccf20c673104df1e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/documents/process.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"feaf06a84128e3f428fb90ae980ba842391259ba23fb6becf9e4bffa2a2df06f"}},{"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":"apps/web/src/documents/renderCopy/renderCopy.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76955f6e6fc63a6f787a13ffdb17ea8b8b53734608ca44342bb03151a689389"}},{"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":"apps/web/src/components/CompareDialog.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69990e68d4dcc7c9db7993f977a9e3dccbbe43fda2586ddc4d59f1371fe4e29"}},{"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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"40757eebc30c2d3670dd5b549482c79d28e8f97aa65a13760a52b393a5435ff6"}},{"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":"apps/web/src/components/DigitalSignatures.tsx"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"39092e0be110516af40362c80b270b112dc1f9eeda1ba5fa46b71e0f47877872"}},{"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":"apps/web/src/components/ExportDialog.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"257551b9be8609971f7c3f87e3efe1b7573957c503d581c9a2aafceea1a1822f"}},{"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":"apps/web/src/components/FontPicker.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c345571de79132be7c6da2884841f791981a88eefee6b20d4bb1d8a390a258f"}},{"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":"apps/web/src/components/HeaderFooterDialog.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e08f3f11cff31b3181604557e6da38693d9092810b6328973e165431d6d110d"}},{"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":"apps/web/src/components/LayersPanel.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39ec70a01dc013f2663230ed6ebdd1afdeedc5e68d82dcc3cfcf6db33c5536b"}},{"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":"apps/web/src/components/LayersPanel.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"472e9fbf63e524ef15878587c583732659cbcdb899fd63d5a85aeffa355e4c79"}},{"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":"apps/web/src/components/LineStylesDialog.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a1e808bfce8f39e7f256dd28fe8d8de6a7de8f0c2dd10854c092dee173bfe9"}},{"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":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c98118ce306c493449607c1c2e6521e846b4443733c11b52d5abe66a1ee16b"}},{"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":"apps/web/src/components/PagesPanel.tsx"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd6feb7a7e1f8c5fa77435bf84ee407495f666c5692e944be2c4c63d72d84a2"}},{"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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba37ababbd925f39bc5ad3a345a021755c52e86fd1e18b31d2213226d95c7940"}},{"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":"apps/web/src/components/Ribbon.tsx"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aabe07ea4000f657af4df784c6a9567289f8a25308b6b66a5a8121f9f9c3c6"}},{"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":"apps/web/src/components/StartScreen.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"02809ff3e5e04c39b50081352a3ba1e8238ef67dcc4c50dbda6d9025c473bf14"}},{"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":"apps/web/src/components/resizablePanel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c798ff8102e809588264152528e00f8f6fd82a95b278cc41c422fe0b333cfc7c"}},{"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":"apps/web/src/components/studio/StudioHelp.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f5bca4f1d8f0ae37c219d51cb724c9b93a0acdfa6b6a787ea2623cd95d9288"}},{"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":"apps/web/src/components/standardsWizard/SheetView.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d31497028a95d9baaf8c08cd6d0621045ad7b8378af5d820b66cfd4ab9afef"}},{"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":"apps/web/src/cad/ctb.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"342a8e1e66620d839b7273cef5c2ef9223dca52f33624616501290e7b618ac69"}},{"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":"apps/web/src/assemblies/countProposals.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"df012477e42ddc391c6bed8ec974560ce0e1e7b47928e17f7aa0b1d3adcf90b6"}},{"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":"apps/web/src/assemblies/proposals.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d1ea883aacd2dc1514470a1dcc4bbe0efb78e4f69b674f1a71d3684f721bfb"}},{"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":"apps/web/public/theme-init.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3006e7186c4eee3ff29cd40d023da9d17c55cd6b617fb5d52f0ff3b9e1ed8cbf"}},{"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":"apps/web/public/help/help.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"154c833394799292b59a85d119590aea772fc57b1507d13e2ab7edc2d0dd7c34"}},{"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":"apps/desktop/src/fonts.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4afc034bf2a2f329f72d13d05dbaeb6d6ba77228ec9a6c68a9c8e63b8f1f91"}},{"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":"apps/desktop/src/fonts.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8960997520ffa6d841bcc6dd0fc8fb1ae87331ace7ef8b42b5945dc929fe4cc8"}},{"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":"apps/desktop/src/paths.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7613e4c2c85d1e6350522f49e8cae4611d9b53bd4538ed3a0502731b48c3fce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/paths.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38e9e786381b10c370a874859a5c347486c009a2189d64ec2215c0cacc36ab9"}},{"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":"apps/desktop/src/revuSettings.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79d257e4c602ee52a2475f096047ddfcc927520d57e7b95cd0e6d8b6939993d"}},{"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":"apps/desktop/src/token-ipc.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13231c158bbffe113adf1b0134a07f5813fe0cba51dff6d9d6611b9c07ac409"}},{"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":"apps/desktop/src/token.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0039f9251f74b8eec1f18be7b0d83077abf3d806da7dbe19a221c754ce5c8a"}},{"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":"apps/desktop/src/token.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ee1c79697c7d11a1d26b1a63ff34ac212e722de1658e7f26a764f95e1e7afe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/token.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bf3abed0a33dc921b505da2635dac3d449a30893c0f18162530c94331886a9"}},{"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":"apps/desktop/src/token.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"062cbc2c14de30e82191753bfe2d200850ca757d2aefe0be70f190214e90ab7f"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~23.5 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 3191 assertion(s) across the 135537 source line(s) of the 507 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: apps/web/src/markup/MarkupTools.ts (170), apps/web/src/App.tsx (151), packages/pdf-core/src/worker.ts (137). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d7e21668c5de67446a13fc686586438f8b8353a46239522b320da8ef58b56c"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3d59e92f08fab54c5d5b5fb427756f7728a1b72b094b684af9f218d238c05f"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70b3ee2a1b27b0fa2e1b7045c809039cdca8059ce3d18a2bcd5edf4e596f032"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"49128c1a80a33228de493118aa01918df717305f46b61ce1e2dc6d90414f2cd1"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"2780d587567267089c557ebb113551d7641e6afd389e53642a64ad13a94ca742"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/markup/src/toolchest.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba873361dd31b087a6ea1eab399b1790b8193513d0af5b059c98cd5686d94d2"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u2026 Stop\u0060 under \u0060state . kind === \u0027working\u0027\u0060, but \u0060state\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/SlowDrawingPrompt.tsx"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63f4bcb9bb50d39251dcdcef79f27daee94b1d9b3109e5cf4e3959a866ec5e7"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Looking through the set\u2026\u0060 under \u0060( running || ! run )\u0060, but \u0060run\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/web/src/components/standardsWizard/CalloutStep.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece96936bc5eb3982755b80b2e5676a2e3ba67ab2536358b5cba2231c32ecc8f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060props\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":"apps/desktop/src/folderDrive.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"44551f2ebb56cd56006a4612a466eb6b96de5b76605212ed7b628999a1089d26"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readIndex\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":"apps/web/src/storage/fileStore.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3be6a7b453acf74a5317247c1db784b75e3b58d99e011e49a733847f5e1cfd3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060seen\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":"apps/web/src/studio/drive/notices.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ba239add0e53c95e5fe0d9e20d05db81641fce22491e5bde060d74311b2cd0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load\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":"apps/web/src/storage/fileGroups.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"23da569c7f5ccd3884e4ee8f47b859658a3caa5568df1d52726dd999639c6b4b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadRecentFonts\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":"apps/web/src/fonts/fontList.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aaeacc3b0e0523eecdcdf52de2b583f659c1e649f8380ea2f474d6150948d48"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listSystemFonts\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":"apps/web/src/fonts/systemFonts.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0738021c658115d9f5ae55c66b9dd9ff4ff3e7e8c7f89ae2e08d6874c22d5105"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load\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":"apps/web/src/sheetsync/useSheetSync.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8935c72d6339f165161fb86b7223a314243cfcb79d9d3987fe6e873d613276e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load\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":"apps/web/src/signatures/signatures.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff46f7e38a40dd904e3dd0edcc09f1f3d3b91d24f88eeec86021a5ddbaf477d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadLibrary\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":"apps/web/src/assemblies/library.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbfc64281c2f0a95198225dfb7edb7e52e0541cd142d15f7afcc3cfb41924ef"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load\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":"apps/web/src/assemblies/proposals.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d522c8c2310ab33175243807601ed7f3eabd186f6ad6331e6ca5efe8e75318f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load\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":"apps/web/src/assemblies/countProposals.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8303a480183203fd4493e106ffad2291fa90ffd8ad2d314baa8bae467eca67be"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadPresets\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":"apps/web/src/measure/scalePresets.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7800d2663cf2f18f938fb218000eef98f98d322150ff80fcc8e6e5634d78aa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060saved\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":"apps/web/src/components/HeaderFooterDialog.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"032314dbbd0c879f6996adb1128e7fa089a45d603c6bd0dc4b6fbd604c461ecc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060certificatesIn\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":"apps/web/src/documents/pki.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a4f8468c8da56a6b78033b236081e885d6cf43f1fa1a31839cafc810acc223"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060personalWords\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":"apps/web/src/spelling/spell.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff66937adce030f11bdea833960268827bceda0f23d5767da71a95be2c5781f7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060saved\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":"apps/web/src/components/CompareDialog.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1753c79653112cf0aca01409a381f78cc1ccde8c4e3e44840427f9c2b9b10817"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060all\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":"apps/web/src/studio/roundtrip.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4ecc6a033cc7792ba0f1cb93a3b77e7d2bf9a5db1f327b5835a3160dd6f461"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadAuthor\u0060 swallows every exception into \u0060return \u0027Me\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":"apps/web/src/App.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"7446e731678c377ea16ea2614031a8a3968991befea848152edd545d634176e6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060embedInstalled\u0060 swallows every exception into \u0060return \u0027unavailable\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":"packages/markup/src/export.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6bcdcc0a3cb9a558cd500b255d824cc2995acf5e397f64b67053fae8aa5751"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readAssemblies\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":"packages/markup/src/pdfExtras.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"556af2d1098c83413ac7b24c47cf67afa8ca322d6758b66d0f546eea02c61ceb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060rcLabel\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":"packages/markup/test/compat/a3/measure.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b76b548c4fa04a3a37489adcfc2273ec986610893ffb39745b48eb7a5ad31b"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-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-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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"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":30,"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."]}]}