{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"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":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"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":"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"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":"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":"GeneratorOptionModule.toDict (cyclomatic 29): GeneratorOptionModule.toDict has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/Types.fs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3f51b17187a44f21d9b013e3d1259957af5c76d38fb25bab3a49faff70c504"}},{"ruleId":"D1","level":"warning","message":{"text":"PerlaConfig.UpdateFileFields (cyclomatic 25): PerlaConfig.UpdateFileFields has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Json.fs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6eb998b4e11aa3a9fb53b9575f55f0cefd95091f0459132dad43c1466a77f7"}},{"ruleId":"D1","level":"warning","message":{"text":"Handlers.runTemplate (cyclomatic 23): Handlers.runTemplate has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5c72b25acdc4ca480375c5d19e2ddf68037b25f53210f8ebeb9fb54840160f"}},{"ruleId":"D1","level":"warning","message":{"text":"Handlers.runTesting (cyclomatic 22): Handlers.runTesting has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1eee96b7d5e21f83dabef9074527630e5c345aaade483a29d265711bc25a46"}},{"ruleId":"D1","level":"warning","message":{"text":"FileSystem.GetManager (cyclomatic 22): FileSystem.GetManager has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/FileSystem.fs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c4fe7d722fed0b3c4bbee5dd8efb8a8ebf1b12a885b065ebe6fccba4185750"}},{"ruleId":"D1","level":"warning","message":{"text":"Handlers.runRestore (cyclomatic 20): Handlers.runRestore has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad472c2ca332e4e825ce7e388ffe31f4d530d5f9579524bfc068ad5992e6f30"}},{"ruleId":"D1","level":"warning","message":{"text":"TestingServiceModule.Create (cyclomatic 20): TestingServiceModule.Create has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Testing.fs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f62b6f531c0f7ebf6f8267b5aa55bdf290fbea194ed77482ea24f4c581f8371"}},{"ruleId":"D1","level":"warning","message":{"text":"PlatformOpsModule.Create (cyclomatic 20): PlatformOpsModule.Create has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/PlatformOps.fs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa4b73bde10a6999a524d14953d23236f236e6d00113f4bfa221ad6fb9e828e"}},{"ruleId":"D1","level":"warning","message":{"text":"VirtualFs.Create (cyclomatic 18): VirtualFs.Create has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/VirtualFileSystem.fs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1f8e0610e40dcdf8b548b5bea85775f78b10d9575e35d4297501c61edb8cda"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginManagerModule.Create (cyclomatic 17): PluginManagerModule.Create has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Plugins/Registry.fs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa32b51569c3da4a7e152dc2799b0eb045de90a2576798ca662f811bff6ca29"}},{"ruleId":"D1","level":"warning","message":{"text":"Handlers.runRemovePackage (cyclomatic 17): Handlers.runRemovePackage has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4138f30603aa09d024b9e776b2a86546861599d45500b1152af7c4b00bae4cec"}},{"ruleId":"D1","level":"warning","message":{"text":"PkgManagerModule.cleanupRemovedPackages (cyclomatic 16): PkgManagerModule.cleanupRemovedPackages 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":"src/Perla.PkgManager/PkgManager.fs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6562688399eeb8296248c70ca855cd03329d8e01b2a4911132e02c35fa0c75"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderOps.extractFilePath (cyclomatic 16): ProviderOps.extractFilePath 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":"src/Perla.PkgManager/Provider.fs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b92652e316f77557b3e13993414625a92f3ce185a82bdfd5464a6d2e166a9ca"}},{"ruleId":"D2","level":"warning","message":{"text":"PkgManagerModule.cleanupRemovedPackages (cognitive 43): PkgManagerModule.cleanupRemovedPackages has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (22 pts), error handling 3 (13 pts), loops 2 (4 pts), match/switch 1 (4 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/PkgManager.fs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f56a228a0576a9daaeafb07593a549bccd9a40902abf3e8cb472abe077f8cf"}},{"ruleId":"D2","level":"warning","message":{"text":"Handlers.runTesting (cognitive 43): Handlers.runTesting has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 4 (11 pts), loops 4 (10 pts), error handling 2 (6 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/Perla/Handlers.fs holds 5 of the 20 methods over the threshold \u2014 including the worst \u2014 and 86 of the 202 points over it (43%), 2.5\u00D7 the next-largest file (src/Perla.PkgManager/PkgManager.fs at 34). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"184a04422ed68601bcc2aae10251553e8e60994ba1967afd85bc9eea6733641e"}},{"ruleId":"D2","level":"warning","message":{"text":"Handlers.runRestore (cognitive 36): Handlers.runRestore has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (21 pts), match/switch 6 (14 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/Perla/Handlers.fs holds 5 of the 20 methods over the threshold \u2014 including the worst \u2014 and 86 of the 202 points over it (43%), 2.5\u00D7 the next-largest file (src/Perla.PkgManager/PkgManager.fs at 34). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8c52dde42445e33d301de3a98f100337cb051e724094930ea8cea7624f120f"}},{"ruleId":"D2","level":"warning","message":{"text":"Handlers.runTemplate (cognitive 35): Handlers.runTemplate has cognitive complexity 35 (threshold 15). Drivers by points: loops 4 (12 pts), if/else 5 (10 pts), match/switch 6 (9 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/Perla/Handlers.fs holds 5 of the 20 methods over the threshold \u2014 including the worst \u2014 and 86 of the 202 points over it (43%), 2.5\u00D7 the next-largest file (src/Perla.PkgManager/PkgManager.fs at 34). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f511fe3751682a89b4a79772987992ca9a032e4d16d5fbe577a08f2fe24519f"}},{"ruleId":"D2","level":"warning","message":{"text":"Handlers.runRemovePackage (cognitive 30): Handlers.runRemovePackage has cognitive complexity 30 (threshold 15). Drivers by points: match/switch 6 (16 pts), if/else 8 (10 pts), error handling 1 (4 pts) (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/Perla/Handlers.fs holds 5 of the 20 methods over the threshold \u2014 including the worst \u2014 and 86 of the 202 points over it (43%), 2.5\u00D7 the next-largest file (src/Perla.PkgManager/PkgManager.fs at 34). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44a6109796eb09c0c68f3012eb52f6327d892894c3b891828c7ac9cf30cc3ac"}},{"ruleId":"D2","level":"warning","message":{"text":"Build.getMissingLocalDependencies (cognitive 28): Build.getMissingLocalDependencies has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Build.fs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8741b446e67aa78228ee84268df2addc62c333a5aca62c80608c842598cb68"}},{"ruleId":"D2","level":"warning","message":{"text":"TestingServiceModule.Create (cognitive 25): TestingServiceModule.Create has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 4 (7 pts), error handling 5 (6 pts), loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Testing.fs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"971870940ea611aa5da22be917cea94510c6f9a786cee7b331df060445fc33a5"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystem.GetManager (cognitive 25): FileSystem.GetManager has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15, error handling 6 (7 pts), match/switch 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/FileSystem.fs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2c9d2d4b660df70dee01ddd47117cfe895eaa894be6c622c706896bdfcec2a"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualFs.Create (cognitive 24): VirtualFs.Create has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 6 (10 pts), if/else 6 (7 pts), error handling 1 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/VirtualFileSystem.fs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfdb022bd0fe1cff8bdacb3b1c977dce251a018b4c7101ea8e4843c8f15f1e4"}},{"ruleId":"D2","level":"warning","message":{"text":"PlatformOpsModule.Create (cognitive 24): PlatformOpsModule.Create has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 3 (4 pts), error handling 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/PlatformOps.fs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"024da1db30ca9a4081622accc5230786c81bdf1ea16ec8a7824ab3f733e06904"}},{"ruleId":"D2","level":"warning","message":{"text":"Check.Setup (cognitive 23): Check.Setup has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Orchestration.fs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03a451bb44ade9e169d3470763cd5a68a318d610a8003d5773de4b9b47ee159"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderOps.extractFilePath (cognitive 22): ProviderOps.extractFilePath has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/Provider.fs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c421a69322f5c5be232f61739579732b79885cc8999dbe81e9b6954703b85ef"}},{"ruleId":"D2","level":"warning","message":{"text":"PkgManagerModule.goOffline (cognitive 21): PkgManagerModule.goOffline has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 4 (5 pts), boolean chains 2 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/PkgManager.fs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5eec5543c9fa25c28cc63df3a794d7441406a91af1c7e7bdeee14b92d6b44bf"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderOps.extractPkgAndVersion (cognitive 20): ProviderOps.extractPkgAndVersion has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/Provider.fs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"181e8f1e92bde13a34fe09a3764a9a4baf1863314c88a7c6728ef148b8add020"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.Test (cognitive 19): Commands.Test has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, match/switch 2 (5 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Commands.fs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"9818bc2fd3a22ac7a41e6ddbb7828e8364ce07d200b5c7c75989d38cfe90cc29"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginManagerModule.Create (cognitive 17): PluginManagerModule.Create has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7 (10 pts), if/else 6, loops 1 (nesting depth added 3). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Plugins/Registry.fs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ebf0c360ef432d4b795a2c0024bbcf873bbfb1dadc08b6498cdfcd7076f551"}},{"ruleId":"D2","level":"warning","message":{"text":"Handlers.runAddPackage (cognitive 17): Handlers.runAddPackage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), match/switch 5 (6 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/Perla/Handlers.fs holds 5 of the 20 methods over the threshold \u2014 including the worst \u2014 and 86 of the 202 points over it (43%), 2.5\u00D7 the next-largest file (src/Perla.PkgManager/PkgManager.fs at 34). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"774f7e46d1166455b1f6923169e090df22b3d22541418360624228dba290abbc"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildServiceModule.Create (cognitive 17): BuildServiceModule.Create has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 2 (4 pts), error handling 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Build.fs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"de982b9091c4f8b965adba182e1672065d5825b307e8a65963f9bf61422ac6df"}},{"ruleId":"D2","level":"warning","message":{"text":"PerlaConfig.UpdateFileFields (cognitive 17): PerlaConfig.UpdateFileFields has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 13 (15 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Json.fs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3a3a39ca1223cff57871379d48bf618f4a4c56cf1117f7ee98d7e3f106c01b"}},{"ruleId":"D2","level":"warning","message":{"text":"Print.BrowserReport (cognitive 16): Print.BrowserReport has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Testing.fs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce4c8401b5b7f8f20484c61723e1b6f6388728f4b28e665461ce0f767e6b14c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Perla/SuaveService.fs: FileTooLong \u2014 1229 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 729 over it, 2.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/SuaveService.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bbe9f155be9f1be9f5adef9c904e94a811d8bc3b2e0b45fcfaee685dfeebef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Perla/Handlers.fs: FileTooLong \u2014 1181 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 681 over it, 2.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71f880d7f716e0187933c28d8ac46dde56c5950359c74aa3f1c2fa3b692038b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Perla/Testing.fs: FileTooLong \u2014 798 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 298 over it, 1.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Testing.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"033991f8a39a07dc140d15aea71ef3a4eea259d11c3a326abe6955a33c7970fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Perla/Commands.fs: FileTooLong \u2014 726 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 226 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Commands.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"557fbf0a9bc909289c11a3c43c4c7e17674141ac27524345c87971b019946642"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Perla/Json.fs: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 199 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Json.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3addc0a420a9a5ff86eaf19f3e244cfda98cb29a9a6484a79a21810fee227d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Perla/VirtualFileSystem.fs: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 133 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/VirtualFileSystem.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9cff7449e738de7a077d7301d15133b482325185f3847393b4ea1b0badb17c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Perla.PkgManager/PkgManager.fs: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 78 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/PkgManager.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3156a82d209d384fa379d35913847082ecabf0d807a8baaf8c19e7eab01ba076"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): src/Perla/Handlers.fs:736-770 | src/Perla/Handlers.fs:883-917 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff4892e0ef03749362e3b28f4ea9ab31d5b6e34e39de233df6ba2c233e9ce7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 5): src/Perla/Commands.fs:378-410 | src/Perla/Commands.fs:453-486 | src/Perla/Commands.fs:678-711 | src/Perla/Commands.fs:773-806 | src/Perla/Commands.fs:889-921 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Commands.fs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c888caa6456c26447c4cb19f7478fce447d6e8338708c718486201454d22fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Perla/SuaveService.fs:1641-1667 | src/Perla/SuaveService.fs:1681-1707 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/SuaveService.fs"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66742c8f00903f4a55777bd3d9767b490339e4b8709aff351547fd11715a191"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Perla/Handlers.fs:778-803 | src/Perla/Handlers.fs:923-948 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla/Handlers.fs:778\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcb88783fa0e3803927a601ea6c6a8ec3e312f24c9e3d0edbbfd39fc0b8a435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Perla.PkgManager/PkgManager.fs:389-410 | src/Perla.PkgManager/PkgManager.fs:417-438 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla.PkgManager/PkgManager.fs:389\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/PkgManager.fs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0564d0c930405fac2e82da4905c2981d8aab6c74bcaaca5a3028eab401c0ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Perla/Testing.fs:918-938 | src/Perla/Testing.fs:1024-1044 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla/Testing.fs:918\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Perla/Testing.fs:1047\u0060 calls \u0060Complete\u0060 and \u0060src/Perla/Testing.fs:940\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Testing.fs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88db9752ef77399cd15306a506f42e4521f06811f54bf0a8f11a4b4dc271bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): src/Perla/Configuration.fs:33-52 | src/Perla/Json.fs:689-705 \u2014 before extracting anything, compare \u0060src/Perla/Configuration.fs\u0060 and \u0060src/Perla/Json.fs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla/Configuration.fs:33\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Configuration.fs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41ab4ffd199b3af93b86ff6836b1867209d75228b6d5303798692f25d44c449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): src/Perla.Logger/Library.fs:148-162 | src/Perla.Logger/Library.fs:169-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla.Logger/Library.fs:148\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Logger/Library.fs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e8a19bf90e32bc63eeb33f40d44bb56b02eb879d3ec38f29d0b9d672914c1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Perla.PkgManager/RequestHandler.fs:85-102 | src/Perla.PkgManager/RequestHandler.fs:105-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/RequestHandler.fs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbefba28b98c3efc0cc92711771fa816504999002731e39bf4d29b77fef632bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Perla/SuaveService.fs:1510-1527 | src/Perla/SuaveService.fs:1568-1585 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla/SuaveService.fs:1510\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/SuaveService.fs"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bab5b23c197a5c6650981268ba8f54851cb85d62c39344bd8f8ca8638494390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): src/Perla/SuaveService.fs:351-366 | src/Perla/SuaveService.fs:400-412 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla/SuaveService.fs:351\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/SuaveService.fs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2c9507bc9b4f61fee3bd9aa4aa817ab1097626001b8f596e394f633e0a6c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): src/Perla.PkgManager/RequestHandler.fs:63-77 | src/Perla.PkgManager/RequestHandler.fs:85-97 | src/Perla.PkgManager/RequestHandler.fs:105-117 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/RequestHandler.fs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8574d8964e5ba0d7b4476a8713f6a94c34edbe391330f868220e95293fe6e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Perla/SuaveService.fs:1436-1449 | src/Perla/SuaveService.fs:1486-1499 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla/SuaveService.fs:1436\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/SuaveService.fs"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76a0e6d89e52c6a7b9aa6f9b5bbb7af6e02ae32a150ecc29ea682f3dfec4053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): src/Perla/SuaveService.fs:1000-1009 | src/Perla/SuaveService.fs:1121-1133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla/SuaveService.fs:1000\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/SuaveService.fs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f82f1db7d0566cc758686facef96e84cc24bc0d5b0969e2ac19f1745c835d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): src/Perla/Configuration.fs:68-79 | src/Perla/Json.fs:721-729 \u2014 before extracting anything, compare \u0060src/Perla/Configuration.fs\u0060 and \u0060src/Perla/Json.fs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla/Configuration.fs:68\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Configuration.fs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d610ee5f0a28f93ce2bbb55640b4cc2ea55e6b2b271a413c7ed84d3952cf7435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): src/Perla/VirtualFileSystem.fs:635-644 | src/Perla/VirtualFileSystem.fs:660-671 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla/VirtualFileSystem.fs:635\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/VirtualFileSystem.fs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"0187663eb43c764304460138fa49842893877887c1beabdf1b8af2a05b932c52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Perla/Library.fs:144-155 | src/Perla/Library.fs:186-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Library.fs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b4456e71a66759c31b2d434710cca02149d43c49edf4cdfdf4958a92062026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/Perla/SuaveService.fs:1405-1415 | src/Perla/SuaveService.fs:1456-1465 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/SuaveService.fs"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c89c54cb29a217e6cc9b9183c08a271de915ddce59c0371611e9246e511ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): src/Perla.Logger/Library.fs:116-125 | src/Perla.Logger/Library.fs:150-158 | src/Perla.Logger/Library.fs:171-179 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla.Logger/Library.fs:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Logger/Library.fs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1416677bb0070bbff929eaa37e010328326b000a5e6f55537b07f522171765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): src/Perla.Fable.Mocha/Library.fs:122-131 | src/Perla.Fable.Mocha/Library.fs:211-218 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.Mocha/Library.fs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d0da2586b4572319de41d877a820822b7b9e8e94cd20767df58603dbe0f0f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/Perla/SuaveService.fs:1422-1430 | src/Perla/SuaveService.fs:1473-1482 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/SuaveService.fs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56039263d8f3d9d8674224a3fdd03255ea29cdb1c6df17577f6a1926b7b367f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src/Perla.Fable.QUnit/Library.fs:430-437 | src/Perla.Fable.QUnit/Library.fs:439-447 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla.Fable.QUnit/Library.fs:430\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.QUnit/Library.fs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99124c1f82d563d826a62e2dd27f9c414abcb7eb6fe41fc17e32bb0eb3e7edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Perla/Configuration.fs:54-62 | src/Perla/Json.fs:707-715 \u2014 before extracting anything, compare \u0060src/Perla/Configuration.fs\u0060 and \u0060src/Perla/Json.fs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla/Configuration.fs:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Configuration.fs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0fe6b2f19c79c31cfd43a0edc488e0ec715278b486ffaed5cdeaa63171c8f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Perla/Library.fs:201-209 | src/Perla/Library.fs:266-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Library.fs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdc894fb406ef438a4bd132392a52d0194f3524481b3901170e7546bedc765d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Perla/Database.fs:293-300 | src/Perla/Database.fs:323-330 | src/Perla/Database.fs:343-350 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Database.fs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"84907596983d869240d0a9d4932e07a645f01930e17e57fb3c747376c216b9f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Perla/Database.fs:353-360 | src/Perla/Database.fs:365-373 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Database.fs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"e898420c4b7cafc1d5d89110bf796096a07910e69d2aa57e89d1c88fb9b11bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Perla/Handlers.fs:255-264 | src/Perla/Handlers.fs:300-307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7384821b1cf908a33f25621b72182a4412486fc00badeeba949bafdcfd66b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Perla/Json.fs:309-316 | src/Perla/Json.fs:330-337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Perla/Json.fs:307\u0060 calls \u0060get\u0060 and \u0060src/Perla/Json.fs:329\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Json.fs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"67caaebf811d24cbf83544d998bdff1691500d6dfdc122a33b5d7e483e8c8ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Perla.Fable.Mocha/Library.fs:58-64 | src/Perla.Fable.Mocha/Library.fs:230-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.Mocha/Library.fs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09faf6a283a3cc5664f548d7c501296758eb3cde6367da5fc5b75f3c9645722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Perla.Fable.Mocha/Library.fs:67-73 | src/Perla.Fable.Mocha/Library.fs:239-245 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.Mocha/Library.fs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c10f2a9f7d7cd407186f06c8517a3608d276f19b12a60a9ec37787ee7c3b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Perla.Fable.Mocha/Library.fs:76-82 | src/Perla.Fable.Mocha/Library.fs:248-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.Mocha/Library.fs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0197daecdc87638b7291da134d0b1067998f86c9f0eba91d6ab51bf3819a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Perla/Json.fs:246-252 | src/Perla/Json.fs:268-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla/Json.fs:246\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Perla/Json.fs:255\u0060 calls \u0060get\u0060 and \u0060src/Perla/Json.fs:276\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Json.fs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d515a28ab5ebd3dbade40f031f4ff4f86b538c99e42a890eedb2cefbc7d2601e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Perla.Fable.Mocha/Library.fs:50-55 | src/Perla.Fable.Mocha/Library.fs:222-227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.Mocha/Library.fs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bb9a0b37f2e46bcf924947fb194a8df79aaf561c113c5956b34a8ed18652ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Perla/Directories.fs:23-28 | src/Perla/FileSystem.fs:89-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Directories.fs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2d0de49d5d02f8f97b54453811378eb31d32dce85e2173c40465bca9eb081b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Perla.Logger/Library.fs:130-134 | src/Perla.Logger/Library.fs:354-358 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Logger/Library.fs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a26b3fdcede137d0edb027952abe6b60c5ac93c20d03367d0a2aa2d4cac384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Perla.PkgManager/PkgManager.fs:158-171 | src/Perla.PkgManager/PkgManager.fs:201-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Perla.PkgManager/PkgManager.fs:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/PkgManager.fs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a8eec8b1fb37ce7529e7e8545dea41ed80ac5cdd2c5ed36f31b8c96d3d8634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Perla.Fable.Mocha/Library.fs:180-188 | src/Perla.Fable.Mocha/Library.fs:193-201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.Mocha/Library.fs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c87f1a588a30cf671a7a35ba64cb643c5c70dcc876d45b60f1bd88cfac702cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Perla.Fable.Mocha/Library.fs:37-45 | src/Perla.Fable.Mocha/Library.fs:180-188 | src/Perla.Fable.Mocha/Library.fs:193-201 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.Mocha/Library.fs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f35ef22f3de6066e36b7bbbb292ea6b1cf138f12852380548e135ed58fcca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): src/Perla.Fable.Mocha/Library.fs:28-32 | src/Perla.Fable.Mocha/Library.fs:96-102 | src/Perla.Fable.Mocha/Library.fs:107-113 | src/Perla.Fable.Mocha/Library.fs:127-131 | src/Perla.Fable.Mocha/Library.fs:214-218 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.Mocha/Library.fs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace5d164c66b9fdff3458be77b8e5b3f994473fc6eb850f8ed25a6cc26780e8e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla.PkgManager/Types.fs: 39.7% line coverage (62/156)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/Types.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60851fbb1f691983b923fea4e531fde4219b607e0614a5c713f2b1835d32c73"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla.PkgManager/RequestHandler.fs: 0.0% line coverage (0/84)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/RequestHandler.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db99766f63cd55d8c1789362abe9ed750caa7db5c9bbf05062d0fce073cdf91"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla.Logger/Library.fs: 28.0% line coverage (51/182)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Logger/Library.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6b17e55ba93537f1cbd9aabc6258ac25d4043d80e43ede1d3b2a2dd6e0dfa6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/SuaveService.fs: 9.1% line coverage (102/1126)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/SuaveService.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a164899d0be9a2683fadf7dd22c04bf6361c814e0f7e8063350c6f1111081a9f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/Testing.fs: 0.0% line coverage (0/795)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Testing.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8843ddb184d359fd3ae1bcc41ab576cf304ce80baf0bd6d70fc23ec6a3d0da"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/Commands.fs: 0.0% line coverage (0/564)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Commands.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"165ac55f46745d19d2ecc82ef7b9010221254dbcec2afafa08eb40e911537c18"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/Program.fs: 0.0% line coverage (0/148)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Program.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad171b5e453a8947e8353dd4996f998828473ecf758187b5e8e765c43f624855"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/Handlers.fs: 0.0% line coverage (0/1054)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"719b454de1a311d338e65f2b2c3809e4514cecb5ca0d4e4bdec0b2ee795e945c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/Orchestration.fs: 0.0% line coverage (0/262)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Orchestration.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1403483833c4961513ce788e354bcb395fc7f7ece1d03eda8e2b320c53012296"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/Configuration.fs: 0.0% line coverage (0/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Configuration.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"375e3d4d019f1f022d5c75476f3ed09fc503f504622dcdb7d23bf759e54c3b80"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/Library.fs: 0.0% line coverage (0/176)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Library.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a007a0b7e09452769d7e93e42b51aedfb333648e377f699a13c19bf9c37c2bb0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/Scaffolding.fs: 0.0% line coverage (0/105)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Scaffolding.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68eddc65ba08d663bbacc845e711a4a89482bebb9f30c6a96eb714638d7275a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/Build.fs: 22.3% line coverage (84/376)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Build.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5a938f24913e22143c1d8b6f14fa7bbbb2cb2c4c6caa43e9367be6a6c86268"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/Fable.fs: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Fable.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a48ca41968083a6f1c9175ea51b6d7ab328bdc68a2bda6b3fe34c506070b61"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/Esbuild.fs: 0.0% line coverage (0/131)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Esbuild.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf29157473ec91a9dcbd9857a49a7ff37ededd50aa541b1bfb4c8f88e9afdc4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/RequestHandler.fs: 0.0% line coverage (0/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/RequestHandler.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6e4fde5732796ab60bcb5f747af807ef778ce01b9ff343133df9a6ce769a28"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/Directories.fs: 0.0% line coverage (0/89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Directories.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a64c76074d86d6d76a265ac86d6ecd73fc4eef5fa2a460bc0d1e999b3c00a02"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Perla/PlatformOps.fs: 26.3% line coverage (81/308)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/PlatformOps.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cc5c280e7969569dc45e707fc1d26bd59fdbc0927d250952eba1b4482c0c6c"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references Perla.Fable.Mocha: No test project in this repository references Perla.Fable.Mocha (1 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 29.8% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.Mocha/Perla.Fable.Mocha.fsproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11a9ffe567e43491d8589ba10f7e4b4f14fb56d22f52ed7ecf651e40e4552f7"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references Perla.Fable.QUnit: No test project in this repository references Perla.Fable.QUnit (1 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 29.8% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.QUnit/Perla.Fable.QUnit.fsproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"761b936fc2fa4603b494d3b78cec4dcfe6e7abb7e68a01731439041f8512dff1"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: coverlet.collector: coverlet.collector 6.0.4 \u2192 10.1.0 available (referenced by Perla.PkgManager.Tests)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Packages.props"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3233e35c9af91a23826c2b9c32dd3eb3674bd1f0fa7f30f4742ae3349d69e42d"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.9.3 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Packages.props"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37c8c0e8046c9e8358e976373216abfb78e9fdef63ed53d3edcaa7d2238edcd"}},{"ruleId":"D12","level":"warning","message":{"text":"Prerelease dependency: Suave: Suave resolves to 2.7.0-beta1, a prerelease build. Prerelease packages carry no support policy, may change breaking between previews and can be unlisted \u2014 pin a stable release before shipping, or record the reason this preview is required."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ec8ddc5ce884ed02042da5f242421f17d499a3cb2f91383b4fc4cd97bc11fcc2"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060src/Perla/Perla.fsproj\u0060 makes this repository a deployable product (line 4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Perla.fsproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"251373913d53497c669dec9b661695d85037f53624ad43434d7e0e48f93960d7"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060FindOne should return repository when searching by ID\u0060 spells \u0060ID\u0060 where 14 names in the project spell it \u0060Id\u0060: 14 of 15 names in project App spell the token \u0060Id\u0060 (14 of 15; unit: names in project App containing \u0060Id\u0060). Peers: ProjectInputs.byId (src/Perla/Commands.fs:269); PerlaCheck.CheckId (src/Perla/Database.fs:20); TemplateConfigurationItem.ChildId (src/Perla/Database.fs:46); ProjectOptions.byId (src/Perla/Handlers.fs:80); TestResult.RunId (src/Perla/Testing.fs:315). Rename to \u0060FindOne should return repository when searching by Id\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Perla.Tests/Database.Tests.fs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adc5c8a52a840514575b5cf577a65d71d57035abb565bc3a1ef57b220f76d2c"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 8 project(s) overshoot their size bounds, lowering Project Cohesion to 7.7/10. The most over is \u0060src/Perla\u0060 (10642 LoC, 206 module-visible types across 4 directories). 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":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 96 % of calls cross a namespace and only 40 % 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":"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":"8500bd444dd29b22a2b7ee47bd5fb7323de7a5296fca9e95d0d7da12354cfcad"},"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":"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":"7dc31a9cb4781029b8c8959d9c88c82346a5c72537102bdee63a26fbe524accc"},"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":"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":"3950d22791e590d14d58a61fa2966a0204b99b43c6738c656527efe7ed955b98"},"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":"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":"3e9e9d938b2c8da22bea3ca1a54d8a9c4f22108683329559c9cdd3187495ca2c"},"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":"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":"50adbcd711dca68f872cf2be71adcafe71227cad845e99d760eb77a975a1047e"},"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":"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":"2d4a941906ee01744df019fe1d5043e939414ca3b5beab0554d05fa10425b158"},"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":"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":"ce3e9240ab2f04ac758ffe84ab68ebc170702bb48693ce587ea5125a019f3c45"},"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":"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":"60e51c12e3490359f01f8cc76d6edc274287dc727633f543076b5287941e8d63"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"393008cf24272eaf38a25185bdbc1aa351cd1237b5bf5549216855e68dde458f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63bea608fd98974a5a312ed989a52706c988bfdbb0e401f0928bf7ee4f23d1b9"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"acea5e909c99f1e5d6c4e2664b5a5adc3ea7b3780136eb1b6850b46437f7eba9"},"properties":{"dependency":{"package":"Scriban","version":"6.2.1","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"fc2a08f6bb107446f4ebd6f664fdf24cc47611e4e06eb0243eba1371f04f6104"},"properties":{"dependency":{"package":"AngleSharp","version":"1.3.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D31","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":"5b38726aef6bf54739467b75cda20d0b5ec3f18d86026ce35c2c4f5cfa3a36ce"}},{"ruleId":"D31","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":"8b3dc70137df4a1a3061cb5627aadefc52ea87fc320a6983a140779800862a14"}},{"ruleId":"D31","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":"311536edfb8bb5e856ce1770d75d37b59ff5a10367e8fdcb2bfed156f1f37d64"}},{"ruleId":"D31","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":"67c41b5b77933eec4e84fff0951ac8290e969ea94b25e57d6153acd47ba906a4"}},{"ruleId":"D31","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":"d175eebb66179e93a8c4c5bef4b05bca8117f7af02a48e175fc31baae17fa2f1"}},{"ruleId":"D31","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":"5bdb1f363383e92d24ac8134ef0492fdc52083a4cf8b29785c3c81747125e8e7"}},{"ruleId":"D31","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":"f4a0e41ce335b21b15885a414a5c09a59cddcf399d38409fffb1368a10782530"}},{"ruleId":"D31","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":"ef9cfbd9ae38e2a0ca2b1ddfebdf8c63f3a6a5a8c6fc7895c37be8310d7039cb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2b42893c02acffe5ac0e8d4ff44d0b41ae8d30163d53134e1336b92f4adddd3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"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":"a0253cdb433485d93f1259fe935cad7c5df0486a99bae72ae65dbbacb158f6f3"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 30 of 32 significant files have no living knowledge, while the repository is still being changed at a low rate (1 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 30 separate risks. Counted over 32 of the 36 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/SuaveService.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d442be29d639d4715472df8c1836fe46e8aab6e59ef16262208bf73435d9fa"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Handlers.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f7da2e42b671017e30b9e1eeaa4a2dbdf80530dfde479133b3e6c34379f66f"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Testing.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"301e5a270bcb29d5746838537c06624e7b4220cc9c4f839cbdf0d250bc2ae2dd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Json.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d136d75171cdc65f9f282e14dc8995069d67da11f912bbd00eb5399b070e0311"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/VirtualFileSystem.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe1de4fe7bb0ea778bf3e03d233defa798976a3bcd369775504a2b118cda939"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/PkgManager.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e088e4043d8d1b29d07a22acacd77ba0e19d2876ef88668c4af48ac812935da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/FileSystem.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9ec21d8206f9b45da8d40cfed49f271d6318d394611e440acb9de35c8364eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Database.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4bcc17aede58dc10f8a6bbf8c187601846e244a1463762a22232b8ee5444b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Build.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc35fcf54398091dfd7e295e8bf15a12e68ebc38b0600b4cc409ad95f0d42e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.Mocha/Library.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8785f2c7b1f4491d48adc64c8a9a429799a831bef45802f2f60437db61975f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Orchestration.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09df9904236d8c126993305a51f4eb65650fc2ddbc67677b9b247eb6f904c55"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/PlatformOps.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf0b3555e0cf17c63e680476dd183aef8c946d9af31733976753e95c9af3c95"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Fable.QUnit/Library.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a468cd9feea93985493dc4b61a62a63cc88175c8c5f8fb49a344a85aabfbe1e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Logger/Library.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b601b46f6f055638f9d4b7c4c614cedd848dd83857cf35c23c3362d6e57715"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/Types.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"250988c28d156a08e8dccc99acf4e298ca17330edf9cf9df999295eec99d7af0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Library.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cde13d467002ee8c29cd3b5239b2dda82f5a5dbb711743d421f8bab647481a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Types.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18965a83f11fd6d9f8ff82f01d80bda70592bb75f1a45aefa0c2e09ffb1bac3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/Provider.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d9566493ba82426312bfefc5e671cc2853b10a4535cce65f4d70dd0e58f1d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Plugins/Library.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8036e495baafb943e6e18736e077fe2278841a4bc25902328438e64f8efe317f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.Plugins/Registry.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be4325a6c389f0fdff0cc3e58b1f6c1402d243582b1f11d1564618c7eaf69b2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Esbuild.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaa0baec5bb1fe9ac6cb06f020fa3cdd16483709f37993007a789fdb36228b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Scaffolding.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6a74876c44ef5e24404ab6c0d920d353dd1d51226914abaa49dd36f4521de2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/ImportMaps.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7aa0bcf244eca45ecec441af8d6f1507673bdfb760f1cc5991cfbe495f9e664"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Directories.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"312605be3f99fb6d450f0086e5f382b288a05e4c1b9c926f6f7776a0fa14f091"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Configuration.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b2898454975c16b7d8779ff36a0cfdb3a5b5764fcc7ec42ac2dcb40dec0929"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Extensibility.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c42b4bbe9e4e8459c0ccfa21a55223feaba1527973741cdf1b53f3c54e2d71"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla.PkgManager/RequestHandler.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff229f28c30f1ceb339b578148ed42cab70a4553c901e49e726588978c45743"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/Extensions.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"899ce512f8d9d527ac9197fd137ad8275ce7d68e5facf390420c8e82eb250388"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/RequestHandler.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae99d5e8dc3eb78a96a5f2e662d7fa89e826f75fdd0977a501b04a452ba365f4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/offline-templates/fable-feliz/src/Components.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c614559b3498cf027ebb657ff1a3e6298b9be1d0eab3ac72bd03acd50ae8451"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76302cd13f20580a528f72d66fbf2e2e8b7cc5f2ffff7e9573267c9cdab0864e"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/Components/Index.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3d4be2b09a7396970b781574b8892c1ee9435be6eb2ce4848c34ab454ede8b"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/offline-templates/fable-feliz/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"140acdce959046cf5a26c389f04b21563f44cb4ab7d621687d6facacfcd8548b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060blockquote\u0060 sets color: rgb(110, 85, 47) on background-color: rgb(219, 205, 182) \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/index.css"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3f45433e113af814d4e40537c1b6e5944113ca4e428950a8b4f9128f026451"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060blockquote\u0060 sets color: rgb(219, 205, 182) on background-color: rgb(110, 85, 47) \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/index.css"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"019a7323417bd18df6a3d9e147ef98cc7c8523a01cc73d0ea3bbee4b73835bd5"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add \u0060semgrep --config=auto\u0060 plus gitleaks for committed secrets (F# is not a CodeQL language and has no language-specific SAST engine) as a CI step. What was searched, so you can tell an absence from a miss: the 2 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/main.yml"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060Directory.Packages.props\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Packages.props"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"132ddc29b0ce983131ec605b63b624864af81c7452690d92419c7655d5dbaa7f"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): src/Perla/livereload.js:5 \u00B7 src/Perla/testing-helpers.js:91 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/livereload.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f24d68c5cbd6219fc5b0d659838412f32ea1d0167f2ccbdb52e7780348e204"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/Perla/qunit-runner.js:68 \u00B7 src/Perla/qunit-runner.js:89 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/qunit-runner.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afc27ecbcb1597085f0ee5eb7e5e437a9b4da754f260e0664c07db039555210"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/Perla/testing-helpers.js:36 \u00B7 src/Perla/testing-helpers.js:65 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/testing-helpers.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcf119013e4e7887dd8f801793e7d8a60fb900ebd400afb9dba3d2038ebd62d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/Perla/mocha-runner.js:115 \u00B7 src/Perla/qunit-runner.js:144 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/mocha-runner.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd8d5ccd62ef8dddda99699ed636f527cb9a1c3a23e75ff1cb3df15ae7d7fc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/Perla/offline-templates/basic/src/main.js:1 \u00B7 src/Perla/offline-templates/blocal/src/main.js:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/offline-templates/basic/src/main.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c6d71206aaf25358bc2f81c1de00629c0c09318774961b71d58c1e823fc07b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/qunit-runner.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f791a29e172e43b7ba740c607fcc630d9f3ad4283b07c70da83c7c99c5f5747"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/mocha-runner.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7086433d52c055b8f13cf01a697fb4523e687c16505a1839f65ac9f87979e43"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/testing-helpers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0557d3e3b423ea7ad90dc21db712e686ad5b47a5114c8582092853a526ca9249"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/livereload.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ec75a70fac155b3bffb2f228331879b7f1edcb78919b80d7117093c7bed97d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e96089b16af875930bb752dcc02048e6c4a6f1a04ac5ba360af35467eeade8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~164 LoC): no import path from any entry point (3 application, 0 tooling, 3 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/qunit-runner.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9480f7691448f81dc39d064f02221c1f51ce9cfc2396e5a075d16ac0724906"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~133 LoC): no import path from any entry point (3 application, 0 tooling, 3 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/mocha-runner.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3e711a5acb5b1d17c118e4fff523055c761ce21c52dd5b7f38d7c4735c26a1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~126 LoC): no import path from any entry point (3 application, 0 tooling, 3 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/testing-helpers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aad2fb30b126f295bc21cf2fbece37175f61ce859b49cbd9688719301469845"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~95 LoC): no import path from any entry point (3 application, 0 tooling, 3 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/livereload.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5758a8d6a39ef97090eea6e5c1822b3c19b2324183a1da9af26c9682c7954b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~69 LoC): no import path from any entry point (3 application, 0 tooling, 3 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0615fa9e27bd13cd81eba9ff0dfdfd6ae630557557ae97859fd92bda92ee914d"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://ga.jspm.io/npm:es-module-shims@2.6.1/dist/es-module-shims.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. 5 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/offline-templates/basic/index.html"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"951d27b658bc29434fd64e28713399f7ee5fd31e1a37f3ccbf1656ce9e73bac3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event \u0026\u0026 event.message \u0026\u0026 event.message.includes(\u0022Failed to resolve module specifier\u0022)\u0060 appears character-identically in 2 files \u2014 src/Perla/livereload.js, src/Perla/testing-helpers.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/livereload.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"598a23fafe03577c5cc6b37e473bcdc03031000d66e6665e252e034fe7ef2d3a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060tryParse\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Perla/worker.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98ef699b5448ba04255f2f82cfc37e68afa26a4707bb9f7dd177fadb3ecf8e0"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-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-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"}]}],"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":25,"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."]}]}