{"$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":"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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"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":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"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":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"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":"commands.registerArtifactCommands (cyclomatic 23): commands.registerArtifactCommands has cyclomatic complexity 23 (threshold 15). 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 literals inside it that branch (lines 187, 61, 166, \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":"extension/src/artifactManager/commands.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40dbe18418056a816fcb18eec7cf3a5ae8fb643328d7888bd342d37c7b9c394"}},{"ruleId":"D1","level":"warning","message":{"text":"importArtifactCommand.importArtifactCommand (cyclomatic 22): importArtifactCommand.importArtifactCommand 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 2 function literals inside it that branch (lines 102, 184). 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":"extension/src/localProject/importArtifactCommand.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"97715575a95df3de5d4bdab44f92514c435fa54b6da276e4ecfed4c8afc887c4"}},{"ruleId":"D1","level":"warning","message":{"text":"FabricApiClient.sendRequest (cyclomatic 21): FabricApiClient.sendRequest has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to one function literal inside it that branches (line 71). 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":"extension/src/fabric/FabricApiClient.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1504803323237d5cebae5767b5f85320a338fc97e425bddb09bf51c16f001cdc"}},{"ruleId":"D1","level":"warning","message":{"text":"utilities.handleLongRunningOperation (cyclomatic 20): utilities.handleLongRunningOperation 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":"extension/src/utilities.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5544aac76c6586b77b713bf3329aedc12527879475b735b68e23a2bce98d17"}},{"ruleId":"D1","level":"warning","message":{"text":"createArtifactCommand.promptForArtifactTypeAndName (cyclomatic 20): createArtifactCommand.promptForArtifactTypeAndName 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 2 function literals inside it that branch (lines 101, 109). 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":"extension/src/artifactManager/createArtifactCommand.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0315ef34373086092841ac94e2c4b209ec95e5298f0f3b75b3e0f312d87f826e"}},{"ruleId":"D1","level":"warning","message":{"text":"showItemQuickPick.showItemQuickPick (cyclomatic 19): showItemQuickPick.showItemQuickPick has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"extension/src/ui/showItemQuickPick.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b66f5528d27f7c9dc8d681c7898e4795e31b1bdd833a91897d626dd8e965d1f"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalFolderService.getLocalFolder (cyclomatic 16): LocalFolderService.getLocalFolder 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":"extension/src/LocalFolderService.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5041220de607af448959d1fb5f0a001f36632d4a51eae59a953f9cac4982662"}},{"ruleId":"D2","level":"warning","message":{"text":"importArtifactCommand.importArtifactCommand (cognitive 37): importArtifactCommand.importArtifactCommand has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 14). Most of this is not in the body itself: 14 of the 37 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 102, 184). 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":"extension/src/localProject/importArtifactCommand.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c99ac1e10dc205727cc9008c1d4ec96a61f591993f9e0841db471925da3b9f"}},{"ruleId":"D2","level":"warning","message":{"text":"utilities.handleLongRunningOperation (cognitive 33): utilities.handleLongRunningOperation has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 5 (12 pts), boolean chains 5, error handling 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/utilities.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d855e585e580635c3f5181bd903b3f7434a7bd518294e5666031d5c8e4b5d6be"}},{"ruleId":"D2","level":"warning","message":{"text":"DefinitionFilesChildNodeProvider.buildTreeStructure (cognitive 31): DefinitionFilesChildNodeProvider.buildTreeStructure has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 15). Of this number, 27 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":"extension/src/workspace/treeNodes/childNodeProviders/DefinitionFilesChildNodeProvider.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fac71d750fae5b2ce5e2af743ba4efa9eedafb0afbca372df4dd1e0bd7eb60"}},{"ruleId":"D2","level":"warning","message":{"text":"FabricWorkspaceDataProvider.getChildren (cognitive 29): FabricWorkspaceDataProvider.getChildren has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), error handling 1 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 16). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 134, 204). 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":"extension/src/workspace/treeView.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a4be1efdb18693b05ad1e2efbfb06ceeb51472a62ff848b51fe7c267bd1df5"}},{"ruleId":"D2","level":"warning","message":{"text":"createArtifactCommand.promptForArtifactTypeAndName (cognitive 27): createArtifactCommand.promptForArtifactTypeAndName has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 12 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":"extension/src/artifactManager/createArtifactCommand.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b682cae8583cb6f52ad1194582af1916a4f3c67b45f0e196f05f9e268e2227d1"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalFolderService.getLocalFolder (cognitive 25): LocalFolderService.getLocalFolder has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 2 (5 pts), boolean chains 4 (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":"extension/src/LocalFolderService.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"644a6afd91adf8682d77d869f7ca077c8f66f988ff237e793eb474680b76a018"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.registerArtifactCommands (cognitive 25): commands.registerArtifactCommands has cognitive complexity 25 (threshold 15). Drivers by points: if/else 20 (23 pts), boolean chains 2 (nesting depth added 3). None of this is in the body itself: all 25 points belong to 4 function literals inside it that branch (lines 187, 61, 166, \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":"extension/src/artifactManager/commands.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a859e05e6b57646e1f7c571c68954efc224990a4326c5689ebeb76bceefa73"}},{"ruleId":"D2","level":"warning","message":{"text":"FabricApiClient.sendRequest (cognitive 25): FabricApiClient.sendRequest has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (17 pts), error handling 2 (4 pts), boolean chains 2, ternaries 2 (nesting depth added 4). None of this is in the body itself: all 25 points belong to one function literal inside it that branches (line 71). 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":"extension/src/fabric/FabricApiClient.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5abd3840b21a24caaf4260a13037b6b99185172b5c178da4dceacef991eb2d"}},{"ruleId":"D2","level":"warning","message":{"text":"showWorkspaceQuickPick.showWorkspaceQuickPick (cognitive 22): showWorkspaceQuickPick.showWorkspaceQuickPick has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/ui/showWorkspaceQuickPick.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7fba9689180f1b78fc192cb5ef32435be6ff59710da20a97596c1a76858363"}},{"ruleId":"D2","level":"warning","message":{"text":"MockApiClient.normalCallback (cognitive 20): MockApiClient.normalCallback has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/fabric/MockApiClient.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5977a7124856d4490ed3a1029c98913023ba14162417516b5fd04aaa6a991c2"}},{"ruleId":"D2","level":"warning","message":{"text":"showItemQuickPick.showItemQuickPick (cognitive 20): showItemQuickPick.showItemQuickPick has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, ternaries 1 (2 pts), error handling 1 (nesting depth added 3). 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: 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":"extension/src/ui/showItemQuickPick.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b996d59de9bbc2ce82127d82ce570b14c14662ef2cdaf3808454496b13fdcd2f"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceManagerBase.processAutoLogin (cognitive 19): WorkspaceManagerBase.processAutoLogin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 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":"extension/src/workspace/WorkspaceManager.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"668df4e51898f68f976afb345c1bad29e1c54d9a7e9bded6159f6f3122da2f0e"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.export.registerArtifactExportCommands (cognitive 19): commands.export.registerArtifactExportCommands has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, error handling 1 (nesting depth added 7). None of this is in the body itself: all 19 points belong to 2 function literals inside it that branch (lines 81, 120). 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":"extension/src/artifactManager/commands.export.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4a24376a6b7745f0ebe35813a78e088736b8a443c13a9204daaac9a4bceb00"}},{"ruleId":"D2","level":"warning","message":{"text":"FabricError.doFabricActionInternal (cognitive 18): FabricError.doFabricActionInternal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 1 (5 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/src/FabricError.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c91b2e07b198ff9aed850f8f4fb4e2cd47b83870d9de85afb709230762acf3"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceManagerBase.getFoldersInWorkspace (cognitive 17): WorkspaceManagerBase.getFoldersInWorkspace has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 3 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/workspace/WorkspaceManager.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb20ee94173a56bfa717388a4f94d57ba1083a0903e23f93ba9e8835b5c779e"}},{"ruleId":"D2","level":"warning","message":{"text":"FabricVsCodeExtension.promptMcpServerInstall (cognitive 17): FabricVsCodeExtension.promptMcpServerInstall has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 3 (6 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/extension.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef456a090f2be50371b1fe64fca8ce606d954b0cc8c924b594cab9077fb9995"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppBackendWebviewPanel.getHtmlContent: MethodTooLong \u2014 getHtmlContent runs 244 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 144 over it, 2.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":"extension/src/internalSatellites/appBackend/AppBackendWebviewPanel.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c5842a976d1591398c1dc0f9f980aa9925e9a0e04d9949d54b0166d0da51c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.registerArtifactCommands: FunctionTooLong \u2014 registerArtifactCommands runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/artifactManager/commands.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"68591eea58343e92a5a9e0e738a3dc1b48478b58e231980189044457e0417b74"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: importArtifactCommand.importArtifactCommand: FunctionTooLong \u2014 importArtifactCommand runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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":"extension/src/localProject/importArtifactCommand.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa26c7e0a461f6766798634d60b3b21768cbd2b630970ec35eb5d91f84e860f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.export.registerArtifactExportCommands: FunctionTooLong \u2014 registerArtifactExportCommands 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":"extension/src/artifactManager/commands.export.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb674de49ec409d4c430a47c519d80788d90f86817593ef73395519654ac048"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fire onDidEnvironmentChange when environment setting changes: 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":"util/test/unit/settings/FabricEnvironmentProvider.unit.test.ts"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15f810d67e61ee50034a5e28a1379e9837ea22bbbdb0bd441aacf556486ad94"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fires when ShowFolders configuration changes: 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":"extension/test/unit/settings/FabricFeatureConfiguration.unit.test.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b129f57df3783a5164f571697418bdbbca8b9826949a84a217fc28d8dccc91d5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fires when EditItemDefinitions configuration changes: 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":"extension/test/unit/settings/FabricFeatureConfiguration.unit.test.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af93066f339249b6929103d2fb01b4e6ba755bcadb9f9409d5413b540f9f75e"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: Does NOT call setLocalFolderForFabricWorkspace when forcePromptForWorkspace is true: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/test/unit/localProject/importArtifactCommand.unit.test.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa95c35a27f41fb8504d79f8c891c67a8b9efb0293ce449e394480fabd4e4e34"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Satellite contributions are initially empty: 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":"extension/test/unit/general/FabricExtensionManager.unit.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea30de5a23a3e67dbb529afba894c39f6c9651706c42e24f54ae8c48e3d3916"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: microsoft session changes: 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":"extension/test/unit/authentication/TokenAquisitionService.test.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd0332b7783993db8682acf424a047915617b842237b4ad80e486a32f431368"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: microsoft-sovereign-cloud session changes: 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":"extension/test/unit/authentication/TokenAquisitionService.test.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2e3f8081451d6f853ba583852e41211a3e4e852883042d2a8950e3c3da0df7"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: glob: glob 11.1.0, declared in package.json, 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. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dfa8364448a636dde7d466403280de05e962b7d69e34ec0d3707ec14687871"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 8.1.0 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a21a0f511e79bf1641d8781e0ca2d1a227ed4ef5f1fd822135ca3108ada0d"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: inflight: inflight 1.0.6 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":6374}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f44f2d08ee8839d5172f941ab3bc1c660bb2257c3c3bd3354971f7072e14eb"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 7.2.3 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":7867}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af59a68b703d1d09f733b4123d502871e54cb862646e84770d19bbb5c4c04c9"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 7.2.3 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":10595}}}],"partialFingerprints":{"codehealthFindingId/v1":"468387141acdf2205d118e7df44ead947c3b0a91c2c515c7217f83690dc3b0fc"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated (npm): glob: glob is pinned at 11.1.0; registry.npmjs.org publishes 14.0.6 as the latest release. Upgrading is a judgement call \u2014 read that package\u0027s changelog for what changed between the two \u2014 but a direct production dependency several releases behind is where security and compatibility debt accumulates silently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2083c1229b0a0657ceef8fe43c15302548b1ce6b2561269ba43eba349dd8867"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: extension/src/bufferUtilities.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d14291119f468223cc3a04f6cff1b59bb0728f91768b57141859ff9cdd09576c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should it refresh automatically? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/test/integration/WorkspaceArtifactManagement.integration.test.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e0f7cd1ff3d1113eda05175dfa31eda666e39505d8899f7a6b5c434dfa8e42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Expose a proper method in the interface \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/ExtensionUriHandler.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f58e6ece7c2d4fe67dda4f693669f1a5f913c52013225e9fd742cd1b62221a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this is strange. The dependencies should be injected... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/extension.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2ac2a19b9d775c248f5192ebe42dca400c3e26572f9665462992ba30c5bb40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this is strange. The dependencies should be injected... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/web/extension.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eabc084ec409a69fb87a18065c9b67ded492b084498c5cd6fe33f91220228db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Allow a IFabricTreeNodeProvider the opportunity to provide a parent node \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/workspace/treeView.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8a86e2ea4356d434b504bfb28ea8f10971316d73838323df978a4b99332f11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: What is the correct behavior if there are no active capacities? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/ui/showCreateWorkspaceWizard.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"761a851bf756eddf4557a10b5aa0f733a00c452d5589dd32c1ffafa2b578b0b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add all command instantiations here as we migrate them \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/commands/FabricCommandManager.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9b611139034f5fb6296b74a0151385b35a3f640b552d7a9650f42b1060f5da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/authentication/AccountProvider.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c073adcdb3b420febc83bed3b97db82985ad6cfa3dc4b6aec92f5e36bfa7ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/authentication/AccountProvider.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"85238888fe4e3c105275eb2ad8c815833056f22f9605f5087376bd1330d6568f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should not be here, but in a utility class in vscode-fabric ?? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/authentication/AccountProvider.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bd24419e196eb744999ec87401a0e7694ff34663e02821a1a406296ecfa8e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this is a magic string and should be a constant in API or Util package? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/authentication/AccountProvider.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fdb85933d3d2956eaf03ae48fdddf74d21e83567d12c750ceddeff986d413e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: pass progress and token to satellite extensions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/artifactManager/ArtifactManager.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebedf32b0779a0a7decaa7ac4c0e7d1af207e94e43effeaa71461ec69fa4626"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is unused? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/artifactManager/ArtifactManager.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a61419421d0d3619244ce151bb25a99f5f8620f642f4b3afa5a9cb8996cca71"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060extension\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060extension/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14960579133715635516f819375175106f989717cb7b4b81fd99e4e59ca838d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022private adapter: ILocalFolderSettingsAdapter;\u0022 repeats the code it sits on: 4 of its 5 words (private, local, folder, settings) are already in \u0060private settingsStore: ILocalFolderSettingsStore;\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":"extension/src/LocalFolderService.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"27caac1b2667e2b778e0860b58c034968399850fa835303a21fe7ff94b1c3cfd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Copy from existing folder\u0022 repeats the code it sits on: 3 of its 3 words (copy, existing, folder) are already in \u0060await copyFolderContents(existingFolder.uri, targetFolder);\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":"extension/src/artifactManager/changeLocalFolderCommand.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8b118f24b44f7c816355a6a316a45e740bbab014d9a4b497e2ee6ca5edf246"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Show workspace picker as before\u0022 repeats the code it sits on: 3 of its 3 words (show, workspace, picker) are already in \u0060const workspaceFromPicker = await showWorkspaceQuickPick(workspaceManager, workspaceFilterManager, capacityManager, tele \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":"extension/src/artifactManager/createArtifactCommand.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"accecd4c18023477235671e4adb5466a70895ba359ebc514c39288dc34836fd6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the localFolder is contained in the workspace folders\u0022 repeats the code it sits on: 6 of its 6 words (check, local, folder, contained, workspace, folders) are already in \u0060if (workspaceContainsDirectory(this.localFolder))\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":"extension/src/artifactManager/deleteArtifactCommand.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"660cc642d3c38161303c75d9a19e84d094c3de6cb01cc66c3d91e457d0a6d609"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the folder name from the URI\u0022 repeats the code it sits on: 4 of its 4 words (get, folder, name, uri) are already in \u0060const folderName = getFolderDisplayName(localFolderResults.uri);\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":"extension/src/artifactManager/exportArtifactCommand.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b956ad74594e24715ebb0506026dd0249bd8c5cb3dcf704dc049e4cb042249ed"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Show folder action dialog\u0022 repeats the code it sits on: 4 of its 4 words (show, folder, action, dialog) are already in \u0060const action = await showFolderActionDialog(message, options);\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":"extension/src/artifactManager/localFolderCommandHelpers.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c864036dfbc0b6fc19ec4a5238ab52e357fc1a7a7e05de01343d0c655e792693"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Perform the action with save preference handling\u0022 repeats the code it sits on: 4 of its 5 words (perform, action, save, preference) are already in \u0060await performFolderActionAndSavePreference(\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":"extension/src/artifactManager/localFolderCommandHelpers.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c934c7ed985395b7f72c19b3b498fe65af8094c3d2adf8cd59fc3346ee585dff"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Prompt for folder name\u0022 repeats the code it sits on: 3 of its 3 words (prompt, folder, name) are already in \u0060const folderName = await vscode.window.showInputBox({\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":"extension/src/commands/folders/CreateFolderCommand.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd028225c83c605084094d996ee96ac3119a97682fac0e27de95958ce8b1aa5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if folder has children\u0022 repeats the code it sits on: 3 of its 3 words (check, folder, children) are already in \u0060if (folderTreeNode.hasChildren())\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":"extension/src/commands/folders/DeleteFolderCommand.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"692d4c30d8bae5d6859c575904bf8e75690a0f6044b757e22b38d3422307c183"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Prompt for new name\u0022 repeats the code it sits on: 3 of its 3 words (prompt, new, name) are already in \u0060const newName = await vscode.window.showInputBox({\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":"extension/src/commands/folders/RenameFolderCommand.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae7294d195367b9ab07f05115135b928de9b04a2568747f6f06fde20329e3a2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Definition file system provider (editable)\u0022 repeats the code it sits on: 4 of its 5 words (definition, file, system, provider) are already in \u0060const definitionFileSystemProvider = this.container.get\u003CDefinitionFileSystemProvider\u003E();\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":"extension/src/extension.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfd8285bf08a271834365a3f1b606784d6f5e57be3d0d50f25c15527d0a4175"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Definition file editor decorator\u0022 repeats the code it sits on: 4 of its 4 words (definition, file, editor, decorator) are already in \u0060const editorDecorator = new DefinitionFileEditorDecorator();\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":"extension/src/extension.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b959cbb5806a07ae1a7a5b8a3c3f159efcb24da2f1d340c8c83ab6528a034b0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fabric API client\u0022 repeats the code it sits on: 3 of its 3 words (fabric, api, client) are already in \u0060container.registerSingleton\u003CIFabricApiClient\u003E(() =\u003E new FabricApiClient(\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":"extension/src/extension.ts"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa461ef42167a3ffb4fc2b0a31b1bad21991f20b7945e7c16ba611bac3efd380"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Definition file system\u0022 repeats the code it sits on: 3 of its 3 words (definition, file, system) are already in \u0060container.registerSingleton\u003CDefinitionFileSystemProvider\u003E();\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":"extension/src/extension.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"755222b755b91d03975f782238392c65f6e56375bed5d3ff9b61e14bbb1ac1d5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the artifact handler and workflows for this type\u0022 repeats the code it sits on: 4 of its 5 words (get, artifact, handler, type) are already in \u0060const handler = extensionManager.getArtifactHandler(targetType);\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":"extension/src/localProject/importArtifactCommand.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3809881eede3bde465fca009f23f93126950ca75aaab828295fd09d53757222"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Definition file system provider (editable)\u0022 repeats the code it sits on: 4 of its 5 words (definition, file, system, provider) are already in \u0060context.subscriptions.push(\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":"extension/src/web/extension.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16ffa5803db85b32004b00468f31eb23c8a6e5f1c4443101b0752b8077dc9c3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Definition file editor decorator\u0022 repeats the code it sits on: 4 of its 4 words (definition, file, editor, decorator) are already in \u0060const editorDecorator = new DefinitionFileEditorDecorator();\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":"extension/src/web/extension.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4f86a6904b846a25fe846416a28e9e452ae69dd9a2da4e37de7ed49b1d8488"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fabric API client\u0022 repeats the code it sits on: 3 of its 3 words (fabric, api, client) are already in \u0060container.registerSingleton\u003CIFabricApiClient\u003E(() =\u003E new FabricApiClient(\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":"extension/src/web/extension.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"546c97d3a8acebfc4173d0e620e802148e0a1da1fc5c4a000c497658d9e0e493"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Definition file system\u0022 repeats the code it sits on: 3 of its 3 words (definition, file, system) are already in \u0060container.registerSingleton\u003CDefinitionFileSystemProvider\u003E();\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":"extension/src/web/extension.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"e023a252719098aa788cfb946f2699587dc5cf587b83125c3351cde489f191aa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Listen for active editor changes (text editors)\u0022 repeats the code it sits on: 5 of its 6 words (active, editor, changes, text, editors) are already in \u0060this.disposables.push(\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":"extension/src/workspace/DefinitionFileEditorDecorator.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"80938b3983b14521581bfb2daaf6ae3023bb6a13fcb8923111415dbf41d79ba3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Listen for active notebook editor changes\u0022 repeats the code it sits on: 4 of its 5 words (active, notebook, editor, changes) are already in \u0060this.disposables.push(\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":"extension/src/workspace/DefinitionFileEditorDecorator.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd475e8d96a4d8414052ce2c6365509b160cb6c818ee0a549574a77e67fe563"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update status bar for currently active editor\u0022 repeats the code it sits on: 5 of its 6 words (update, status, bar, active, editor) are already in \u0060this.updateStatusBar(vscode.window.activeTextEditor);\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":"extension/src/workspace/DefinitionFileEditorDecorator.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5bffbe5b14c89237e81826b312307c797bdd969b64e9b212df03fd568a7e6f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if editing is enabled\u0022 repeats the code it sits on: 3 of its 3 words (check, editing, enabled) are already in \u0060if (!this.featureConfiguration.isEditItemDefinitionsEnabled())\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":"extension/src/workspace/DefinitionFileSystemProvider.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"781afa46729b5dea4d43da1af13601e003f811448bdca621b2c272f4147ffae3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Encode the new content as base64\u0022 repeats the code it sits on: 4 of its 5 words (encode, content, base, 64) are already in \u0060const base64Content = this.base64Encoder.encode(content);\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":"extension/src/workspace/DefinitionFileSystemProvider.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed38f9ba91beed9e77a2f3a7598530a6cb60f3ac6a445ceac4cb6aaad47c80ec"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get currently visible workspace IDs\u0022 repeats the code it sits on: 4 of its 5 words (get, currently, visible, workspace) are already in \u0060const currentlyVisible = this.getVisibleWorkspaceIds();\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":"extension/src/workspace/WorkspaceFilterManager.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb34fa05493fd21bdb9c69a8bb0273c2c308016eb10e3ad894a1a6c964a08bb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the item definition from the artifact manager\u0022 repeats the code it sits on: 4 of its 5 words (get, definition, artifact, manager) are already in \u0060const response = await this.artifactManager.getArtifactDefinition(artifact);\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":"extension/src/workspace/treeNodes/childNodeProviders/DefinitionFilesChildNodeProvider.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11a5c287d7542da16ec0fe6fb825c3a7a71acbda5157d5413b2fbc774880c4d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Register the file in the file system provider and get the editable URI\u0022 repeats the code it sits on: 6 of its 7 words (register, file, system, provider, editable, uri) are already in \u0060const editableUri = this.fileSystemProvider.registerFile(\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":"extension/src/workspace/treeNodes/childNodeProviders/DefinitionFilesChildNodeProvider.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0f3700e815e9e424fd555cabc60cc6e0c778b0567115b8e3112b925899b72f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a readonly URI for the same file\u0022 repeats the code it sits on: 4 of its 4 words (create, readonly, uri, file) are already in \u0060const readonlyUri = ReadonlyDefinitionFileSystemProvider.createUri(\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":"extension/src/workspace/treeNodes/childNodeProviders/DefinitionFilesChildNodeProvider.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9323a9a79eb08a63da60e396c8b32cbb5ae66aec977d427da809aa94c20741f2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create new folder node\u0022 repeats the code it sits on: 4 of its 4 words (create, new, folder, node) are already in \u0060folder = new DefinitionFolderTreeNode(\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":"extension/src/workspace/treeNodes/childNodeProviders/DefinitionFilesChildNodeProvider.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1ccaf8a5bb9861bdd974fe43cb80864979f1a423241c80d063753b02393bbd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get FakeFabricApiClient from test hooks\u0022 repeats the code it sits on: 6 of its 7 words (fake, fabric, api, client, test, hooks) are already in \u0060const fakeFabricApiClient = core.testHooks[\u0027fakeFabricApiClient\u0027] as FakeFabricApiClient;\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":"extension/test/integration/WorkspaceArtifactManagement.integration.test.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5e1bbf10eba8c0934a903d76d25d5bc65b3940a4d2506e374b82f10d0772a0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Force tree view refresh after update\u0022 repeats the code it sits on: 4 of its 5 words (tree, view, refresh, update) are already in \u0060console.log(\u0027Triggering tree view refresh after update...\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":"extension/test/integration/WorkspaceArtifactManagement.integration.test.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4085dc65e37a62e75cd44fb5e60b71a9e2e8b30247f713c09eb905d64619e6c9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Force tree view refresh after deletion\u0022 repeats the code it sits on: 4 of its 5 words (tree, view, refresh, deletion) are already in \u0060console.log(\u0027Triggering tree view refresh after deletion...\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":"extension/test/integration/WorkspaceArtifactManagement.integration.test.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb268930ec80678d02b77f8b779922912171fcc5bfdce4c1c0fba9a9b1239fcb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock IArtifactHandler\u0022 repeats the code it sits on: 3 of its 3 words (mock, artifact, handler) are already in \u0060const artifactHandlerMock: IArtifactHandler = {\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":"extension/test/unit/artifactManager/ArtifactManager.unit.test.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c441c833d13e2a5c640731011501be05a9a9c0cb1c1680bb266da358f3d0f3ab"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup artifactHandlers to return the handler for \u0027Notebook\u0027\u0022 repeats the code it sits on: 6 of its 6 words (setup, artifact, handlers, return, handler, notebook) are already in \u0060artifactHandlersMock.setup(x =\u003E x.get(\u0027Notebook\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":"extension/test/unit/artifactManager/ArtifactManager.unit.test.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d01b8150c6a8f10f30e11a8103ff567c16df2c7d648566307e7a1d25f49788"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify that the API client was called with the modified request options\u0022 repeats the code it sits on: 6 of its 7 words (verify, api, client, called, request, options) are already in \u0060apiClientMock.verify(x =\u003E x.sendRequest(It.Is\u003CIApiClientRequestOptions\u003E(opts =\u003E\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":"extension/test/unit/artifactManager/ArtifactManager.unit.test.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe55a74f0da97877e0de0299fd6822355123bb2341efe0fb3deb03827f1e8c97"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock ICreateArtifactWorkflow and its showCreate method\u0022 repeats the code it sits on: 5 of its 6 words (mock, create, artifact, workflow, show) are already in \u0060const createArtifactWorkflowMock = new Mock\u003C{ showCreate: (artifact: IArtifact) =\u003E Promise\u003Cany\u003E }\u003E();\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":"extension/test/unit/artifactManager/createArtifactCommand.unit.test.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"55645367579b6f23e60e04aec034677b7d01a8a5ce25f2d73453793789731905"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup extensionManager to return the mock workflow for the Notebook type\u0022 repeats the code it sits on: 7 of its 8 words (setup, extension, manager, return, mock, workflow, notebook) are already in \u0060extensionManagerMock\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":"extension/test/unit/artifactManager/createArtifactCommand.unit.test.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7610948e71de31f63945a1a8ced922fc9bf647ae61e6cfc94500082d76791a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock ICreateArtifactWorkflow and its showCreate method\u0022 repeats the code it sits on: 5 of its 6 words (mock, create, artifact, workflow, show) are already in \u0060const createArtifactWorkflowMock = new Mock\u003C{ showCreate: (artifact: IArtifact) =\u003E Promise\u003Cany\u003E }\u003E();\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":"extension/test/unit/artifactManager/createArtifactCommand.unit.test.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee1cc13b7f7370c7a9a01d9171cbcf8f26be18b79c3cccd93dca0f3fa25a16a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup extensionManager to return the mock workflow for the Notebook type\u0022 repeats the code it sits on: 7 of its 8 words (setup, extension, manager, return, mock, workflow, notebook) are already in \u0060extensionManagerMock\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":"extension/test/unit/artifactManager/createArtifactCommand.unit.test.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a751c1eafaedae61bedd0001189b6a6c1e1ad4e49d6d4f645e101e78f435baab"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Assert Verify that selectArtifact was called\u0022 repeats the code it sits on: 4 of its 5 words (verify, select, artifact, called) are already in \u0060artifactManagerMock.verify(\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":"extension/test/unit/artifactManager/readArtifactCommand.unit.test.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69049a804dd1ed5a0363a09d2f57541f8cd4ff87f5f8fb84532287aa75c12e5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set up mock event emitters\u0022 repeats the code it sits on: 4 of its 4 words (set, mock, event, emitters) are already in \u0060mockSuccessfulSignInEmitter = new MockEventEmitter\u003Cvoid\u003E();\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":"extension/test/unit/authentication/AccountProvider.unit.test.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a287faf965a95fc4956a96998a87cd460ba6e3761c2229a47a82888c43f3ed4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create stubs for vscode.EventEmitter\u0022 repeats the code it sits on: 4 of its 5 words (stubs, vscode, event, emitter) are already in \u0060sinon.stub(vscode, \u0027EventEmitter\u0027).callsFake(() =\u003E\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":"extension/test/unit/authentication/AccountProvider.unit.test.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb3555ae2cb427092400478526688c59e5162a338bcd7f8e2e5a4208d8235bf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify that getSessionInfo was called exactly once with the test tenant\u0022 repeats the code it sits on: 8 of its 9 words (verify, get, session, info, called, once, test, tenant) are already in \u0060tokenServiceMock.verify(instance =\u003E instance.getSessionInfo(\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":"extension/test/unit/authentication/AccountProvider.unit.test.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d863f222d2fba549daa208962ba420b8c183a30564003a7c4058af4572ab301"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Assert Verify that EventEmitter.dispose was called for both emitters\u0022 repeats the code it sits on: 6 of its 7 words (assert, event, emitter, dispose, called, emitters) are already in \u0060assert.strictEqual(disposeSpy.callCount, 3, \u0027Should dispose both event emitters\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":"extension/test/unit/authentication/AccountProvider.unit.test.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd61759fce1e7e54ce6dff4c093d1f76c41dcaaac03d0c0fcad2df1be7ce69f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup logger mock\u0022 repeats the code it sits on: 3 of its 3 words (setup, logger, mock) are already in \u0060loggerMock.setup(x =\u003E x.error(It.IsAny())).returns(undefined);\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":"extension/test/unit/commands/EditItemDefinitionCommand.unit.test.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af63c9233ef0e43f370b9c4355e6b3627afe570d9b8f6d0c3a30eaa01a173af"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup command manager mock\u0022 repeats the code it sits on: 4 of its 4 words (setup, command, manager, mock) are already in \u0060commandManagerMock.setup(x =\u003E x.logger).returns(loggerMock.object());\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":"extension/test/unit/commands/EditItemDefinitionCommand.unit.test.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fefcf3b0150ccba88a8d62baf64bf464619eeca4d9f1395d226863010c4ff0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup telemetry service mock\u0022 repeats the code it sits on: 4 of its 4 words (setup, telemetry, service, mock) are already in \u0060telemetryServiceMock.setup(x =\u003E x.sendTelemetryEvent(It.IsAny(), It.IsAny(), It.IsAny()))\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":"extension/test/unit/commands/EditItemDefinitionCommand.unit.test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6ba8f5c20dabfcc60cc351c33dcc71407348cc7d4ac951d0f6c29cd534045b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup logger mock\u0022 repeats the code it sits on: 3 of its 3 words (setup, logger, mock) are already in \u0060loggerMock.setup(x =\u003E x.error(It.IsAny())).returns(undefined);\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":"extension/test/unit/folders/CreateFolderCommand.unit.test.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b3b8ad7b19cc087622e069cb7ff73f4130e86c4eb317d7921402a14128b6c9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup command manager mock\u0022 repeats the code it sits on: 4 of its 4 words (setup, command, manager, mock) are already in \u0060commandManagerMock.setup(x =\u003E x.logger).returns(loggerMock.object());\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":"extension/test/unit/folders/CreateFolderCommand.unit.test.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"488448d0c931d6e0c8770777f0f7fe8eeaaad2df994e6181a6ac1543340247d5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup workspace manager mock - default to connected\u0022 repeats the code it sits on: 5 of its 6 words (setup, workspace, manager, mock, connected) are already in \u0060workspaceManagerMock.setup(x =\u003E x.isConnected()).returnsAsync(true);\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":"extension/test/unit/folders/CreateFolderCommand.unit.test.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7931155a760c879786d07719221535f3253eca9807aad227c2d39548010e39ba"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup data provider mock\u0022 repeats the code it sits on: 4 of its 4 words (setup, data, provider, mock) are already in \u0060dataProviderMock.setup(x =\u003E x.refresh()).returns(undefined);\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":"extension/test/unit/folders/CreateFolderCommand.unit.test.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b0e97afa5047b38501b90f02a4606060482b4016d77caaad5d163ecc127cca"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup logger mock\u0022 repeats the code it sits on: 3 of its 3 words (setup, logger, mock) are already in \u0060loggerMock.setup(x =\u003E x.error(It.IsAny())).returns(undefined);\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":"extension/test/unit/folders/DeleteFolderCommand.unit.test.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"648b7f2292bb169d5da882f2434f21fb7bc0a18bc29a59dfb0db9deb445c73ba"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup command manager mock\u0022 repeats the code it sits on: 4 of its 4 words (setup, command, manager, mock) are already in \u0060commandManagerMock.setup(x =\u003E x.logger).returns(loggerMock.object());\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":"extension/test/unit/folders/DeleteFolderCommand.unit.test.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e6435e284fb8a47ef80109d06ea65ee298e2d02c0764bef629af38675c2525"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup data provider mock\u0022 repeats the code it sits on: 4 of its 4 words (setup, data, provider, mock) are already in \u0060dataProviderMock.setup(x =\u003E x.refresh()).returns(undefined);\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":"extension/test/unit/folders/DeleteFolderCommand.unit.test.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba00ece6d262ea2da05702d631711cceed69923cbb6783e9dd3cbd1a50b7fca"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup logger mock\u0022 repeats the code it sits on: 3 of its 3 words (setup, logger, mock) are already in \u0060loggerMock.setup(x =\u003E x.error(It.IsAny())).returns(undefined);\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":"extension/test/unit/folders/RenameFolderCommand.unit.test.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7049457a91209a4434e68df804b2034e651373c39d2edb4efaa720095f4461f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup command manager mock\u0022 repeats the code it sits on: 4 of its 4 words (setup, command, manager, mock) are already in \u0060commandManagerMock.setup(x =\u003E x.logger).returns(loggerMock.object());\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":"extension/test/unit/folders/RenameFolderCommand.unit.test.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce4db5a9ef5c7a1a4daa12b1bd8c787ff981bce81919a93b9be1a357706f1e2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup data provider mock\u0022 repeats the code it sits on: 4 of its 4 words (setup, data, provider, mock) are already in \u0060dataProviderMock.setup(x =\u003E x.refresh()).returns(undefined);\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":"extension/test/unit/folders/RenameFolderCommand.unit.test.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc9758925c970025d455f469ca4316cffa65c6a2ae30defd93eb390b3b38ee7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create an extension manager with allowed extensions\u0022 repeats the code it sits on: 4 of its 5 words (create, extension, manager, extensions) are already in \u0060const manager = createFabricExtensionManager();\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":"extension/test/unit/general/FabricExtensionManager.unit.test.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7dccb2b540a5aadd61b62e570dfb39ee1d9bf4723b375287706f50fe3ca1bd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Validate getWorkspaceIdForLocalFolder\u0022 repeats the code it sits on: 5 of its 6 words (get, workspace, id, local, folder) are already in \u0060const workspaceId = manager.getWorkspaceIdForLocalFolder(workspacePath);\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":"extension/test/unit/general/LocalFolderManager.unit.test.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ded5c9151e578a773fa85114bdd8ff8558ce81570849494e707375c7bc0a9d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Validate getWorkspaceIdForLocalFolder\u0022 repeats the code it sits on: 5 of its 6 words (get, workspace, id, local, folder) are already in \u0060const workspaceId = manager.getWorkspaceIdForLocalFolder(workspacePath);\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":"extension/test/unit/general/LocalFolderManager.unit.test.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68c93bc38299f8abb34db793ce1ef805045f127d7615190bf7d1b2c158f7c8a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Validate getWorkspaceIdForLocalFolder\u0022 repeats the code it sits on: 5 of its 6 words (get, workspace, id, local, folder) are already in \u0060const workspaceId = manager.getWorkspaceIdForLocalFolder(workspacePath!);\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":"extension/test/unit/general/LocalFolderManager.unit.test.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d124b5b9fa92f5cb84bba6933402e303646b2d60d97a17157a620a0ec3df558e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup databaseTreeNode.artifact\u0022 repeats the code it sits on: 5 of its 5 words (setup, database, tree, node, artifact) are already in \u0060databaseTreeNodeMock.setup(x =\u003E x.artifact).returns({\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":"extension/test/unit/internalSatellites/database/copyConnectionString.unit.test.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6af362b4c31c7d959daf69db2f7b7f24348f0080572351f5fd7c6d4bfbad2a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup getConnectionString\u0022 repeats the code it sits on: 4 of its 4 words (setup, get, connection, string) are already in \u0060databaseTreeNodeMock.setup(x =\u003E x.getConnectionString(It.IsAny())).returns(Promise.resolve(\u0027Server=foo;Database=bar;\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":"extension/test/unit/internalSatellites/database/copyConnectionString.unit.test.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3e4c8e7dbd26a762c1d1794dbc8ebca0b14d28854c2529638fdd2401c1f8ce"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stub TelemetryEvent\u0022 repeats the code it sits on: 3 of its 3 words (stub, telemetry, event) are already in \u0060eventSendStub = sandbox.stub(TelemetryEvent.prototype, \u0027sendTelemetry\u0027).callsFake(() =\u003E\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":"extension/test/unit/internalSatellites/database/copyConnectionString.unit.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"999e29f41a2b301cb1c4f3e796cb91c9b96fe83d88db1598bcf6bf93a62c5069"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup databaseTreeNode.artifact\u0022 repeats the code it sits on: 5 of its 5 words (setup, database, tree, node, artifact) are already in \u0060databaseTreeNodeMock.setup(x =\u003E x.artifact).returns({\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":"extension/test/unit/internalSatellites/database/openSqlExtension.unit.test.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"248820ee43192c11d2575295dc112a27eeec1ea552c4db102219773d25f29ff7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup getExternalUri\u0022 repeats the code it sits on: 4 of its 4 words (setup, get, external, uri) are already in \u0060databaseTreeNodeMock.setup(x =\u003E x.getExternalUri(It.IsAny())).returns(Promise.resolve(\u0027https://external.uri\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":"extension/test/unit/internalSatellites/database/openSqlExtension.unit.test.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbf133014bd4ab38ef7284531973764c7ebf1e9112a36c3461f5e73fa2ad92c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stub openExternal\u0022 repeats the code it sits on: 3 of its 3 words (stub, open, external) are already in \u0060openExternalStub = sandbox.stub(vscode.env, \u0027openExternal\u0027).resolves(true);\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":"extension/test/unit/internalSatellites/database/openSqlExtension.unit.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d30fcc9f5dda1b3ddaaf15bafe5cec50d45f26186cad3308ab0f4f4f67e911b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stub TelemetryEvent\u0022 repeats the code it sits on: 3 of its 3 words (stub, telemetry, event) are already in \u0060eventSendStub = sandbox.stub(TelemetryEvent.prototype, \u0027sendTelemetry\u0027).callsFake(() =\u003E\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":"extension/test/unit/internalSatellites/database/openSqlExtension.unit.test.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d221e50e5edd7b75cdcf42ceb24b462b8d7e689a57aca4752d9ca5295c012c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup treeNode.artifact\u0022 repeats the code it sits on: 4 of its 4 words (setup, tree, node, artifact) are already in \u0060treeNodeMock.setup(x =\u003E x.artifact).returns({\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":"extension/test/unit/internalSatellites/notebook/openNotebookInSynapse.unit.test.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32347ceacdd3394354d568b0d84674f99eb04c84929eb77f09037ea9bedd608"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup getExternalUri\u0022 repeats the code it sits on: 4 of its 4 words (setup, get, external, uri) are already in \u0060treeNodeMock.setup(x =\u003E x.getExternalUri()).returns(Promise.resolve(\u0027https://synapse.uri\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":"extension/test/unit/internalSatellites/notebook/openNotebookInSynapse.unit.test.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44456ee02b16ee3aee91a29e6cc8611d6f901ff5f1505707c141a16928a42c1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stub openExternal\u0022 repeats the code it sits on: 3 of its 3 words (stub, open, external) are already in \u0060openExternalStub = sandbox.stub(vscode.env, \u0027openExternal\u0027).resolves(true);\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":"extension/test/unit/internalSatellites/notebook/openNotebookInSynapse.unit.test.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8faf360e7b35a85c0e55c26a8895dad0fb71c3d7e56b706794e6352092a4ead"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stub TelemetryEvent\u0022 repeats the code it sits on: 3 of its 3 words (stub, telemetry, event) are already in \u0060eventSendStub = sandbox.stub(TelemetryEvent.prototype, \u0027sendTelemetry\u0027).callsFake(() =\u003E\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":"extension/test/unit/internalSatellites/notebook/openNotebookInSynapse.unit.test.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccd0da20a999226d5c02be9e3d71550c4182b1f72f6460f061df9aefc0c9291"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup mock file system\u0022 repeats the code it sits on: 4 of its 4 words (setup, mock, file, system) are already in \u0060fileSystemMock\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":"extension/test/unit/internalSatellites/semanticModel/SemanticModelArtifactHandler.unit.test.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2033f756f9a03c8b42b54de6574fdb64dd17fb6a6c81a22d1e0ce288b56af6c3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stub createFileSystemWatcher to return a dummy watcher\u0022 repeats the code it sits on: 6 of its 7 words (stub, create, file, system, watcher, return) are already in \u0060sandbox.stub(vscode.workspace, \u0027createFileSystemWatcher\u0027).returns({\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":"extension/test/unit/localProject/WorkspaceFolderProvider.unit.test.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7caa1d780910d42245b4f33394da43273f0b3848c840b863d85024f7df9ff89"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the registration for the command\u0022 repeats the code it sits on: 3 of its 3 words (find, registration, command) are already in \u0060const commandRegistration = registerCommandStub.getCalls().find(call =\u003E\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":"extension/test/unit/localProject/commands.unit.test.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd49c8037ec2135cd842c5b64e896239aa3a80e6e39143717a2782f2e11c86a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stub showSelectWorkspaceQuickPick\u0022 repeats the code it sits on: 5 of its 6 words (stub, show, workspace, quick, pick) are already in \u0060showWorkspaceQuickPickStub = sinon.stub(quickPick, \u0027showWorkspaceQuickPick\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":"extension/test/unit/localProject/importArtifactCommand.unit.test.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6b811de7b8554ab807c591991a6bea806f8e4c0f2e6df2ea74c2ce1e34b7ff"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify workspace filters were loaded correctly\u0022 repeats the code it sits on: 4 of its 5 words (workspace, filters, loaded, correctly) are already in \u0060assert.deepEqual(storage.settings.workspaceFilters, testWorkspaceFilters, \u0027Workspace filters should be loaded correctly\u0027 \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":"extension/test/unit/settings/FabricExtensionsSettingStorage.unit.test.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"09eb09e2be328ebcb8f676ac972417e3f6289f8a084247f748e572460cef01ce"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup telemetry activity mock to allow addOrUpdateProperties calls\u0022 repeats the code it sits on: 8 of its 9 words (setup, telemetry, activity, mock, add, update, properties, calls) are already in \u0060mockTelemetryActivity.setup(instance =\u003E instance.addOrUpdateProperties(It.IsAny())).returns();\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":"extension/test/unit/tenant/switchTenantCommand.unit.test.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2876d4172589bf746f0f7ea99c9f56cda3d5accd12931b8204f9d81d6aab68"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the item with label matching base capacity display name and return that\u0022 repeats the code it sits on: 8 of its 9 words (find, item, label, base, capacity, display, name, return) are already in \u0060const selectedItem = items.find(item =\u003E item.label === baseCapacity.displayName);\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":"extension/test/unit/ui/showCreateWorkspaceWizard.unit.test.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f90555515e2db0eab079f4b856fdd431831c27b8ea75fa25e46519788e8ea71"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Capture the callback for onDidChangeActiveTextEditor\u0022 repeats the code it sits on: 5 of its 6 words (callback, change, active, text, editor) are already in \u0060onDidChangeActiveTextEditorStub = sinon.stub(vscode.window, \u0027onDidChangeActiveTextEditor\u0027).callsFake((callback) =\u003E\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":"extension/test/unit/workspace/DefinitionFileEditorDecorator.unit.test.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4091cb4f8ac5098037f05f34709da85c12a47466f5ae8bfbec74c07924275d05"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock workspaces for testing\u0022 repeats the code it sits on: 3 of its 3 words (mock, workspaces, testing) are already in \u0060const mockWorkspace1: IWorkspace = {\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":"extension/test/unit/workspace/WorkspaceFilterManager.unit.test.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf17e07d5584a0c8f32fd1aef9bf80f13ad4cb3c24c3da67a682237d10c0d39"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock vscode.window.showInformationMessage\u0022 repeats the code it sits on: 5 of its 6 words (vscode, window, show, information, message) are already in \u0060const showInformationMessageStub = sinon.stub(vscode.window, \u0027showInformationMessage\u0027).resolves();\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":"extension/test/unit/workspace/WorkspaceFilterManager.unit.test.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"6557b7fce2c0aad66d5f8cefad372b3198b55a60088aba5615130cfd7a279ad5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock vscode.window.showInformationMessage\u0022 repeats the code it sits on: 5 of its 6 words (vscode, window, show, information, message) are already in \u0060const showInformationMessageStub = sinon.stub(vscode.window, \u0027showInformationMessage\u0027).resolves();\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":"extension/test/unit/workspace/WorkspaceFilterManager.unit.test.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"228b7ffb111709c0b0ac9deb17ff70e72ca056ad2c99cadc00a447d284d716bb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify that isConnected was called\u0022 repeats the code it sits on: 3 of its 3 words (verify, connected, called) are already in \u0060mockWorkspaceManager.verify(instance =\u003E instance.isConnected(), Times.Once());\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":"extension/test/unit/workspace/WorkspaceFilterManager.unit.test.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a789f6d0bc27e43c34acab19c0404754933067139593328485b241fc2f5a54"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create event emitters\u0022 repeats the code it sits on: 3 of its 3 words (create, event, emitters) are already in \u0060onSignInChangedEmitter = new vscode.EventEmitter\u003Cvoid\u003E();\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":"extension/test/unit/workspace/WorkspaceManager.unit.test.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a11159fb3bd597d9abb39a00a63cd20d303d79619a099cbe4e06ee671519ac8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup event emitter mocks\u0022 repeats the code it sits on: 4 of its 4 words (setup, event, emitter, mocks) are already in \u0060mockAccountProvider.setup(instance =\u003E instance.onSignInChanged).returns(onSignInChangedEmitter.event);\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":"extension/test/unit/workspace/WorkspaceManager.unit.test.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a40d47c5f7680ec0501f9a5cf64d8d7110d4320d762a5b7543217e5aefc6381"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set up workspace mock with objectId\u0022 repeats the code it sits on: 4 of its 5 words (workspace, mock, object, id) are already in \u0060workspaceMock.setup(instance =\u003E instance.objectId).returns(\u0027test-workspace-id\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":"extension/test/unit/workspace/treeView.unit.test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fd759c4a5de4a38b1ed5e9caa9bf01cd885a100569fbd9bcdd7a137532c10a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create service with update function in configuration\u0022 repeats the code it sits on: 4 of its 5 words (create, service, update, function) are already in \u0060const service = new TelemetryService(\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":"util/test/unit/telemetry/TelemetryService.unit.test.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c98bc1513c986e670a7bd4de7acd857568cbbefa60d88db16d8477cfbb512c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Send error telemetry with context\u0022 repeats the code it sits on: 4 of its 4 words (send, error, telemetry, context) are already in \u0060service.sendTelemetryErrorEvent(err, { context: \u0027test-context\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":"util/test/unit/telemetry/TelemetryService.unit.test.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e42fba2e2970fe1a14e86796c5ce6397bc0f4dc8527515807d3accb7b7e71b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Send error telemetry with string message\u0022 repeats the code it sits on: 5 of its 5 words (send, error, telemetry, string, message) are already in \u0060service.sendTelemetryErrorEvent(\u0027String error message\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":"util/test/unit/telemetry/TelemetryService.unit.test.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc9533292409081f0e06c4320c216ae3f59b221dbac446c9da01ff1d9cd1749"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify reporter\u0027s dispose method was called once\u0022 repeats the code it sits on: 5 of its 6 words (verify, reporter, dispose, called, once) are already in \u0060telemetryReporterMock.verify(i =\u003E i.dispose(), Times.Once());\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":"util/test/unit/telemetry/TelemetryService.unit.test.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efdbbf602def5e0305d291e188f71bfeedd0fc71d3e2af40abdc2c0121f425c"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060extension\u0060 (13495 LoC, 207 module-visible types across 29 directories) overshoots its size bounds. 1 of 3 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 3.3/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":"extension/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"275cea0239ccd332cc0bd51f7f59a2237c4d42ee04ff4fe4a407bfc1e53e2af0"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 47 % of calls cross a namespace and only 53 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"ruleId":"D28","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":"4eb0b68cff97bb1f6d1c275099d55dddfcef848fc75e529cf7d3367fa435bb85"},"properties":{"commitSha":"3fae7f8823f8ff5617302f1adf4c277b7c8a4cef"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"93a9ea4ad7d6bc4468613d51631d9b4bbda5210f6469b88b61dd2c42103f35af"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"4a83d5f1ff6c67f0c7abcb4b3d71b62e25ce69a9e11faa865ff0a7bb59cdf82f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"9e1360d2045a89d3429ab5257f14ab775aba7c379853ca89cdf75826a46a3756"},"properties":{"dependency":{"package":"@azure/msal-node","version":"5.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"7.1.0","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":"384a0892f51a77ce6e1097a5154e203805ee2ad75d30693634ca5b796c0008c6"},"properties":{"dependency":{"package":"browserslist","version":"4.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.28.7","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":"a123c7a8538ef5659aefc6b6b9bf5ef92557f2acc40c94c7874d873c9193a516"},"properties":{"dependency":{"package":"postcss","version":"8.5.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.18","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":"4961e25fb962638d10137170ceab9a06e9c26ec76d886bbd5166a82d178e986f"},"properties":{"dependency":{"package":"@opentelemetry/core","version":"2.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.8.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05de471c27400407a5d73e9fc7af4fd069b7c460ba72d7c909f1938d429ed675"},"properties":{"dependency":{"package":"@opentelemetry/core","version":"1.30.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.8.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a33873e874461f305ebbef1562116c62535b089359dc794b273321c58f26a8a8"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"separate-copy","declaredRange":"^11.1.0","reachability":{"kind":"unknown"}}}},{"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":"dbc7665a1c0369f99bfb4a582cef8e4bba7a0cd869b61882ff8b50bc9fa8e0ad"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"separate-copy","declaredRange":"^10.2.4","reachability":{"kind":"test-or-tooling","file":"package.json"}}}},{"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":"b705a2d0990e246a09a1957dac089361f4c2a89b5887e8b746352151efc7c5b7"},"properties":{"dependency":{"package":"glob","version":"11.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"direct","declaredRange":"^11.1.0","reachability":{"kind":"unknown"}}}},{"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":"f0c948b43c4f76e73b478baed965c7cc4dc4459eeb4af6626f3cf347cdc3236c"},"properties":{"dependency":{"package":"minimatch","version":"10.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"direct","declaredRange":"^10.2.4","reachability":{"kind":"test-or-tooling","file":"package.json"}}}},{"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":"6bd9b36cc4cbae323c50b31c7cf3caebb6f86872e3f6a1fbcb3db80ef9ba2a84"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"separate-copy","declaredRange":"^11.1.0","reachability":{"kind":"unknown"}}}},{"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":"b2c2f7815bc2e3dc5c624dff5f3eb708691c4121a9eb5e23a9fac3c97c7d6a20"},"properties":{"dependency":{"package":"diff","version":"7.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"8.0.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72184faccb7de6624805e93fee49208d11f474b184536ab6e002ee0e3a3c1b0c"},"properties":{"dependency":{"package":"serialize-javascript","version":"7.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"low","fixedVersion":"7.1.3","relation":"direct","declaredRange":"\u003E=7.0.3","reachability":{"kind":"unknown"}}}},{"ruleId":"D31","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":"3b1568673c97a5ce9b1ec5a08dba083d705b7ca92047378b6f33333438b27491"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 6 of 101 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 101 of the 178 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: extension/src/commands/FabricCommandManager.ts, extension/src/commands/FabricCommand.ts, extension/src/commands/folders/CreateFolderCommand.ts, extension/src/ExtensionUriHandler.ts, extension/src/commands/folders/DeleteFolderCommand.ts, extension/src/commands/folders/RenameFolderCommand.ts. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/commands/FabricCommandManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8ebf37153db0492511640379d2fd25547567f7e6455976db6dac2c787a873e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/commands/FabricCommand.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6336e9eb1f205c572ae4c635593b5b342a899f66a7876c823d132e57d19ba39"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/commands/folders/CreateFolderCommand.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1b46d9510662ffa74832f8db19cf057f5e36c9eda0b1a4f3f20877e4ecb802"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/ExtensionUriHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"061d2313e7421c0f5e25b4c57bbb48f4395ddb9b99e39acc48f117e75f0d4155"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/commands/folders/DeleteFolderCommand.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe642e15b4114a62f62a8cac11a290d1f9822b55e51bac9e1d47b4f9f6ea5067"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/commands/folders/RenameFolderCommand.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"311df9c522266f93312e8178a20280fc2803b5e4185a30faa9c4805542f44393"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 error: A shipped function\u0027s whole body still throws a \u0022not implemented\u0022 error \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/authentication/FakeTokenAcquisitionService.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ede3422bb0330e79549f9d419139289a15bbb1f3c9976849f28d6eac861676"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060getArmAccessToken\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/authentication/FakeTokenAcquisitionService.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"78af80ee4b6a934c3fcd8642032c2a65b85dec130cb6ac6ea2534a872e8e0263"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060deactivate\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/extension.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc92afb1324ad891c513204dad1f4ab232925f66757a382d1439a1a5e4f0d458"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060showLocalFolderQuickPick\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/ui/showLocalFolderQuickPick.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1c5a8926f186083f086d667b6a30809805b2e998b006f264329f9738ad1035"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060deactivate\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/web/extension.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7955b9875b77ab057df156c74c0de6a528b3978d8606e00f8e3008f35d9afc"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/FabricApiClient.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9a572d146fa58a21782ec546c67ecae2d61a425f513b9e6725722e4d523d0d"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 9 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"da14c5e8fb421b8614b797a2517de829b3c94f3b85263a50e3283dfd26519afe"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060normalCallback\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/fabric/MockApiClient.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a3098621f694f47b891ac70fd47fb1c93c3b77c13b9796d8f408b2246f0770"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (11 clone groups): 11 of the duplicated blocks reported below have copies in at least two of the sibling directories artifactManager, commands, internalSatellites, itemDefinition, localProject, tenant (\u002B1 more sibling(s) not listed) under extension/src/. That concentration is one structural fact, not 11 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 11 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":"extension/src/artifactManager/commands.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6e508794fb3245b9c7238692ea2fc4084475711af4106705fe86dcffa84a7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (79 matched lines \u00D7 2 locations): extension/src/extension.ts:101 \u00B7 extension/src/web/extension.ts:88 \u2014 the two spans are one implementation copied and then locally edited \u2014 549 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":"extension/src/extension.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aea234fd2d892bca23f156467d1f02fc537ab397f32c08eaedc0f4e98944c65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (58 matched lines \u00D7 2 locations): extension/src/artifactManager/ArtifactManager.ts:188 \u00B7 extension/src/artifactManager/ArtifactManager.ts:352 \u2014 the two spans are one implementation copied and then locally edited \u2014 310 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":"extension/src/artifactManager/ArtifactManager.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec77d47518b53177ce2a5fbd2d4d621786f61c90ab68b45072a7fea92c86eb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): extension/src/workspace/treeNodes/RootTreeNode.ts:18 \u00B7 extension/src/workspace/treeNodes/TenantTreeNode.ts:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 172 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":"extension/src/workspace/treeNodes/RootTreeNode.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d0a73a0b630a97e54cf2f4d06527833d072a4bab308c36317a98cdf03d73c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): extension/src/extension.ts:582 \u00B7 extension/src/web/extension.ts:383 \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":"extension/src/extension.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"caba08f44690c7cc358ca68f51389ee720dae7307d3dab81e4c669acbbb69310"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): extension/src/commands/folders/CreateFolderCommand.ts:64 \u00B7 extension/src/commands/folders/RenameFolderCommand.ts:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 216 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":"extension/src/commands/folders/CreateFolderCommand.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eba8b45bb6444a2bbab252847c6f21a8bb8e4c42ad49f929e23ea9b2485b1bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): extension/src/extension.ts:343 \u00B7 extension/src/web/extension.ts:285 \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":"extension/src/extension.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1127f07081f12481451ced23d190468e363df7041cafd96f99306dd6aab0461"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): extension/src/extension.ts:255 \u00B7 extension/src/web/extension.ts:228 \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":"extension/src/extension.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbee01647eb1f9bba8c1dc7736059d9146a4238c1a7212dc96504dd04cc0be8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): extension/webpack.config.js:28 \u00B7 extension/webpack.config.js:83 \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":"extension/webpack.config.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c91f22c6858741273cd058cc5fbd41c415324c2bacaa96ba8b577edcfdb113b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): extension/src/extension.ts:437 \u00B7 extension/src/web/extension.ts:338 \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":"extension/src/extension.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"78312a8d892f895c04863796d2f8b9f36d13382c23281a94c68d255f2a74dd89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): extension/src/internalSatellites/database/SqlDatabaseTreeNode.ts:10 \u00B7 extension/src/internalSatellites/database/WarehouseTreeNode.ts:6 \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":"extension/src/internalSatellites/database/SqlDatabaseTreeNode.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4960fb805c5757e0935f8d36e1a1a733f67ddf6a5734adfb75fd08a57539129b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): extension/src/artifactManager/commands.export.ts:49 \u00B7 extension/src/artifactManager/commands.export.ts:150 \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":"extension/src/artifactManager/commands.export.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9348765d492cdb4c6673c77dd4f957fcd65c3287e7c54dd3a2dffdfe62de9a25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): extension/src/extension.ts:310 \u00B7 extension/src/web/extension.ts:257 \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":"extension/src/extension.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d981b604ca3e217376fe819d8aded073439714ba5a372698172e30fbeaafd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): extension/src/internalSatellites/database/SqlDatabaseTreeNode.ts:6 \u00B7 extension/src/internalSatellites/database/SqlEndpointTreeNode.ts:5 \u00B7 extension/src/internalSatellites/database/WarehouseTreeNode.ts: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":"extension/src/internalSatellites/database/SqlDatabaseTreeNode.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"84972f6d656188c8349346034e680e6c8a2793fb0d6227a4f59b02adb7f7f919"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): extension/src/commands/folders/DeleteFolderCommand.ts:17 \u00B7 extension/src/commands/folders/RenameFolderCommand.ts: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":"extension/src/commands/folders/DeleteFolderCommand.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d804c9d0d52e5c2c8e2317a8be4e326c6fb8457e31286506a6066db21594cdf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): extension/src/extensionManager/FabricExtensionManager.ts:118 \u00B7 extension/src/extensionManager/MockFabricExtensionManager.ts:103 \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":"extension/src/extensionManager/FabricExtensionManager.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a6a6a2eec960b9a057851de1b28b5fb38c4682ee38eae751eec7fc4885678c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): extension/src/internalSatellites/database/copyConnectionString.ts:15 \u00B7 extension/src/internalSatellites/database/openSqlExtension.ts:15 \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":"extension/src/internalSatellites/database/copyConnectionString.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f604e672ff456ca1856ed5a0b67b8fb58414991f115e4586a7d6b08db18bcc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): extension/src/workspace/treeNodes/ListViewWorkspaceTreeNode.ts:24 \u00B7 extension/src/workspace/treeNodes/TreeViewWorkspaceTreeNode.ts:18 \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":"extension/src/workspace/treeNodes/ListViewWorkspaceTreeNode.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a06635c61ee5c5e9b52a3e77e9f0b43a31ad9615bdf62e0e86169c31e249e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): extension/src/artifactManager/commands.ts:133 \u00B7 extension/src/artifactManager/commands.ts:242 \u00B7 extension/src/artifactManager/commands.ts:270 \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":"extension/src/artifactManager/commands.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0bef1cf457f472bc5de32d0764af65be359e718a337e8653850f2a78178b48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): extension/src/artifactManager/commands.ts:320 \u00B7 extension/src/localProject/commands.ts:113 \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":"extension/src/artifactManager/commands.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"76be5af634fab9512d2520754a15ca1da7a1dcc84ad560b514d3674919972980"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): extension/src/commands/FabricCommand.ts:48 \u00B7 util/src/FabricError.ts:243 \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":"extension/src/commands/FabricCommand.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9582d50cd5c568f173dc495190981f66a344b53bb9e77f925fc01c22964fcf88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): extension/src/localProject/LocalProjectTreeDataProvider.ts:33 \u00B7 extension/src/workspace/treeView.ts:88 \u2014 the two spans are one implementation copied and then locally edited \u2014 155 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":"extension/src/localProject/LocalProjectTreeDataProvider.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe5d641625eb92c91f2e07a8fc5efadf3c5656c8037de7a698b8e0eac2a9aa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): util/src/VSCodeUIBypass.ts:156 \u00B7 util/src/VSCodeUIBypass.ts:201 \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":"util/src/VSCodeUIBypass.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"20711d12b2869a1b134a5b553e2d56b16e9c379306ed9e6533782faa9fd9ac94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): extension/src/artifactManager/commands.export.ts:133 \u00B7 extension/src/artifactManager/commands.ts:320 \u00B7 extension/src/localProject/commands.ts:113 \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":"extension/src/artifactManager/commands.export.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d9f20f6cc2419cb5a5171a880adcb44c55b78e8142219cfc0685a3563e06d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): extension/src/internalSatellites/database/commands.ts:39 \u00B7 extension/src/internalSatellites/database/commands.ts:54 \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":"extension/src/internalSatellites/database/commands.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52378761841df73e20c80b9b121ca3fcbe31f440815d121ed9f5fa98677ad89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): extension/src/internalSatellites/report/ReportArtifactHandler.ts:78 \u00B7 extension/src/internalSatellites/report/ReportArtifactHandler.ts: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":"extension/src/internalSatellites/report/ReportArtifactHandler.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0788e1a18c9534ddab53329764fc4d38da6db3171e422128d9479d83f97026e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): util/src/testSupport.ts:15 \u00B7 util/src/testSupport.ts:37 \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":"util/src/testSupport.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a4305796fe67aad4b65cc273a7590b2425480724560f9725708c80e7d7c66d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): extension/src/artifactManager/changeLocalFolderCommand.ts:138 \u00B7 extension/src/artifactManager/exportArtifactCommand.ts:79 \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":"extension/src/artifactManager/changeLocalFolderCommand.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9693c75ea53a381874f2f03b39f8632905d72e73fd6d573fa28b3b3e049b77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): extension/src/extension.ts:238 \u00B7 extension/src/web/extension.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":"extension/src/extension.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d279a6da644100f1ce4d5af47736ee51984220c47e7227ccda7b265962c8d197"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): extension/src/fabric/FabricApiClient.ts:103 \u00B7 extension/src/fabric/MockApiClient.ts:81 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 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":"extension/src/fabric/FabricApiClient.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b5268b149f773412d04435f77c2c6a74bbd1bde996816472ab971b2ee50626"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): extension/src/DefaultArtifactHandler.ts:17 \u00B7 extension/src/artifactManager/readArtifactCommand.ts:25 \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":"extension/src/DefaultArtifactHandler.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"566daed694bb93a0231e59aa172a3bea4d4836ac5b6e4775f272236610c951a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): extension/src/artifactManager/deleteArtifactCommand.ts:81 \u00B7 extension/src/artifactManager/readArtifactCommand.ts:38 \u00B7 extension/src/artifactManager/renameArtifactCommand.ts:38 \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":"extension/src/artifactManager/deleteArtifactCommand.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9937d2f016a7eced08fe41713c28298daefcba62dd8fc16e71096956814f852"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): extension/src/commands/EditItemDefinitionCommand.ts:19 \u00B7 extension/src/commands/folders/RenameFolderCommand.ts:17 \u2014 the 2 copies are spread across 2 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/commands/EditItemDefinitionCommand.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebb9ca69427ca88458f0a0f835150072e7040cdef979ad3292746c9d76edb79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): extension/src/internalSatellites/notebook/NotebookArtifactHandler.ts:27 \u00B7 extension/src/internalSatellites/notebook/NotebookArtifactHandler.ts:80 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 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":"extension/src/internalSatellites/notebook/NotebookArtifactHandler.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"06acd15e0ddc927de9e1b8f76f330897220810d40e0f8f6d99502d8bf54bde4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): extension/src/workspace/treeNodes/DefinitionFolderTreeNode.ts:38 \u00B7 extension/src/workspace/treeNodes/childNodeProviders/DefinitionFilesChildNodeProvider.ts:161 \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":"extension/src/workspace/treeNodes/DefinitionFolderTreeNode.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"40587abac7ddb95856937a4ae7594604ea497886112cb6c0e3100a4614dfc411"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): util/src/settings/FabricEnvironmentProvider.ts:53 \u00B7 util/src/settings/FabricEnvironmentProvider.ts:102 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 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":"util/src/settings/FabricEnvironmentProvider.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e71bfae8d4c588171f42c7242ca83a654e5d23feab506147d566afc9266e21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): extension/src/artifactManager/renameArtifactCommand.ts:34 \u00B7 extension/src/commands/folders/RenameFolderCommand.ts:71 \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":"extension/src/artifactManager/renameArtifactCommand.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0249bc29145b314cf8d2089e2f83f04c67dc7b8e896fefbcce6d4ae6b2d43fa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): extension/src/commands/folders/CreateFolderCommand.ts:96 \u00B7 extension/src/commands/folders/RenameFolderCommand.ts:72 \u00B7 extension/src/localProject/importArtifactCommand.ts:188 \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":"extension/src/commands/folders/CreateFolderCommand.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd44ff303bf29cbd210618b2a67d22ef40adfa02803858f62ef6bb15e12be041"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): extension/src/extension.ts:565 \u00B7 extension/src/web/extension.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":"extension/src/extension.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0a2ed77e97a9a26cda8f85dcf947af4bf77cb3ca3234f4478c404cae5f5f96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): extension/src/artifactManager/ArtifactManager.ts:315 \u00B7 extension/src/artifactManager/ArtifactManager.ts:339 \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":"extension/src/artifactManager/ArtifactManager.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a861b84db63b65afa6329953b2471e084a259047a77ea46d324a7b7ddb2c3012"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): extension/src/artifactManager/localFolderCommandHelpers.ts:95 \u00B7 extension/src/artifactManager/readArtifactCommand.ts:36 \u00B7 extension/src/artifactManager/renameArtifactCommand.ts:36 \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":"extension/src/artifactManager/localFolderCommandHelpers.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee7c8095ce3c0100ec66a4e177da38dc61ad794a972098111a98f3df1d29695"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): extension/src/internalSatellites/database/commands.ts:29 \u00B7 extension/src/localProject/commands.ts:22 \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":"extension/src/internalSatellites/database/commands.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca4bec93f86ad18f89405baf7efe7f4d56af9f0c5aac1b41e0d867b1c15de63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): extension/src/internalSatellites/database/openSqlExtension.ts:24 \u00B7 extension/src/internalSatellites/notebook/openNotebookInSynapse.ts:20 \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":"extension/src/internalSatellites/database/openSqlExtension.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a75e357f1f8bf4d0464362e2b9514a6dd5a06ed72595cd82dfec6ac803e81c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): extension/src/localProject/commands.ts:22 \u00B7 extension/src/tenant/commands.ts:13 \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":"extension/src/localProject/commands.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff332818584a1d159149abe40122f9a1e761d7453398000b30f21d5123fb4d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): extension/src/workspace/DefinitionFileEditorDecorator.ts:68 \u00B7 extension/src/workspace/DefinitionFileEditorDecorator.ts:81 \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":"extension/src/workspace/DefinitionFileEditorDecorator.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95f42c6f52020e8b6d83753418b0f5591ae736ba06c484b9882a76ec6301ed4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): extension/src/workspace/DefinitionFileSystemProvider.ts:123 \u00B7 extension/src/workspace/DefinitionFileSystemProvider.ts:157 \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":"extension/src/workspace/DefinitionFileSystemProvider.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"05515b887b3fa8f0d5896d074bac9be46b57b905cab5908e55be4ec27a8766f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): extension/src/workspace/WorkspaceFilterManager.ts:115 \u00B7 extension/src/workspace/WorkspaceFilterManager.ts:158 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 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":"extension/src/workspace/WorkspaceFilterManager.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8be33021cd604c962502055263ccdd9de00b42d1b06e372e55281064597eb3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): extension/src/artifactManager/commands.export.ts:23 \u00B7 extension/src/internalSatellites/appBackend/commands.ts:9 \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":"extension/src/artifactManager/commands.export.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7313857654f877fffe516e225525ebc022f709be257b00f812e1b0f2a5995908"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): extension/src/artifactManager/commands.ts:31 \u00B7 extension/src/internalSatellites/appBackend/commands.ts:9 \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":"extension/src/artifactManager/commands.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3d4c0d13982c5e0f4ca79cead4857c72211832bd2878a3cd85f80628747427"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): extension/src/fabric/FakeFabricApiClient.ts:56 \u00B7 extension/src/fabric/FakeFabricApiClient.ts:72 \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":"extension/src/fabric/FakeFabricApiClient.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f47d588912e2ec4ae552200b409b7c4e1d9b838ecc54a195aaf6173a7e93e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): extension/src/internalSatellites/appBackend/commands.ts:9 \u00B7 extension/src/workspace/commands.ts:16 \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":"extension/src/internalSatellites/appBackend/commands.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38bc4e448665673ddf8928d4954f20819b37d4489cb8d74b0f06083ee72967d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): extension/src/workspace/WorkspaceManager.ts:464 \u00B7 extension/src/workspace/WorkspaceManager.ts:477 \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":"extension/src/workspace/WorkspaceManager.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"2686335e085d81457891bd4544c3a059867ac61b6c29f25e1bb54cd76208672a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): extension/src/authentication/FakeTokenAcquisitionService.ts:8 \u00B7 extension/src/authentication/mocks.ts:27 \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":"extension/src/authentication/FakeTokenAcquisitionService.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"24669ed87c9f0b28f0ed2c1e47b6a5beda07521777e047d8b5b3907c898525e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): extension/src/authentication/TokenAcquisitionService.ts:34 \u00B7 extension/src/authentication/TokenAcquisitionService.ts:41 \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":"extension/src/authentication/TokenAcquisitionService.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcc88a39d8811d3861d7d501ee196da28653f89e947ee39b3e15c185566dbdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): extension/src/internalSatellites/database/commands.ts:39 \u00B7 extension/src/internalSatellites/database/commands.ts:54 \u00B7 extension/src/internalSatellites/notebook/commands.ts:20 \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":"extension/src/internalSatellites/database/commands.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a17d18a72e528a8864ced9e6d9d80578fda03ab41aa7e9d9a4dabc1f16ead58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): extension/src/workspace/viewExpansionState.ts:42 \u00B7 extension/src/workspace/viewExpansionState.ts:71 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 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":"extension/src/workspace/viewExpansionState.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f7d3b2ed8703f4d6a6180818d81936d9f81c6c96821de0ec9ec80cc3e36bce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): util/src/telemetry/TelemetryService.ts:42 \u00B7 util/src/telemetry/TelemetryService.ts:75 \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":"util/src/telemetry/TelemetryService.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"311f3f5705cc28bafc9475e6429a178040435b03ee9f6367ca3bc7c77e7c6fe8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): extension/src/internalSatellites/semanticModel/SemanticModelArtifactHandler.ts:58 \u00B7 extension/src/itemDefinition/ItemDefinitionReader.ts:85 \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":"extension/src/internalSatellites/semanticModel/SemanticModelArtifactHandler.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"928ec31edbffa1cccadd1f658e2349d319c560b0d15bbd4690a530da684916d1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: api/.vscode-test.mjs:2 reaches into another package with a relative path (../extension/.vscode-test.shared.cjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/.vscode-test.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0478883517e59ff7bb816bea7c80696571b04282144430b1372c175b2080b45b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: extension/src/extensionManager/MockFabricExtensionManager.ts:8 imports extension/test/unit/general/serviceCollection.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/extensionManager/MockFabricExtensionManager.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de095e20060efddb9f5e249e8a8767f54b2b376c372d17cae0b7ab42f6d4123"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: util/.vscode-test.mjs:2 reaches into another package with a relative path (../extension/.vscode-test.shared.cjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/.vscode-test.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d9246bdeb02e0d31456ee92e6324aac89e3c3247ffe3d18b03f72aa6d2d6cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleLongRunningOperation (cyclomatic 26, cognitive 38): handleLongRunningOperation has cyclomatic complexity 26 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":"extension/src/utilities.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c56901fbb84a77cd17d093dd0468a31853725e03f0247e2e511d81a2ff3e2b"}},{"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":"extension/src/fabric/FabricApiClient.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3bee2274414591fa791c72a3eb83d225e41fa9dc54f48e674ed7ef518ceb63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 23): (anonymous) has cyclomatic complexity 23 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":"extension/test/integration/WorkspaceArtifactManagement.integration.test.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"80789dd786f0b37f0bb451f95338916abf57de5698678adac6276380cfa0d434"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showItemQuickPick (cyclomatic 19, cognitive 20): showItemQuickPick 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":"extension/src/ui/showItemQuickPick.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd4a9663cd3762a25e0a928f84e080d899df3c8782ebae2caa41d2a0753ef2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 19, cognitive 18): (top-level) has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/satelliteFabricExtension.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb4256b319b9685188b17ff2099ee34fbde7c16f2c3d14666f18af3dd602891"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLocalFolder (cyclomatic 18, cognitive 27): getLocalFolder 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":"extension/src/LocalFolderService.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d692aff8bb31dc5f3d7f6b960f08f24a5bfb4cd55680e8e0b3a8bd30d554c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalCallback (cyclomatic 18, cognitive 23): normalCallback has cyclomatic complexity 18 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":"extension/src/fabric/MockApiClient.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f86103dadc24210e92adaa4f0f1e8788ed533a14f3d3dcf4cc200634472c83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showWorkspaceQuickPick (cyclomatic 15, cognitive 22): showWorkspaceQuickPick 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":"extension/src/ui/showWorkspaceQuickPick.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"877a92ef757206d3227529b49c324f65e954a2648fd5aed13ee7c8414050162a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFoldersInWorkspace (cyclomatic 14, cognitive 19): getFoldersInWorkspace 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":"extension/src/workspace/WorkspaceManager.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"2517690b948dfa16ca41da1565b28296c4b6731be6d249565946f69e58148927"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function doFabricActionInternal (cyclomatic 12, cognitive 21): doFabricActionInternal 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":"util/src/FabricError.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c97c5b9f719c84afb815ba781167fca930f37cac046f7039c631ba12a60b7a"}},{"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":"extension/src/artifactManager/commands.export.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63fbfde8aa04a0c6d3d778d495c26ddfde12d7065251010a3a3871edf6deb74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function changeLocalFolderCommand (cyclomatic 12, cognitive 15): changeLocalFolderCommand 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":"extension/src/artifactManager/changeLocalFolderCommand.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1740305594461c21ef17c8a44489aec64a382de9ad1a79e030761e19be279d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectNotebookFormatFromDefinition (cyclomatic 12, cognitive 14): detectNotebookFormatFromDefinition 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":"extension/src/internalSatellites/notebook/NotebookArtifactHandler.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dfc94189c4b10c5e7ed2c95708b1b484b562286dc78ce9cab93224d7b12eaf"}},{"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":"extension/src/artifactManager/commands.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6e581a08a86989d927056266d1dadeb61f1a638e5b533fff1acfdb9f66bc5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setContextValue (cyclomatic 12, cognitive 11): setContextValue 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":"extension/src/workspace/treeNodes/artifactTreeNodeFactory.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"20567e9c1fd3089621b0f8376be5fbd64b2a647c30261e2b2253bb25c918d04c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTreeStructure (cyclomatic 11, cognitive 31): buildTreeStructure has cyclomatic complexity 11 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":"extension/src/workspace/treeNodes/childNodeProviders/DefinitionFilesChildNodeProvider.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7248cb1c6ffa2bad2db339b8cb5f8bbd29716b132f55914d01d8bff099ac576"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 20): (anonymous) has cyclomatic complexity 11 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":"extension/src/localProject/importArtifactCommand.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"905a54db7b16869492aba8fbbc92f9e198cb335a339a2bd171823b6cda83c42b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordExpansionChange (cyclomatic 11, cognitive 18): recordExpansionChange 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":"extension/src/workspace/viewExpansionState.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"380f701fe267299ccbcd4d2458a557e4aa248ebed10fd0426e7c8ec7462e5cac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promptMcpServerInstall (cyclomatic 11, cognitive 17): promptMcpServerInstall 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":"extension/src/extension.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3346b4c57e9f1344e46ec0967bb3c6c5b035cc977f261084ee0d993b297efa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSession (cyclomatic 11, cognitive 12): getSession 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":"extension/src/authentication/TokenAcquisitionService.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"88af6a15e2bb5548230c52e72f22a7acbca87cbd4d907a7404ad30e863d3a2aa"}},{"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":"extension/src/artifactManager/createArtifactCommand.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93f33753ada418df75e87ed94ba3eee37f50a3141b0ff611acdd7055bbceaba"}},{"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":"extension/test/integration/WorkspaceArtifactManagement.integration.test.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"00aae445f3a105fd3647997acf600d4e2455892220d3a6206c7312c28e60550a"}},{"ruleId":"R3","level":"warning","message":{"text":"extension/src/extension.ts: 571 lines of code: extension/src/extension.ts has 571 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":"extension/src/extension.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"843e841df9479749166b0dac7d67327357e95915a6edc349d10be2d8f043c4df"}},{"ruleId":"R3","level":"warning","message":{"text":"api/src/fabricExtension.ts: 531 lines of code: api/src/fabricExtension.ts has 531 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":"api/src/fabricExtension.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50651c94fc1a408934bd2f7c2111bdf902ef74bf4973b4356523d1a7d8c77dc7"}},{"ruleId":"R3","level":"warning","message":{"text":"extension/src/workspace/WorkspaceManager.ts: 508 lines of code: extension/src/workspace/WorkspaceManager.ts has 508 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":"extension/src/workspace/WorkspaceManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9303b31be46b203103c1be74327d6aacb7bf8ad4078d0b88f1657f2c32be53"}},{"ruleId":"R3","level":"warning","message":{"text":"extension/src/artifactManager/ArtifactManager.ts: 481 lines of code: extension/src/artifactManager/ArtifactManager.ts has 481 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":"extension/src/artifactManager/ArtifactManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd454c5a9e577644724efb44d06fbfe0100be817a4ec0167cd7b03a99e3d103"}},{"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":"extension/src/extension.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb2d2952397af8367adbe32316f55f9ce8d20f86c9281e821f685de9833a913"}},{"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":"extension/src/web/extension.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"119be424ae69b7698ae00562770aa524b88fbd519405a2b9858a26532ad87720"}},{"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":"extension/src/workspace/mockWorkspaceManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9853936f57b27cd86960faef467547cd63ffdcc8e974ae245a8174465fb55c"}},{"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":"extension/src/artifactManager/MockArtifactManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07adb6f951a73ae104b2a79a88ca458ed6cb2f15a8e0c4341d5a86657e0f5ab"}},{"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":"extension/src/git/GitOperator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba738d89f2aee8d15974c769bfa7319e05d5023049e04c2c7c5df7231df4f4f"}},{"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":"extension/src/workspace/commands.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced7ba405573d9f66abd8b8fe6feb58a20c34455fd86cbe1557762ddec579d41"}},{"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":"extension/src/fabric/MockApiClient.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf506d40c03293b782f13414ae0d978fe341798356952b777886107774e3d1f"}},{"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":"extension/src/commands/FabricCommandManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f912dabd235f337f46d304332713b7f6fd4398416e0295447e27b2bfdb15e3"}},{"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":"extension/src/workspace/mockTreeView.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57edc6313548273811cc5dc2247de24c55c3e3dbc2801faf907fad537e4bfd29"}},{"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":"extension/src/feedback/FeedbackTreeDataProvider.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81e35df203674ad29041b113a64dc86e1142493b921c1cb15c422335c631141"}},{"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":"extension/src/tenant/commands.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2135e7e8b757f2dd0e6d34280902c581262286ff0bc64fd715a63fcfe07ef667"}},{"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":"extension/src/shared/initFabricVirtualDocProvider.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bbf757ae3a36aa959aeb7f3a1fd993b55e44855b54b8cc081b9227111ecd73"}},{"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":"extension/src/workspace/DefinitionFileCodeLensProvider.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"726f345c4b37d8639244b38ec836c646f1edd5ec9f76d7c6dcafc5903a996f52"}},{"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":"extension/src/web/WebLocalFolderManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45edcccdeddd6ce61e83a8ddab1bdde00d7bf80b1db8c733687d79be5addd405"}},{"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":"extension/src/shared/expansionStateHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a43c3a01bf32291b7cf0dad7987c12fce2dc63a94b537b48249b286106ab04b"}},{"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":"extension/src/Lazy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53f831de37708e4ffa0bca1dfb4599258aa97d980dcf8c95b97be8b778d0e94"}},{"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":"extension/src/shared/tenantChangeHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f385cbe010f433e85baf301d3e9251101425f5d51e850b4fd5887ded454dadf"}},{"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":"extension/src/web/WebGitOperator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dbcd660e57fd68466318100890f755ad5e993aaf763688190cc9a864dffeac"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027FABRIC_API_VERSION\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/constants.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"47060b73a227f8c99f696627355918b68013b7701bf7c3c0adef1b98a7af4b8a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ClusterUrisByTenantLocation\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/fabric/FabricApiClient.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e5058b7451852b048e4fe362dc03b8987da8de8304c05ca48197df5237fa31"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MockMemento\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/workspace/mockWorkspaceManager.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d14901c8be332a85022e5f592f56dad3e52f37ce7b6163c8432254e03201ab8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027ViewIssuesQuickPickItem\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":"extension/src/feedback/FeedbackTreeDataProvider.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"611b929f355b1133148407d852cded7bc0117ab34da5e60e4488df5921afa656"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027TelemetryEventNames\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":"extension/src/internalSatellites/database/commands.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b700098ae9ec3bf078bd4e37a104f25848fa07b27c433bd574ba418df345d7ec"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027depth\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/workspace/mockTreeView.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f2486cfa2ef122c5247ba7263ef04c53fe2322d3aca2b547253414158143ca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027depth\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/workspace/mockTreeView.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41da40a5c25f5a6530de93e2f747ec693048d01b2c84145156c23190a33a859"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@azure/abort-controller\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/fabric/FabricApiClient.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b65dad5053be5fda1d1611fe46e171f729b3c3d982235051e2fa82d4b28cdf"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@azure/arm-resources-subscriptions\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/authentication/AccountProvider.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d48cb1d0ec440499f72c16b17a6dd16e02362a1f1d0bc60584c1786c41fa57"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027@azure/core-auth\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/authentication/AccountProvider.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"311aae94605512372c26c92a570329e1f3262bf27f7c551516ed37b992255d49"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@vscode/test-electron\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff099f46699e9a0986c1f62c3f66c7a9fb97604b8ce5fa67132d59fddcacd9a0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027glob\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8883a6270688cc0559a46d7a1f174f46700043490142c3896fb74933238adc"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027madge\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"de898231ae0c867b7c15f37ee0666ca9982b1b8223d3fe4f5be600d95d8d31e0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027minimatch\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1a6af0d75b66c7ecabeafa965de43d45ab4a9ecb51f67a5750105340ee3bfe"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027nerdbank-gitversioning\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a9ccd4995d72e11e5a45dd3db60842df4fa188804ebbd67671de51cdbe7db1"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027shx\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a6e19a5a5b5cffaa09cd4b24cbb14961cd11019cc0d0665543eba8f7ba7cc9"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027ts-patch\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ab773ea0baad024e4bfe43dc85c99727be53e42834809782559cb572b0182f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tsc-watch\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2670fc180886ededf9eb9c7cfca070de078cf8bf157b6af047546b0e7720911"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027web-tree-sitter\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e353394c91276117f3c14eb73a93a359cbcc3c2d1b5223878df3f78b0ee253d4"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): api/src/fabricExtension.ts \u2192 api/src/satelliteFabricExtension.ts \u2192 api/src/fabricExtension.ts (one verified cycle inside a mutually-dependent group of 3 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/fabricExtension.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c5d5a6b659686c51f4ace2ca788f8616634ff3df3dcbbde3c2eeba1cdb0629"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): extension/src/workspace/WorkspaceManager.ts \u2192 extension/src/workspace/treeView.ts \u2192 extension/src/workspace/treeNodes/RootTreeNode.ts \u2192 extension/src/workspace/WorkspaceManager.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/workspace/WorkspaceManager.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"597631373082308161f238dd334fc335d54d073c4e96d87770bb1e2901d574a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!cmdArgs || cmdArgs.length === 0 || !item\u0060 appears character-identically in 2 files \u2014 extension/src/internalSatellites/database/commands.ts, extension/src/internalSatellites/notebook/commands.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":"extension/src/internalSatellites/database/commands.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2f8d8616959dac89a5d92054f33553aa949b91577975bdc8599b3ebd7908e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 200 \u0026\u0026 response.parsedBody\u0060 appears character-identically in 2 files \u2014 extension/src/artifactManager/ArtifactManager.ts, extension/src/workspace/WorkspaceManager.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":"extension/src/artifactManager/ArtifactManager.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66fb806723567d8b2537bd8c8eeb40901b0fb3dbcbe22dd716c90d171c84802"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060FabricEnvironmentProvider\u0060 declares a disposal member \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060onDidEnvironmentChangeEmitter\u0060 itself (line 150, \u0060new vscode.EventEmitter\u0060), which makes that instance its own. But \u0060onDidEnvironmentChangeEmitter\u0060 is named in none of the methods the disposal search covered: \u0060dispose\u0060 (line 143) \u2014 that is the disposal member plus every method it calls on \u0060this\u0060 BY NAME, so a release reached through a base class, a callback or a registry is not followed and is worth checking before acting. The field is released nowhere else in the class and is never handed to anything else, so no other owner can be releasing it. On what was read, the class\u0027s disposal releases everything except the one thing it owns. Whatever \u0060vscode.EventEmitter\u0060 holds until its own \u0060dispose()\u0060 runs \u2014 the listeners subscribed to it, a pending timer, GPU memory \u2014 outlives this instance\u0027s disposal: a subscriber that registered through it stays attached, and anything that holds the subscription keeps the whole chain reachable. Release it in the disposal member (\u0060this.onDidEnvironmentChangeEmitter.dispose()\u0060), or, if it truly does not need releasing, drop the disposal member so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/src/settings/FabricEnvironmentProvider.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f20f2cb4596993ebbaaa51c10a4fedf2c4de63e1f8410021c83abe30f00a41"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060WorkspaceManagerBase\u0060 declares a disposal member \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060_onDidChangePropertyValue\u0060 itself (line 226, \u0060new vscode.EventEmitter\u0060), which makes that instance its own. But \u0060_onDidChangePropertyValue\u0060 is named in none of the methods the disposal search covered: \u0060dispose\u0060 (line 245) \u2014 that is the disposal member plus every method it calls on \u0060this\u0060 BY NAME, so a release reached through a base class, a callback or a registry is not followed and is worth checking before acting. The field is released nowhere else in the class and is never handed to anything else, so no other owner can be releasing it. On what was read, the class\u0027s disposal releases everything except the one thing it owns. Whatever \u0060vscode.EventEmitter\u0060 holds until its own \u0060dispose()\u0060 runs \u2014 the listeners subscribed to it, a pending timer, GPU memory \u2014 outlives this instance\u0027s disposal: a subscriber that registered through it stays attached, and anything that holds the subscription keeps the whole chain reachable. Release it in the disposal member (\u0060this._onDidChangePropertyValue.dispose()\u0060), or, if it truly does not need releasing, drop the disposal member so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/workspace/WorkspaceManager.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9dfd8313236d49914de133d38117cfe8b904f32bc0b648b694841652044a97"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060FabricWorkspaceDataProvider\u0060 declares a disposal member \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060_onDidChangeTreeData\u0060 itself (line 101, \u0060new vscode.EventEmitter\u0060), which makes that instance its own. But \u0060_onDidChangeTreeData\u0060 is named in none of the methods the disposal search covered: \u0060dispose\u0060 (line 94) \u2014 that is the disposal member plus every method it calls on \u0060this\u0060 BY NAME, so a release reached through a base class, a callback or a registry is not followed and is worth checking before acting. The field is released nowhere else in the class and is never handed to anything else, so no other owner can be releasing it. On what was read, the class\u0027s disposal releases everything except the one thing it owns. Whatever \u0060vscode.EventEmitter\u0060 holds until its own \u0060dispose()\u0060 runs \u2014 the listeners subscribed to it, a pending timer, GPU memory \u2014 outlives this instance\u0027s disposal: a subscriber that registered through it stays attached, and anything that holds the subscription keeps the whole chain reachable. Release it in the disposal member (\u0060this._onDidChangeTreeData.dispose()\u0060), or, if it truly does not need releasing, drop the disposal member so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/src/workspace/treeView.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0632c2201a90c0d78f9c5445d51d4759abec7aa4d28591ec6ab759a49b53045"}},{"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":"util/src/fabricUtilities.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e575911eaf949fb964e34c91de1bc435d721eef71503f1f409b37cf6c58347"}},{"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":"util/src/fabricUtilities.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6028b9315a08b10a883f0d192e36d8a4f222e9c879f954a159a75f91fffd48b0"}},{"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":"extension/src/LocalFolderService.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d676fe69316373220a55804901a6dfa4411aa79102d168efd6e868f769c0e9"}},{"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":"extension/src/workspace/treeNodes/artifactTreeNodeFactory.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e748c3ec047b586a1e6b623843466efa548724c1cecee2be1346e5fa5fa3cc"}},{"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":"extension/src/shared/expansionStateHandler.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"772915dbfa1e7ac9d6e598d7e65dff0c892a5f817b27f44241f24350702a4ca4"}},{"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":"extension/src/itemDefinition/ItemDefinitionConflictDetector.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5adf20fec159caf69abe5a23e8fad7602d1c6ceff0349b6b32072d2c1a8247"}},{"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":"extension/src/itemDefinition/ItemDefinitionConflictDetector.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d12c4c2d5f9ddc2f6d568b51bf336d994c819424e9e6bbbda42e7e99cb83cb0"}},{"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":"extension/src/authentication/AccountProvider.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"194c8cdac71fbb8c90564412bcb0e11e77780845a650978d4d70ab4bbf66d8ce"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~2.6 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 50 assertion(s) across the 18979 source line(s) of the 168 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: util/src/VSCodeUIBypass.ts (24), extension/src/workspace/mockTreeView.ts (5), extension/src/artifactManager/MockArtifactManager.ts (4). 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":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getChildNodes\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":"extension/src/workspace/treeNodes/TenantTreeNode.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"657cb302f48aabf3c8d6741e7eb68f56ae55e5439d6eaa64ba1b730aa6e08776"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getChildNodes\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":"extension/src/workspace/treeNodes/RootTreeNode.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f60e606827f8058589ddb6d633e55a2384a28b1eea4d31117988350030d9f9b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getBaseApiUrl\u0060 swallows every exception into \u0060return \u0027https://api.fabric.microsoft.com\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":"extension/src/internalSatellites/appBackend/AppBackendWebviewPanel.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c0fb9879f79aa119144bf1863e7d5360f7b0663726dbe6529b1ab9af8b10b4"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-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-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":17,"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."]}]}