{"$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":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"Adaptify.runAsync (cyclomatic 84): Adaptify.runAsync has cyclomatic complexity 84 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Compiler/Runner.fs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"40552531e0aba99536b78a9f4b53281cefadf9b40458c974f43ef5be6ba79bd3"}},{"ruleId":"D1","level":"warning","message":{"text":"ExprModule.toString (cyclomatic 53): ExprModule.toString has cyclomatic complexity 53 (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/Adaptify.Compiler/Ast.fs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fab6dd873f7df9d2ee4d9a44789c9435bdf78faaf9727c61ba9cf7f537c659e"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeDefinitionModule.productType (cyclomatic 43): TypeDefinitionModule.productType has cyclomatic complexity 43 (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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bde544265fe992b7e5391609928d62d08a0e5b86c325e6f01f123231790607"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeDefinitionModule.toString (cyclomatic 42): TypeDefinitionModule.toString has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"839c474b4bc34d5e0b49c2f384ab4b465917bea0924824c800fee6e46eb23d83"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.main (cyclomatic 29): Program.main has cyclomatic complexity 29 (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/adaptify/Program.fs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d2e2ab8aad8911f2239116ad30d021706f1986998bdd58f595566758f4fb19"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectInfoModule.ofFscArgs (cyclomatic 27): ProjectInfoModule.ofFscArgs has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Compiler/ProjectInfo.fs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac55baba86121754a8f2ddef958d078b46da79c09c288e062eecff93b2b80c6"}},{"ruleId":"D1","level":"warning","message":{"text":"AdaptorModule.get (cyclomatic 27): AdaptorModule.get has cyclomatic complexity 27 (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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"a870df1b95c8a05e8f0f0cb68d580aeb9d7490c9cc2e69f32c10e2c7d558f846"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeRefModule.toString (cyclomatic 21): TypeRefModule.toString has cyclomatic complexity 21 (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/Adaptify.Compiler/Types.fs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"beee1bf347658415a5a9498400c7bee5ee920f5f9a7c8983cc058b30f73dd156"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectInfoModule.computeHash (cyclomatic 16): ProjectInfoModule.computeHash has cyclomatic complexity 16 (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/Adaptify.Compiler/ProjectInfo.fs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dc10aaf1de7356ccfdfa0f157432bfadd6355fa6835fc1c53ff8e78a662e1b"}},{"ruleId":"D2","level":"warning","message":{"text":"Adaptify.runAsync (cognitive 342): Adaptify.runAsync has cognitive complexity 342 (threshold 15). Drivers by points: if/else 71 (228 pts), match/switch 12 (57 pts), loops 7 (35 pts), error handling 2 (16 pts), boolean chains 6 (nesting depth added 244). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/Adaptify.Compiler/Runner.fs holds 2 of the 14 methods over the threshold \u2014 including the worst \u2014 and 330 of the 623 points over it (53%), 2\u00D7 the next-largest file (src/Adaptify.Compiler/Adaptor.fs at 161). 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/Adaptify.Compiler/Runner.fs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5589d9ad12daec2ea4a4ece0615d1dbf1ede6bad2ca753665306f305786ca699"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeDefinitionModule.toString (cognitive 118): TypeDefinitionModule.toString has cognitive complexity 118 (threshold 15). Drivers by points: if/else 44 (90 pts), loops 9 (19 pts), boolean chains 6, match/switch 2 (3 pts) (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into 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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ad181cc77547ece7c0f2f7b214b4d1eb13a55e894e6e9c506c92bf1d3bbd4b"}},{"ruleId":"D2","level":"warning","message":{"text":"ExprModule.toString (cognitive 72): ExprModule.toString has cognitive complexity 72 (threshold 15). Drivers by points: if/else 40 (63 pts), match/switch 3 (6 pts), boolean chains 3 (nesting depth added 26). 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/Adaptify.Compiler/Ast.fs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbccf7788defeef798456d29848992842d30d4e6702321c0056f1e6cca5844af"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.main (cognitive 58): Program.main has cognitive complexity 58 (threshold 15). Drivers by points: if/else 14 (26 pts), loops 4 (13 pts), error handling 2 (7 pts), boolean chains 6, match/switch 3 (6 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into 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/adaptify/Program.fs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ad2a90bcf2ba1b982f095930dba77860e7ba4a500be362440bd30a97dd5dd2"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeDefinitionModule.productType (cognitive 40): TypeDefinitionModule.productType has cognitive complexity 40 (threshold 15). Drivers by points: match/switch 17 (25 pts), if/else 7 (9 pts), loops 5 (6 pts) (nesting depth added 11). 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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b408f97df81c55491d0506d5c56f81ccea17d10298fed09540492b961250086"}},{"ruleId":"D2","level":"warning","message":{"text":"AdaptorModule.get (cognitive 39): AdaptorModule.get has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (20 pts), match/switch 8 (19 pts) (nesting depth added 19). 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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"670a5f83c59b761a840fc945c406bce06fc131086184c3bceee79bc64fc90e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectInfoModule.ofFscArgs (cognitive 29): ProjectInfoModule.ofFscArgs has cognitive complexity 29 (threshold 15). Drivers by points: if/else 23 (24 pts), match/switch 4 (5 pts) (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/Adaptify.Compiler/ProjectInfo.fs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0901f08b4901614cec1403e51ec40557991c39997f73db5df39c639f3799aa47"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeDefinitionModule.ofTypeDef (cognitive 24): TypeDefinitionModule.ofTypeDef has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 5 (9 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). 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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd22ab1856064daeddc117f6ea76b956e4322cda4a09f1689549a03df2c7531d"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.adaptify (cognitive 21): Client.adaptify has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (7 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Compiler/Server.fs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc60688bf336477396e7434e2a8e401f1143f6d53b2d8dba347fec02b9adf7cf"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessManagement.startAdaptifyServer (cognitive 21): ProcessManagement.startAdaptifyServer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (6 pts), loops 1 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Compiler/Process.fs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a966d1d8005ba3a4a54db45eab7bc11e148eb3b5cc032ae12018a72b5122f91"}},{"ruleId":"D2","level":"warning","message":{"text":"Adaptify.waitUntilExisting (cognitive 18): Adaptify.waitUntilExisting has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/Adaptify.Compiler/Runner.fs holds 2 of the 14 methods over the threshold \u2014 including the worst \u2014 and 330 of the 623 points over it (53%), 2\u00D7 the next-largest file (src/Adaptify.Compiler/Adaptor.fs at 161). 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/Adaptify.Compiler/Runner.fs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a474e8f7b33e1585a2c5e62a0f50288cf992c4a237bba68524811901f6e9240e"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeRefModule.ofType (cognitive 18): TypeRefModule.ofType has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), match/switch 3 (7 pts), error handling 1 (2 pts) (nesting depth added 6). 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/Adaptify.Compiler/Types.fs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb9ba239c3da9553b7ce3bd74d78b6f93874d4cc450311ffc197597734ab7ee"}},{"ruleId":"D2","level":"warning","message":{"text":"Process.tryStart (cognitive 17): Process.tryStart has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 3 (4 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Compiler/Utilities.fs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"60006a3fcff1759269bedceadc2b7b989ce9897383bddea096e300b0369c51a2"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopeModule.ofFSharpEntity (cognitive 16): ScopeModule.ofFSharpEntity has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 4 (nesting depth added 7). 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/Adaptify.Compiler/Scope.fs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfd0abab3342e2a95b868a7cf074e22736831961ae936beefab8a95dfe20abf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Adaptify.Compiler/Adaptor.fs: FileTooLong \u2014 1337 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 837 over it, 2.67\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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d1cc91daa9a223aeed4a860e10518f1eeaa4838b3aa66b81ace95a2d2cf199"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Adaptify.Core/CoreInstances.fs: FileTooLong \u2014 860 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 360 over it, 1.72\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/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77883cef850c15883c972ee90afdcc09225fafa19b623b8ca5000bfd9bc6f8bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): src/Adaptify.Compiler/Adaptor.fs:935-977 | src/Adaptify.Compiler/Adaptor.fs:1006-1048 \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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a100620c9e2ae08d6c6c8eb1abe9c4edf3f0d185ae13cb7a067c4bc4b5701b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Adaptify.Compiler/Adaptor.fs:711-732 | src/Adaptify.Compiler/Adaptor.fs:789-810 \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/Adaptify.Compiler/Adaptor.fs:711\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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf5eec6e239f53d0df42931eaa6db019fce10de67c39886cb15480ec887e3a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/Adaptify.Compiler/Adaptor.fs:647-667 | src/Adaptify.Compiler/Adaptor.fs:760-780 | src/Adaptify.Compiler/Adaptor.fs:1534-1554 \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/Adaptify.Compiler/Adaptor.fs:647\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 before the matched lines, \u0060src/Adaptify.Compiler/Adaptor.fs:644\u0060 calls \u0060TExtRef\u0060, \u0060sprintf\u0060 and \u0060src/Adaptify.Compiler/Adaptor.fs:756\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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"5292359335e0521a2f197f310386d451c5679b2b46cf9fee22903f86d4ae7616"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Adaptify.Compiler/Adaptor.fs:350-368 | src/Adaptify.Compiler/Adaptor.fs:388-406 \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/Adaptify.Compiler/Adaptor.fs:350\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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee43684617ef83eac5517fa4d1dc7dc5a5a6e3095edf2ad1be321fcc5b1dee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/Adaptify.Compiler/Adaptor.fs:627-642 | src/Adaptify.Compiler/Adaptor.fs:740-756 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Adaptify.Compiler/Adaptor.fs:644\u0060 calls \u0060TExtRef\u0060, \u0060sprintf\u0060 and \u0060src/Adaptify.Compiler/Adaptor.fs:758\u0060 does not \u2014 after which the two agree again for 4 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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4f919d53cb7dc8f3ca90fc6a4db3deda79bbd0d1c70d30de046ca3c86a2aa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Adaptify.Compiler/CoreTypes.fs:181-193 | src/Adaptify.Compiler/CoreTypes.fs:203-215 \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/Adaptify.Compiler/CoreTypes.fs:181\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/Adaptify.Compiler/CoreTypes.fs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd681f318d52a5453d712a00db7841ebd8a02120be3b36f8c5433caedefe6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/Adaptify.Compiler/Runner.fs:66-75 | src/Adaptify.Compiler/Runner.fs:479-489 \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/Adaptify.Compiler/Runner.fs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"027c220c079df316ad043b8623d6de919bf7468c84a0f915236fdf5a5800a01c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/Adaptify.Compiler/Adaptor.fs:524-532 | src/Adaptify.Compiler/Adaptor.fs:1069-1078 \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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"6540651eba3eee13128b2c71baae0101c1bfc9bd07435e25855b95a7b15ec6c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Adaptify.Compiler/Runner.fs:86-94 | src/Adaptify.Compiler/Runner.fs:501-509 \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/Adaptify.Compiler/Runner.fs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e5c003fa434203564e4bea87344134c0b72608d894a299f5f7a39db921f208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 32): src/Adaptify.Core/CoreInstances.fs:207-214 | src/Adaptify.Core/CoreInstances.fs:218-225 | src/Adaptify.Core/CoreInstances.fs:240-247 | src/Adaptify.Core/CoreInstances.fs:254-261 | src/Adaptify.Core/CoreInstances.fs:276-283 | src/Adaptify.Core/CoreInstances.fs:287-294 | src/Adaptify.Core/CoreInstances.fs:306-313 | src/Adaptify.Core/CoreInstances.fs:317-324 | src/Adaptify.Core/CoreInstances.fs:328-335 | src/Adaptify.Core/CoreInstances.fs:342-349 | src/Adaptify.Core/CoreInstances.fs:353-360 | src/Adaptify.Core/CoreInstances.fs:364-371 | src/Adaptify.Core/CoreInstances.fs:403-410 | src/Adaptify.Core/CoreInstances.fs:417-424 | src/Adaptify.Core/CoreInstances.fs:431-438 | src/Adaptify.Core/CoreInstances.fs:456-463 | src/Adaptify.Core/CoreInstances.fs:473-480 | src/Adaptify.Core/CoreInstances.fs:487-494 | src/Adaptify.Core/CoreInstances.fs:512-519 | src/Adaptify.Core/CoreInstances.fs:526-533 | src/Adaptify.Core/CoreInstances.fs:543-550 | src/Adaptify.Core/CoreInstances.fs:568-575 | src/Adaptify.Core/CoreInstances.fs:582-589 | src/Adaptify.Core/CoreInstances.fs:596-603 | src/Adaptify.Core/CoreInstances.fs:618-625 | src/Adaptify.Core/CoreInstances.fs:632-639 | src/Adaptify.Core/CoreInstances.fs:646-653 | src/Adaptify.Core/CoreInstances.fs:660-667 | src/Adaptify.Core/CoreInstances.fs:677-684 | src/Adaptify.Core/CoreInstances.fs:691-698 | src/Adaptify.Core/CoreInstances.fs:705-712 | src/Adaptify.Core/CoreInstances.fs:719-726 \u2014 all 32 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/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d24492c7de109340dda697d60a47895d3e4484f70179b4a8653d10f6c831cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Adaptify.Core/CoreInstances.fs:125-132 | src/Adaptify.Core/CoreInstances.fs:141-148 | src/Adaptify.Core/CoreInstances.fs:160-167 \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/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb49a790d8e7bb44cb8386e2e61d8c32cb1d8f8797bb6e92898d5df8a0763438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Adaptify.Core/CoreInstances.fs:798-805 | src/Adaptify.Core/CoreInstances.fs:814-821 | src/Adaptify.Core/CoreInstances.fs:833-840 \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/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2f6db7fd6390d12dfed41a2027393a2367eadb1b2b2d6a6fd7d5b9e745e88d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/Adaptify.Compiler/Adaptor.fs:317-323 | src/Adaptify.Compiler/Adaptor.fs:342-348 | src/Adaptify.Compiler/Adaptor.fs:380-386 | src/Adaptify.Compiler/Adaptor.fs:453-459 \u2014 all 4 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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a1a1bbd73ec7cd604b7d4935dc36788b610bbea69f5de1d25e3cc2feff7931"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Adaptify.Core/CoreInstances.fs:94-100 | src/Adaptify.Core/CoreInstances.fs:192-198 | src/Adaptify.Core/CoreInstances.fs:388-394 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8c8556dce849f0e459a8ceb16bf58d51da65be13d3ba3519dcd7516afa5195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20137 lines \u00D7 4): src/Adaptify.Core/CoreInstances.fs:107-113 | src/Adaptify.Core/CoreInstances.fs:134-134 | src/Adaptify.Core/CoreInstances.fs:150-156 | src/Adaptify.Core/CoreInstances.fs:169-175 \u2014 all 4 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/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"063e02855ec30dfdc075754a36797924433f06ec99f76f4cbad98e3205bd2ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Adaptify.Core/CoreInstances.fs:116-122 | src/Adaptify.Core/CoreInstances.fs:228-234 | src/Adaptify.Core/CoreInstances.fs:444-450 \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/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec95df1339bdfe1db488e8a37c46b8a986c35e78f36b1a5a786b24bccb971eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20137 lines \u00D7 4): src/Adaptify.Core/CoreInstances.fs:780-786 | src/Adaptify.Core/CoreInstances.fs:807-807 | src/Adaptify.Core/CoreInstances.fs:823-829 | src/Adaptify.Core/CoreInstances.fs:842-848 \u2014 all 4 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/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd4042cf4e26812cdd32f44e2478cf505f296307190dcd6e2a4acef332cc699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Adaptify.Compiler/Adaptor.fs:1313-1319 | src/Adaptify.Compiler/Adaptor.fs:1657-1663 \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/Adaptify.Compiler/Adaptor.fs:1313\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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"af969140ef98148da82c381320ec228d49fba7c1165b8280226d868aa6f1fdcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Adaptify.Core/CoreInstances.fs:264-270 | src/Adaptify.Core/CoreInstances.fs:500-506 \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/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f4208810ac4ab41124b483be907f52247140b04344a4493cc662209d29a9bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 38): src/Adaptify.Core/CoreInstances.fs:108-113 | src/Adaptify.Core/CoreInstances.fs:127-132 | src/Adaptify.Core/CoreInstances.fs:143-148 | src/Adaptify.Core/CoreInstances.fs:151-156 | src/Adaptify.Core/CoreInstances.fs:162-167 | src/Adaptify.Core/CoreInstances.fs:170-175 | src/Adaptify.Core/CoreInstances.fs:206-211 | src/Adaptify.Core/CoreInstances.fs:217-222 | src/Adaptify.Core/CoreInstances.fs:239-244 | src/Adaptify.Core/CoreInstances.fs:253-258 | src/Adaptify.Core/CoreInstances.fs:275-280 | src/Adaptify.Core/CoreInstances.fs:286-291 | src/Adaptify.Core/CoreInstances.fs:305-310 | src/Adaptify.Core/CoreInstances.fs:316-321 | src/Adaptify.Core/CoreInstances.fs:327-332 | src/Adaptify.Core/CoreInstances.fs:341-346 | src/Adaptify.Core/CoreInstances.fs:352-357 | src/Adaptify.Core/CoreInstances.fs:363-368 | src/Adaptify.Core/CoreInstances.fs:402-407 | src/Adaptify.Core/CoreInstances.fs:416-421 | src/Adaptify.Core/CoreInstances.fs:430-435 | src/Adaptify.Core/CoreInstances.fs:455-460 | src/Adaptify.Core/CoreInstances.fs:472-477 | src/Adaptify.Core/CoreInstances.fs:486-491 | src/Adaptify.Core/CoreInstances.fs:511-516 | src/Adaptify.Core/CoreInstances.fs:525-530 | src/Adaptify.Core/CoreInstances.fs:542-547 | src/Adaptify.Core/CoreInstances.fs:567-572 | src/Adaptify.Core/CoreInstances.fs:581-586 | src/Adaptify.Core/CoreInstances.fs:595-600 | src/Adaptify.Core/CoreInstances.fs:617-622 | src/Adaptify.Core/CoreInstances.fs:631-636 | src/Adaptify.Core/CoreInstances.fs:645-650 | src/Adaptify.Core/CoreInstances.fs:659-664 | src/Adaptify.Core/CoreInstances.fs:676-681 | src/Adaptify.Core/CoreInstances.fs:690-695 | src/Adaptify.Core/CoreInstances.fs:704-709 | src/Adaptify.Core/CoreInstances.fs:718-723 \u2014 all 38 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Adaptify.Core/CoreInstances.fs:105\u0060 calls \u0060Update\u0060, \u0060Choice2Of2\u0060 and \u0060src/Adaptify.Core/CoreInstances.fs:126\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3abae1254c6514d70fcfa36fccd51df668f44d3f015cd99bf2759a5859cc66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): src/Adaptify.Core/CoreInstances.fs:781-786 | src/Adaptify.Core/CoreInstances.fs:800-805 | src/Adaptify.Core/CoreInstances.fs:816-821 | src/Adaptify.Core/CoreInstances.fs:824-829 | src/Adaptify.Core/CoreInstances.fs:835-840 | src/Adaptify.Core/CoreInstances.fs:843-848 \u2014 all 6 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Adaptify.Core/CoreInstances.fs:778\u0060 calls \u0060Update\u0060, \u0060Error\u0060 and \u0060src/Adaptify.Core/CoreInstances.fs:799\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78cdb93b2a63912a6a65a36c4b5d64688591a395f62893e99f26e23f9d8a4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): src/Adaptify.Compiler/Adaptor.fs:668-671 | src/Adaptify.Compiler/Adaptor.fs:784-789 | src/Adaptify.Compiler/Adaptor.fs:1558-1563 \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/Adaptify.Compiler/Adaptor.fs:784\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Adaptify.Compiler/Adaptor.fs:1565\u0060 calls \u0060TExtRef\u0060 and \u0060src/Adaptify.Compiler/Adaptor.fs:790\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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af571720ea3859254b1a3bd00ffc83df1d8b9a4abace21889c921d156b55348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Adaptify.Compiler/ProjectInfo.fs:100-105 | src/Adaptify.Compiler/ProjectInfo.fs:113-118 \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/Adaptify.Compiler/ProjectInfo.fs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5b7509750145cd036a51a274a96aaef73f679b0ba08d41cf3da98a074011e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Adaptify.Compiler/ProjectInfo.fs:208-213 | src/Adaptify.Compiler/Runner.fs:167-172 \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/Adaptify.Compiler/ProjectInfo.fs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"781196119593e4c5c5186ea08eb1933e3e52c743ffd63eb5122d455713bc111f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Adaptify.Core/Helpers.fs:39-44 | src/Adaptify.Core/Helpers.fs:52-57 \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/Adaptify.Core/Helpers.fs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2296532e466544eacf943b16b95821e240d3f02299819dce83e66e81d2372b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/Adaptify.Core/CoreInstances.fs:36-40 | src/Adaptify.Core/CoreInstances.fs:49-53 | src/Adaptify.Core/CoreInstances.fs:62-66 \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/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1434c70ab17a81b925355833e05068b40212d37253c7a058a8ed552bccdcde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Adaptify.Compiler/Adaptor.fs:325-331 | src/Adaptify.Compiler/Adaptor.fs:461-465 \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/Adaptify.Compiler/Adaptor.fs:325\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/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"546e88aa51a11d97af2c51bf88f538a479d055fb4ea1b64985f80af3b7bcf431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Adaptify.Compiler/CoreTypes.fs:342-348 | src/Adaptify.Compiler/CoreTypes.fs:370-377 | src/Adaptify.Compiler/CoreTypes.fs:401-408 \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/Adaptify.Compiler/CoreTypes.fs:342\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/Adaptify.Compiler/CoreTypes.fs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"588a33516a01aa368fca5a50696c6105927e3d4ee299a962268e882ca9754a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): src/Examples/Net10/Model.fs:1-26 | src/Examples/Net8/Model.fs:1-26 | src/Examples/Net9/Model.fs:1-26 \u2014 \u0060src/Examples/Net10/Model.fs\u0060 and \u0060src/Examples/Net8/Model.fs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 26 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Examples/Net10/Model.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd5180fcce01cf2af6411b15e235822cb36e436a451d46f376aa0bf2f4d6bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83 lines \u00D7 2): src/Examples/Net10/Program.fs:1-83 | src/Examples/Net9/Program.fs:1-83 \u2014 \u0060src/Examples/Net10/Program.fs\u0060 and \u0060src/Examples/Net9/Program.fs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 83 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Examples/Net10/Program.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b518163ac26c58022bab61168d940a0165921f88b6997fed092d77a70f46284d"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 no coverage collector is wired up: Coverage NOT MEASURED: \u0060--collect:\u0022XPlat Code Coverage\u0022\u0060 names a data collector that ships in the \u0060coverlet.collector\u0060 package, and this repository wires up none \u2014 no test project references it and no runsettings declares one. The absence of coverage here is therefore not evidence about the suite or about our analyzer environment: without a collector, \u0060--collect\u0060 produces nothing even from a suite that builds and passes. Add a \u0060coverlet.collector\u0060 PackageReference to the test project(s) (or commit the Cobertura/OpenCover/lcov report your CI produces) and real coverage will be measured. It is excluded from the score rather than counted as a near-zero defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Adaptify.Compiler/Adaptor.fs: src/Adaptify.Compiler/Adaptor.fs changed 4 times in last 90 days, max cyclomatic complexity 43 in TypeDefinitionModule.productType at line 1095. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-09-11..2025-12-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-09-11 11:57:06 \u002B01:00\u0027 --until=\u00272025-12-10 11:57:06 \u002B01:00\u0027 --full-history --no-merges -- src/Adaptify.Compiler/Adaptor.fs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Compiler/Adaptor.fs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0abb8a687d5a7955a1625547e600f73d2dc6f6a7c7570bb6654bbe3d6485407"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Adaptify.Compiler/Types.fs: src/Adaptify.Compiler/Types.fs changed 3 times in last 90 days, max cyclomatic complexity 21 in TypeRefModule.toString at line 231. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2025-09-11..2025-12-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-09-11 11:57:06 \u002B01:00\u0027 --until=\u00272025-12-10 11:57:06 \u002B01:00\u0027 --full-history --no-merges -- src/Adaptify.Compiler/Types.fs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Compiler/Types.fs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5473e64aabb9dd9269f539056cbeebd1f3abb392ecf7c3254aadf3fc5c268db"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 5 significant file(s) lose their only recent owner: src/Adaptify.Compiler/Adaptor.fs, src/Adaptify.Compiler/CoreTypes.fs, src/Adaptify.Compiler/Types.fs, src/Adaptify.Core/Helpers.fs, src/Adaptify.Core/Attributes.fs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"03a2ad517294961cb69e883c0ed86130298ff24da29e2eb3751f0f1e0896b5da"}},{"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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"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":"77847d4d9e715398297c158f302f573115261fa4ec2a7243fa64534887cf387b"},"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":"e7efc20376ca82d297e418b4690e33529d542653dba1b7d7d2bb15afc33b69a4"},"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":"801e60aed41b1830aa35670f62ac1a60a301a9b98f6d9a13478d3be3430260a0"},"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":"eca0d79a5c8b32b1d32d17adeed54e8bf4045e3e5122f4a9479da6c4481f7387"},"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":"d1c8099c7ef2013a8812c98ac636dd763212ae1bc0df3979fbca3aa1fa922dcd"},"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":"79e2fd5e017cf58f406d9805b9c9a8dd9544de1e5f6af42ce48ab33227f6de59"},"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":"c401d2c9c1dfb390b775ad31257d82eb5e26d73bc29c01161ad948422286c386"},"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":"e4e12e8545fc76b233fa5822fb71ec715fa4469df9d172069bd5cc3fbb948ffd"},"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":"d89ff8be40979a750f71a1b1785d33a78ab956aa773c1a40e692751cfa2edca2"},"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":"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":"5d7f89586871ad197a7633d995ee7583c1869ff8fbf14fe16d78c9fef26f92dc"},"properties":{"dependency":{"package":"System.Security.Cryptography.Pkcs","version":"8.0.0","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]"],"reachability":{"kind":"production","file":"src/adaptify/adaptify.fsproj"}}}},{"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":"6cc9ae5c67929ae5b1cd8b4d3cb0d6e615041afdb342bd4ae8dff3f7e6cb7129"},"properties":{"dependency":{"package":"System.Security.Cryptography.Pkcs","version":"9.0.0","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]"],"reachability":{"kind":"production","file":"src/adaptify/adaptify.fsproj"}}}},{"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":"6a74db74b426187dd863456d0c2d8f85135d54f3ec489f191b8f2a701ab20c55"},"properties":{"dependency":{"package":"System.Security.Cryptography.Pkcs","version":"9.0.6","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]"],"reachability":{"kind":"production","file":"src/adaptify/adaptify.fsproj"}}}},{"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":"dbfe633567c71d1cdc2a321473e3c1540cc3c656660af6ca1a8d9e7989124f38"},"properties":{"dependency":{"package":"System.Security.Cryptography.Xml","version":"8.0.0","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]"],"reachability":{"kind":"production","file":"src/adaptify/adaptify.fsproj"}}}},{"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":"50a035a50aa41f5c2726e91947e9bd8f0814382aee72c2308bd9e401037a531a"},"properties":{"dependency":{"package":"System.Security.Cryptography.Xml","version":"9.0.0","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"src/adaptify/adaptify.fsproj"}}}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Core/CoreInstances.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"735ce6dae1c1897c83916f917a76f5ac56a6d772b4d90fff00a28220d1feebfe"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Compiler/Runner.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa25c6c5deddd751431804e7fa877c1154e63a87abaf550a67536671d242636"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 7 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: src/Adaptify.Compiler/Process.fs, src/Adaptify.Compiler/Ast.fs, src/Adaptify.Compiler/Server.fs, src/Adaptify.Compiler/ProjectInfo.fs, src/Adaptify.MSBuild/Program.fs, src/Adaptify.Compiler/Cache.fs, src/Adaptify.Compiler/Scope.fs (9 orphaned of 16 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"},"taxa":[{"id":"CICD-SEC-5","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":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET net9.0: src/Examples/Net9/Net9.fsproj declares .NET net9.0 as this project\u0027s target framework, and .NET 9 STS, support ended 2026-05-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2026-05-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cf833dd2e60d7abeaab60bf3ef76eff2806e8ec26408f1f9382eb19e6e5923da"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P12","level":"warning","message":{"text":"Test suite runs only after the merge: \u0060publish.yml\u0060 run(s) the test suite, but no workflow that runs tests is triggered by a pull request (or a merge queue) \u2014 so the suite reports on code that is already on the default branch. A red build there blocks nothing and the only remedy is a revert. Add the pull-request trigger to the workflow that runs your suite so the gate applies before the merge, not after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"731ad560de6aa35d3e92103d5ad0fbec4c54f771b709281e852941847e03ef03"}},{"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 2578 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 253 is called with an argument built by \u0060String.concat \u0022\u2026\u0022 projectInfo.defines\u0060 (line 253), whose cost grows with the collection it walks. F# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no \u0060#if DEBUG\u0060 region, no \u0060fun\u0060 or \u0060lazy\u0060 the logger runs only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Compiler/Runner.fs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5213038cf5826cf5011706beedf1c4733607dfa853818aea103324b1b1bd899"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 254 is called with an argument built by \u0060String.concat \u0022\u2026\u0022 projectInfo.additional\u0060 (line 254), whose cost grows with the collection it walks. F# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no \u0060#if DEBUG\u0060 region, no \u0060fun\u0060 or \u0060lazy\u0060 the logger runs only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Adaptify.Compiler/Runner.fs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"31961029f80f8894d51ddc6e8f1e12eb16c3498ddbe4b0d9bb3791ca66821dc3"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-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":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":20,"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."]}]}