{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Cryptographic Hygiene","shortDescription":{"text":"Cryptographic Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"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":"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":"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":"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":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"MethodCreatorTools.EmitCallParameter (cyclomatic 79): MethodCreatorTools.EmitCallParameter has cyclomatic complexity 79 (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":"Harmony/Internal/MethodCreatorTools.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ed40bf0a224ef1bec77eac6795271bc13f9de48853a1de69880bd2b0d0202a"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineSignatureParser.ImportCallSite (cyclomatic 47): InlineSignatureParser.ImportCallSite has cyclomatic complexity 47 (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":"Harmony/Internal/InlineSignatureParser.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff497d0240365b699cadb31e1b70b6f38846abb47daf8875a6e849945c488dc"}},{"ruleId":"D1","level":"warning","message":{"text":"PatchTools.GetOriginalMethod (cyclomatic 44): PatchTools.GetOriginalMethod has cyclomatic complexity 44 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/PatchTools.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc79b0384f41915b921202e5eae74da34369e0ceec1274e563a49be4cf9b75f"}},{"ruleId":"D1","level":"warning","message":{"text":"MethodCreator.CreateReplacement (cyclomatic 35): MethodCreator.CreateReplacement has cyclomatic complexity 35 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/MethodCreator.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"980626e7ad6babca6f8bf4481518815a270baa114a3bebe1eac1d8c3f0115b9c"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessTools.MethodDelegate (cyclomatic 30): AccessTools.MethodDelegate has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/AccessTools.cs"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"30372a289cc0190b1a7719854237d37c93a3e4f24d0d5f9090350291f6513c10"}},{"ruleId":"D1","level":"warning","message":{"text":"MethodBodyReader.ReadOperand (cyclomatic 25): MethodBodyReader.ReadOperand has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/MethodCopier.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a857c15cd0431a5f10fd5810d2c7455ac7a8d59c13b86ab0de5eccc2163ce61"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeInstructionExtensions.LoadsConstant (cyclomatic 24): CodeInstructionExtensions.LoadsConstant has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/Extensions.cs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e80090d9e0a01b7cd0b813b730eec7e5bf40a3494a868f8304c5860e4c6f43"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessTools.MakeDeepCopy (cyclomatic 23): AccessTools.MakeDeepCopy has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/AccessTools.cs"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5eb6f05afc2d1a150851b312eb9e32b2fe0707cf578cbca053dcdaca0b8c652"}},{"ruleId":"D1","level":"warning","message":{"text":"lunr.lunr.TokenSet.fromFuzzyString (cyclomatic 22): lunr.lunr.TokenSet.fromFuzzyString has cyclomatic complexity 22 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/styles/lunr.js"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"700f06754f574346063a553a32d36bf49ab8e461726d26fe4cd69e002149bde3"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeTranspiler.ShouldAddExceptionInfo (cyclomatic 21): CodeTranspiler.ShouldAddExceptionInfo has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/CodeTranspiler.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce9377ac47eeaf72941e7daf16a9b951fa4481e363782269e99b15beffeef07"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeInstructionExtensions.IsLdarg (cyclomatic 19): CodeInstructionExtensions.IsLdarg has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/Extensions.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b433452814f6d44cfeaa1ed03bbc7e11270b319e625d864823b4c4bfc09db1e"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeInstructionExtensions.LocalIndex (cyclomatic 18): CodeInstructionExtensions.LocalIndex has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/Extensions.cs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33954323da0542bdfb6f9a2f394a9e115a81075e489dbc02d8d666844dfb7c6"}},{"ruleId":"D1","level":"warning","message":{"text":"MethodInvoker.GetHandler (cyclomatic 17): MethodInvoker.GetHandler has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Extras/MethodInvoker.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc5df9e04b1fa138918519563a9f5bd6401dffa5f811daa858b74de9ee1ddc5"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeMatch.Matches (cyclomatic 16): CodeMatch.Matches has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/CodeMatch.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a61efec848e6ac9cc89198368c3f87bcc73c86256f7cd65c1becf4c6c96bda"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodCreatorTools.EmitCallParameter (cognitive 222): MethodCreatorTools.EmitCallParameter has cognitive complexity 222 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Harmony/Internal/MethodCreatorTools.cs holds 2 of the 25 methods over the threshold \u2014 including the worst \u2014 and 209 of the 457 points over it (46%), 2.7\u00D7 the next-largest file (docs/styles/lunr.js at 78). 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":"Harmony/Internal/MethodCreatorTools.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b12bde55fb277fa3ec6bba08142ea990ed82322fb43ad919a9baaecb553de5e"}},{"ruleId":"D2","level":"warning","message":{"text":"lunr.lunr.TokenSet.fromFuzzyString (cognitive 57): lunr.lunr.TokenSet.fromFuzzyString has cognitive complexity 57 (threshold 15). Drivers by points: if/else 26 (52 pts), boolean chains 4, loops 1 (nesting depth added 26). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/styles/lunr.js"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cb15921ecc716f3298fb2ec21217334ead26690069cb9fc1dd35e3b5e4a587"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodCreator.CreateReplacement (cognitive 43): MethodCreator.CreateReplacement has cognitive complexity 43 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/MethodCreator.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f08980e33c3e6993de369bbb5d19a2d9ee7a47abb718a003f6682b079844a9a"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessTools.MethodDelegate (cognitive 40): AccessTools.MethodDelegate has cognitive complexity 40 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/AccessTools.cs"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"febc00306c18b8b2cfec0b4aebff8036decbd4f4dec0c1c1bd11d702487a0534"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeTranspiler.ShouldAddExceptionInfo (cognitive 38): CodeTranspiler.ShouldAddExceptionInfo has cognitive complexity 38 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 20 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/CodeTranspiler.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"36026d41cb7e18be9714af2435ddc4b709ef7ba6c18564a4e675cbc191672a71"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodInvoker.GetHandler (cognitive 36): MethodInvoker.GetHandler has cognitive complexity 36 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Extras/MethodInvoker.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a389f497588a221ffed022e1bd71c814767a3716ccc955f35ce90248d73ff8"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessTools.MakeDeepCopy (cognitive 34): AccessTools.MakeDeepCopy has cognitive complexity 34 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/AccessTools.cs"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"258ee82683835a63dbf59bdf2d94643c81f564521d75f143fd9aac831a524231"}},{"ruleId":"D2","level":"warning","message":{"text":"lunr.lunr.Index.query (cognitive 34): lunr.lunr.Index.query has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 6 (16 pts) (nesting depth added 21). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/styles/lunr.js"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"c036f454acb4daab4b5edc5579ec82f48c9c8800f1756541171efc6b7bd45fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialog_FormCaravan_CheckForErrors_Patch.Transpiler (cognitive 23): Dialog_FormCaravan_CheckForErrors_Patch.Transpiler has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/examples/patching-transpiler.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5e0ec87273d33c6c6fbb34d276c10ac20c747d4de72d7142b7ca4993dd002c"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodBodyReader.ReadOperand (cognitive 23): MethodBodyReader.ReadOperand has cognitive complexity 23 (threshold 15). 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":"Harmony/Internal/MethodCopier.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac1fab2e34abc3896e627102df2af5f542c4e1731daf32effa9494c850165fd"}},{"ruleId":"D2","level":"warning","message":{"text":"lunr.lunr.Builder.add (cognitive 23): lunr.lunr.Builder.add has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 4 (10 pts) (nesting depth added 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/styles/lunr.js"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b6ce91a8a8b792d197cd97e492347394a6bbc1e61990f7207725eedf0c7808"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeInstructionExtensions.LoadsConstant (cognitive 22): CodeInstructionExtensions.LoadsConstant has cognitive complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/Extensions.cs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e058f3240e35f6ecd748749ea81641ebd2ca20f6693091e8be9ff09c4dd9787"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodCreator.AddPrefixes (cognitive 21): MethodCreator.AddPrefixes has cognitive complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/MethodCreator.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a034136a3fc097d7ae63520ed3b975a81dadae80063596c33589108d60aded63"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodCreator.AddPostfixes (cognitive 21): MethodCreator.AddPostfixes has cognitive complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/MethodCreator.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94a840d44f18a2c5f97c451702fe4c8d0b5c76f719a633bcd13c9d06c953718"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeInstructionExtensions.LocalIndex (cognitive 21): CodeInstructionExtensions.LocalIndex has cognitive complexity 21 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/Extensions.cs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c2d64517a77da9e232c976e0fcc1f4860b38dc5e5bbd2c52870ee04bb93d85"}},{"ruleId":"D2","level":"warning","message":{"text":"lunr.lunr.TokenSet.intersect (cognitive 19): lunr.lunr.TokenSet.intersect has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 10). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/styles/lunr.js"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"412941d16b5d64cba719cab263d65cdf5cb1f0a3cdde6e0d61b7b0b5ef10e66e"}},{"ruleId":"D2","level":"warning","message":{"text":"lunr.lunr.QueryLexer.lexText (cognitive 19): lunr.lunr.QueryLexer.lexText has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 1 (nesting depth added 10). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/styles/lunr.js"},"region":{"startLine":2649}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6b6fd27028f99ec4094873a0eccb320fc61c2184b4a6b8d666b4c058a787ff"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodBodyReader.FinalizeILCodes (cognitive 18): MethodBodyReader.FinalizeILCodes has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/MethodCopier.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bba3331f5a4e8b3ae238ace9ecf40dbcb86d1e0e290059c31f38d575145b184"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeInstructionExtensions.IsLdarg (cognitive 18): CodeInstructionExtensions.IsLdarg has cognitive complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/Extensions.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d77bb046fb0a951fd569b2dbe1f77a4c4e37e80563c15218ef76881d48dc88"}},{"ruleId":"D2","level":"warning","message":{"text":"Emitter.RestoreArgumentArray (cognitive 17): Emitter.RestoreArgumentArray has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/Emitter.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed88d226bf15ee551bf8fa1cab9c4da7cb4fd14073d435b0c6c79eeeea370d98"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodCreatorTools.RestoreArgumentArray (cognitive 17): MethodCreatorTools.RestoreArgumentArray has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Harmony/Internal/MethodCreatorTools.cs holds 2 of the 25 methods over the threshold \u2014 including the worst \u2014 and 209 of the 457 points over it (46%), 2.7\u00D7 the next-largest file (docs/styles/lunr.js at 78). 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":"Harmony/Internal/MethodCreatorTools.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43b4cd3289b7760618dee9183ddca06e2510171cc0816205e56a8e4b497135a"}},{"ruleId":"D2","level":"warning","message":{"text":"PatchClassProcessor.BulkPatch (cognitive 17): PatchClassProcessor.BulkPatch has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Public/PatchClassProcessor.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2d0fa7cff892829b6e5c095df005cd26c50320467bef8f639c7c6aece42303"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeMatch.Matches (cognitive 17): CodeMatch.Matches has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/CodeMatch.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"03584a9d0e3d05612e1ca316c983318d54868707fa308ec3a43e6a75ddeb0f93"}},{"ruleId":"D2","level":"warning","message":{"text":"Code.ReplacementMethod (cognitive 16): Code.ReplacementMethod has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/examples/execution_with.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1782080fd0bb43250b3877137fc97b1544bb8c66132f85e5c775a84d85e583e"}},{"ruleId":"D2","level":"warning","message":{"text":"lunr.lunr.MatchData.combine (cognitive 16): lunr.lunr.MatchData.combine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts) (nesting depth added 9). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/styles/lunr.js"},"region":{"startLine":2335}}}],"partialFingerprints":{"codehealthFindingId/v1":"752db41e3d0bf2b745b66e6b6316e2c5d9e80bfc68ed07e4af4c58b360a20bec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AccessTools: TooManyMethods \u2014 846 significant lines (blank, comment-only and punctuation-only lines excluded), 119 methods. The bar is 30 methods; this is 89 over it, 3.97\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/AccessTools.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8816f2225799c8a3868baa720d79e7ae822bd55a0a5f43cf6b46ca4d2cf4178"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodeMatcher: TooManyMethods \u2014 401 significant lines (blank, comment-only and punctuation-only lines excluded), 76 methods. The bar is 30 methods; this is 46 over it, 2.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/CodeMatcher.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b7831f2743c0f7aec768a29c32e98a7b4c598983264ce4eabd0182c891b0e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: styles/lunr.js: FileTooLong \u2014 1135 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 635 over it, 2.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/styles/lunr.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3236961a0d99dd9df9e067dc0c02b78b39d1c3f500d85604ea1a27f1e32d5c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MethodCreatorTools.EmitCallParameter: MethodTooLong \u2014 EmitCallParameter runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/MethodCreatorTools.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a883fab5bca6e97680aaa43f5dcdfd663397295deb373061a28c1e6bdabbd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Tools/AccessTools.cs: FileTooLong \u2014 861 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 361 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":"Harmony/Tools/AccessTools.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df37c93e8c88b1b0ebe37bec0b08fd56f42850cb66a3799cfe6107ffffb2d381"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InlineSignatureParser.ImportCallSite: MethodTooLong \u2014 ImportCallSite runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/InlineSignatureParser.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2fa173ebfef91a10c284dc699f7cd52dbdb84443b4057aa3e70fd3cb1f9fb9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Traverse: TooManyMethods \u2014 164 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/Traverse.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b046e2e7d25c9947d0a737244308e1cd4178216c65b9008590f5f38de64434e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MethodCreator.CreateReplacement: MethodTooLong \u2014 CreateReplacement runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/MethodCreator.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"871e497274107aaed5327ab8604b954167a4aa54730d641ab0c173aacf00b955"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MethodBodyReader.ReadOperand: MethodTooLong \u2014 ReadOperand runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/MethodCopier.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faa9afbc5e9f988b5903bb66d328b84643993edb256ac7c5460c2d0620c5858"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Emitter: TooManyMethods \u2014 235 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/Emitter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b57e1f66a2d3656f5db267e15a0f96f284aad7f514b88c280c1c8b277fd04e8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodeMatch: TooManyMethods \u2014 119 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/CodeMatch.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d482060dcbc13e2c2abd62cbfbc2d082f4a6d85204329de11882d6d6d98efcca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): Harmony/Internal/ILInstruction.cs:42-73 | Harmony/Tools/Extensions.cs:321-352 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Harmony/Internal/ILInstruction.cs:42\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/ILInstruction.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc221ba8eedea8d43908174d52ad48b7952a2c23db081d59278afc64bc47366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Harmony/Internal/MethodCopier.cs:560-577 | Harmony/Internal/MethodCopier.cs:582-599 \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 \u0060Harmony/Internal/MethodCopier.cs:560\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/MethodCopier.cs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"979d37d13366e1f040c4bcf8aec018f2b67caf9aac79837e9a36618590901237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Harmony/Serialization/InnerMethodJsonConverter.cs:15-21 | Harmony/Serialization/PatchJsonConverter.cs:31-37 \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":"Harmony/Serialization/InnerMethodJsonConverter.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86c1c4cdda6adf0e940ef47389b278b683c580555a5cd19d22878e0566c62b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Harmony/Internal/CodeTranspiler.cs:68-77 | Harmony/Internal/CodeTranspiler.cs:85-94 | Harmony/Internal/CodeTranspiler.cs:106-115 | Harmony/Internal/CodeTranspiler.cs:123-132 \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":"Harmony/Internal/CodeTranspiler.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"160011d165a32ce8f4030d11302c76c62bcbfc93f93f92e4e42c442cdf91de2a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Lib.Harmony(net35): Lib.Harmony(net35): abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib.Harmony/Lib.Harmony.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2da01c8af47a77392c755aa172bf40cc12d695d686b78ba0c50565f4a9d6fc"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Lib.Harmony.Ref: Lib.Harmony.Ref: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib.Harmony.Ref/Lib.Harmony.Ref.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"430d64ca0f0b73ff66cd3a7b31903f1d5776c15aa1b79dbeb1bb59f7214972b9"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage repeated 65 times in 7 files: The identical BareSuppressMessage (\u0060SuppressMessage\u0060) appears 65 times in 7 files \u2014 one decision applied repeatedly (e.g. the same rule silenced on every overload of a fluent API), not 65 independent debts. Decide it once \u2014 at the type or project level, or by fixing the underlying pattern \u2014 rather than occurrence-by-occurrence. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/GlobalSuppressions.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c73dee232d7647cb97c7c195464aa983a29c23aafb2f1cf0c88db274096bf7d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/examples/execution_with.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c244aca1c17b32fe1ea91369796e9e32e2f6a05d754129c7aec9e12ed33ee71"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/examples/execution_with.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdea0d82c4c65348ce21677d38d9c65cd34a5d2b7ae15bded80349f7673cf76"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Public/Harmony.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b44f3fbd840e2bcb7c73179e812c7af4225adc45c49f06e8afa21361359295"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS9113 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/examples/execution_with.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e50d3491e218c9fd14fc7fbac4193b36d697655f8ea75f0c744c7d6fd502fff"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS0649 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/examples/patching-edgecases.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddda720ac655a2b118199e2665cf2e64c22a1372708feac97872782cd72471c5"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS0649 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/examples/patching-transpiler.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc65692ac0740b798446f818975be7d7ac009a6919b84f58bb4721d6a0f5f7e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/Infix.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7073aa2279e6e357c44b6961dd8801b78b541179d08e99a1a99c01186024e3"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS1591 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/AccessTools.cs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"3522aac487b0f290a39b9ac98b789e09bbd272c643b2d64b133a8c313741b18e"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS1591 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/AccessTools.cs"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67e8eb8bb056fc7ef741e058a5d201dec9b5ff97be1d9b03396be7b6a9bd4ee"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS1591 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/Code.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6936cabe0d9085b22182ea22df45568dceecadabbf4c4671c699f77babef807"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE0060 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/AccessTools.cs"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4475a51567e9d14e73e528dcfa416936e6dba32653019bfe4d4c3aa67edac9f1"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IDE1006 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/CodeMatch.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea43195e4846c2243a371ba79c7299d2d4ad9beddf5b94677867ddbcc5b041f"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CS0169, CS0414, IDE0044, IDE0051, IDE0052 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HarmonyTests/Tools/Assets/AccessToolsClass.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79832df07e572538a404d2074cb5014398734558d653e2af80fb97d6025d058"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CS9113 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HarmonyTests/Tools/Assets/AccessToolsClass.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca4ae03274b23f84c57c21732c19e2e52128434d7492c2d88546f2402c3b4cc"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: SYSLIB0011 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27c7ad75a133df3be78ce19d3d5fad66ffaea4184673bdc3ee42ab7436d6f4e"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: NU5131 \u2014 this warning is switched off for the WHOLE project, including builds years from now. It is raised by the build itself \u2014 the packaging, restore or SDK step \u2014 about the project as a whole, not by the compiler or an analyzer at a line of code, so there is no call site to narrow it to and no per-site directive that could carry a reason: this element is the only place the decision can be recorded. Say WHY here, in a comment on the entry, or fix what the rule is reporting and drop the code from the list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0472f599130e5a076288858c9dd190791bd476a16ac8831fcdcf95db9b9fd34"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022call this from within PatchTarget\u0022 repeats the code it sits on: 3 of its 3 words (call, patch, target) are already in \u0060CheckStackTraceFor(AccessTools.Method(typeof(RetrieveOriginalMethod), nameof(PatchTarget))); // call this from within Pa \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HarmonyTests/Extras/RetrieveOriginalMethod.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b604bd3e920839d2eadf2314dd71fab0140f4f9040eb632c3507c37f0642cb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Test with patches that depend on a missing patch.\u0022 repeats the code it sits on: 4 of its 5 words (test, patches, missing, patch) are already in \u0060[Test]\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HarmonyTests/Patching/PatchSorting.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b07d240675a6df6b1b34e9223e89401b165371eadb9fc41fdb32e946c4bb96"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Returns the exception Type of a Throws constraint.\u0022 repeats the code it sits on: 5 of its 5 words (returns, exception, type, throws, constraint) are already in \u0060public static Type ThrowsConstraintExceptionType(IConstraint resolvedConstraint)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HarmonyTests/TestTools.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d818e58889e36c3cfb4e284c20a6ef2a7d56b65557844b38d05558dacbe247"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Run an action in a test isolation context.\u0022 repeats the code it sits on: 5 of its 5 words (run, action, test, isolation, context) are already in \u0060public static void RunInIsolationContext(Action\u003CITestIsolationContext\u003E action) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HarmonyTests/TestTools.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e22d194d9e8142f2b6c5aad71676a6d5e452e36a4d90d94d1d9bc73069ea4d1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022AccessTools.StaticFieldRefAccess\u0022 repeats the code it sits on: 5 of its 5 words (access, tools, static, field, ref) are already in \u0060static IATestCase\u003CT, F\u003E ATestCase\u003CT, F\u003E(AccessTools.FieldRef\u003CF\u003E fieldRef) =\u003E new StaticFieldRefTestCase\u003CT, F\u003E(fieldRef);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HarmonyTests/Tools/TestFieldRefAccess.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac1c5dc99229b40f3024d91c26d946bc4cde4a94685e7fb6c959e7d5c5358f5"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060Lib.Harmony(net35)\u0060 overshoots its size bounds (13983 LoC, 295 public types across 1 namespaces). 3 of 6 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the assembly first (group each responsibility into its own namespace/folder and keep the cross-boundary members internal), since splitting a published assembly moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib.Harmony/Lib.Harmony.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf8bef65b9e3dace9807c61d617c3a364fac7bb813bab2f7fc81967f92a2e7f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060Lib.Harmony.Ref\u0060 overshoots its size bounds (13983 LoC, 295 public types across 1 namespaces). 3 of 6 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the assembly first (group each responsibility into its own namespace/folder and keep the cross-boundary members internal), since splitting a published assembly moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib.Harmony.Ref/Lib.Harmony.Ref.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9879273a1f92856bc0c24986c416c31672ec82e25710de931f808fe21467ea42"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060Lib.Harmony.Thin(net35)\u0060 overshoots its size bounds (13983 LoC, 295 public types across 1 namespaces). 3 of 6 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the assembly first (group each responsibility into its own namespace/folder and keep the cross-boundary members internal), since splitting a published assembly moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib.Harmony.Thin/Lib.Harmony.Thin.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e520c693769d69b324d3bac02ea7862be7e26f369d2259a404cbe0cc44a8f76c"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7dc8b174b593c9598083847d61cf840ab49c9d8dfa4184321fa03e7cef4b73a"},"properties":{"commitSha":"b1217f72d10bae980dd9daaae66a2a9e7a8688e3"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d495ee619e44f936366740a050a9cf1cbb0105da01caf977eba29edb3551455"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e038d3df8fe6f6687370b7dc9f979218c2d8a234b0dd1993e989bad1162ce318"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8500bd444dd29b22a2b7ee47bd5fb7323de7a5296fca9e95d0d7da12354cfcad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7dc31a9cb4781029b8c8959d9c88c82346a5c72537102bdee63a26fbe524accc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a547dc2c8dba9a94ba51c193c56d86945a4ee76831ff2233f323720bfb9e575a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"3ab3f59d902d66c766348efd3792f3f610f99851aa3cb3007e156bbd1fecb8dd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"f01c165ba04a93ddc85ea0a92b9ecbd43fb63537eee58f1af7c74123063ff812"},"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":"4bc3c7fd39ae9a8518e9c99e747d3a9584ba2d43a25d57a85a66b3099b97f736"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"b21ef51d97f04d1a8b921e635aca9ef4e877341aa2c3b0f6eaeabc61234774b6"},"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":"4998481edb5fd3544839d86593203250d4eb8236dba29de6c9f2757de74ab2a9"},"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":"8f1b6a04cc2f911caecf743a661871172d656db34668c9a543f7dd03e3d2a676"},"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":"194a1865ac28c4ae38c004b2601f2b28923cef7e57a09e701d1f0c62e1a4f16b"},"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":"6504d8d1633fd2629c17cb911821ef9d4b240f323d5e1ebac2df01ac4726a04a"},"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":"23036461c40ba94af1633700555d58802ee960d6c72fdbd6c5fe7258e46919df"},"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":"0940e2734da01cdc160acb9642316f9e9f5a8f886de67180838bffa7b9e4e8e8"},"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":"0082de57840457d8aab66e1e70bb16f003122ef8b2671c05a662ea734f8f88ed"},"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":"0f9342756ad452f5011348201636930f4433450b695c96c94c495a18a8735ced"},"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":"68b7454e9fbf360e3abc139f8b7cceb93a9b1aea270e6bee5d14758aaa6e51d8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"704fbed9c6e522898ed12b4fcf02c1f6276093587dcf166fbf0b79ab605624a2"},"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":"f36121c50c77bc51f9d62349e385fa3e2ef35bf1ad2a00ae5ea0871d76dc55f7"},"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":"4cbf0bcc692fa1da23537b378fb55b6e9e6cfd4dcf6640ed7a12556d5d86944e"},"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":"b1568d22798695269cc54c7aa761fe7779cd83bc7ac77c4d7fbcbedd14d81908"},"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":"ba1515d32d9823876aed29b4fc4ba3cdc152dd864511ce45a0221d8eed54b432"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8c800c6b44695bc077e73941a4be322550d1deb60fb474e9b696e74e43b4bbd"},"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":"a89bfd078d302f1b25266ac01f2b489bdf9a814bb9cb5dff8cf284fdd909423a"},"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":"193f0ab765fe988c7c8bb2115bc61501e2a26ce0b30da32f178e9ba3aa55e308"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1025baee9fcae690231bb4a85ca3d7f28a624f74b93e5f973b3a6693504757b0"},"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":"08034f41a598559cb2fbd8ce116cab8d3ca278f1be5e4c7e48fb1e39328be232"},"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":"8211854aac00b0df3c685099215c6118d6b8f4ffff496bd468246f6d1924dbcb"},"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":"b7decaf7bf6a3b924ea3147bd7bf20c0340374b7fdcedaf77ddb96e244a86c1a"},"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":"fe12d0027249773044e53ca68675bd1db6b63145064a4572d54503f769134269"},"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":"53cb0308e087e639cdf0ebcf2f3c4fd9eff9c9238f96c37919d82642003349ab"},"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":"c1c989f93779db2de132b1d5a64a3ef5ffc664a17f53fce97faf1d3f57305149"},"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":"0296c9d06d17d7a19e1425d6c4ea8f8415b37ef5690997d65c80ea2d66c759c1"},"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":"079486ef2f7d3876ee77855c8eadd65f780e674121b36c5628f4b43aa6871efa"},"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":"681d6fe9461179aae1912af54490f38a04cae532649e8760d72d79bb3f46777c"},"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":"4e894c9a2bf079baff972f459455c9cebc3ceef26a7d4e2d8a22a6009d5c2b95"},"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":"3fef84eb7a38121dbe03d81cfaefd04c4a006600e19e79fad9a27610ef7d241a"},"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":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63bea608fd98974a5a312ed989a52706c988bfdbb0e401f0928bf7ee4f23d1b9"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b20fd389adec6ff191cf772778627da8ec9844f9c5fdbba339a4bd2c9490658"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Emitter.cs \u2194 MethodCopier.cs: \u0060Harmony/Internal/Emitter.cs\u0060 and \u0060Harmony/Internal/MethodCopier.cs\u0060 change together 55% of the time (12 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u00609705813f\u0060 refactored MethodPatcher to minimum; \u00607b5158ae\u0060 adds better detection for methods that end in dead code; \u00600eccc3fc\u0060 Use Cecils offset counter, add variables to debug output \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/Emitter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e39d0e61b6ed681d84a23e791d08ca35e9b4e1f15159aada22da5a5f575cc0"}},{"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":"6b1273c81a1ca9b5eb097489b2567416912a145951451afeec807249ffa5e5b8"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Code: \u0060Code\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (someArgument; e.g. \u0060someArgument\u0060 at line 31). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/examples/execution_without.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee14c38b021e478495c8509abc88709703d08f48b5435d4840fd75a380e447"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: AccessTools: \u0060AccessTools\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (allTypesCached; e.g. \u0060allTypesCached\u0060 at line 95). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/AccessTools.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6ec4c3dd4120ea27a6017e75054649dd322939cece9bd7198c81ebb489f808"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: PatchInfoSerialization: \u0060PatchInfoSerialization\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (useBinaryFormatter; e.g. \u0060useBinaryFormatter\u0060 at line 31). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Serialization/PatchInfoSerialization.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"373ff15bb1e3172a956c5665f92eb16d1af89bd3021f8347052960d3a15236eb"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 12 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/test.yml"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060Directory.Build.props\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"538f1b9f9315f6252aed7104ae76eaa845200eff1264e5871b4a5858f2c2d980"}},{"ruleId":"P4","level":"warning","message":{"text":"No deployment automation: No release automation was found in CI \u2014 neither a deploy stage (Helm/Kubernetes/compose manifests, an orchestrated rollout) nor a publish job that ships the built artifact. Releases appear to be run by hand, which is slower, less repeatable and harder to reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7a7f38718309412c2d2c2c0663260a3d160de9a5a60f3915755be16386d3f1e8"}},{"ruleId":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 0 versioned entries, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/FileLog.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"972d19ac6590f347c464e645361245c26e025db83221d5861e2b8b75b9fff904"}},{"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060AccessTools.IsValue(type) is false \u0026\u0026 AccessTools.IsStruct(type) is false\u0060 appears character-identically in 2 files \u2014 Harmony/Internal/MethodCreatorTools.cs, Harmony/Internal/MethodPatcherTools.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/MethodCreatorTools.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6acdea96f3f2c3b8bce59629fb4fec8169a7c66a8e25820654da9311cb3733c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$(\u0022meta[property=\u0027docfx\\\\:tocrel\u0027]\u0022).attr(\u0022content\u0022) || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 Documentation/templates/harmony/styles/docfx.js, docs/styles/docfx.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/templates/harmony/styles/docfx.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"03df2de70cd5607338bcac69ffda3e5a5a55b1a357b3bf14e5f510cf7ab81264"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.hasOwnProperty(name_1) \u0026\u0026 args[name_1] !== \u0027\u0027 \u0026\u0026 args[name_1] !== null \u0026\u0026 args[name_1] !== undefined\u0060 appears character-identically in 2 files \u2014 Documentation/templates/harmony/styles/docfx.js, docs/styles/docfx.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/templates/harmony/styles/docfx.js"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"f207b50d6c56d106682f1f43c21ed9c7ba56d1b2db954cea0d9ae46ab57ce25b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060href === undefined || href === \u0027\u0027 || href[0] === \u0027/\u0027\u0060 appears character-identically in 2 files \u2014 Documentation/templates/harmony/styles/docfx.js, docs/styles/docfx.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/templates/harmony/styles/docfx.js"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8487ecdb128e2356248fdaaf1ebdd38ad647f88787b368c6fe017ab705889b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name \u0026\u0026 name.toLowerCase().indexOf(text.toLowerCase()) \u003E -1\u0060 appears character-identically in 2 files \u2014 Documentation/templates/harmony/styles/docfx.js, docs/styles/docfx.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/templates/harmony/styles/docfx.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89193fdd77e2b62d50eacf973d6ba8bc1fc2abf8e74261ffaf8f56a29d7db88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start \u003C= 0 || end \u003C= 0 || start \u003E end || start \u003E lines.length\u0060 appears character-identically in 2 files \u2014 Documentation/templates/harmony/styles/docfx.js, docs/styles/docfx.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/templates/harmony/styles/docfx.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff60c99afd24e1687e39fe17912ea96cbb6cd554952cb71f6ba88bd62351e53"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tab.condition === null || state.selectedTabs.indexOf(tab.condition) !== -1\u0060 appears character-identically in 2 files \u2014 Documentation/templates/harmony/styles/docfx.js, docs/styles/docfx.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/templates/harmony/styles/docfx.js"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ca5e200f3d60b6a0df9ebfc0063d72d671f193c3b784e89cb477e4b8c54070"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tab.visible \u0026\u0026 arraysIntersect(state.selectedTabs, tab.tabIds)\u0060 appears character-identically in 2 files \u2014 Documentation/templates/harmony/styles/docfx.js, docs/styles/docfx.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/templates/harmony/styles/docfx.js"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae181f47e187b8cc6f43fdb3f0dc1bd985ba84b08ff04d6ded666b34fd52fb9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060top !== originalTop \u0026\u0026 event instanceof MouseEvent\u0060 appears character-identically in 2 files \u2014 Documentation/templates/harmony/styles/docfx.js, docs/styles/docfx.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/templates/harmony/styles/docfx.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0979d5daef3a71600732213867a331819ec38c7a881c8d9d8a8e5c8e9a2d6df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof article == \u0027undefined\u0027 || typeof article.content == \u0027undefined\u0027\u0060 appears character-identically in 2 files \u2014 Documentation/templates/harmony/styles/docfx.js, docs/styles/docfx.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Documentation/templates/harmony/styles/docfx.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9596828170afe6d46ee0cea99108f4f99b318db7b6b18771565c48059249306a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reader.Read() \u0026\u0026 reader.TokenType != JsonTokenType.EndArray\u0060 appears character-identically in 2 files \u2014 Harmony/Serialization/InnerMethodJsonConverter.cs, Harmony/Serialization/PatchJsonConverter.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Serialization/InnerMethodJsonConverter.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba8cbc973edb81fbb645dab840e0f59b01e1e1ad40fdf30000f7604add61bff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type == typeof(long) || type == typeof(ulong)\u0060 appears character-identically in 2 files \u2014 Harmony/Internal/Emitter.cs, Harmony/Internal/MethodCreatorTools.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/Emitter.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ebf2b21d8e6e6a36aab73e4b90024b277837a74ac85db52426f536fe881e18"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 54 rejects \u0060standin\u0060 and line 55 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060standin.method is null\u0060 is true of a value that is NOT null: it reads a member of \u0060standin\u0060, so it can only be evaluated on a non-null \u0060standin\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060standin\u0060 is present but fails that test is told it was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/PatchFunctions.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed225cad179c964359956b0f4994987f0350aca7816973dda968c4ab64f50e9"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 541 rejects \u0060instructions\u0060 and line 542 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060instructions.Any(i =\u003E i == null)\u0060 is true of a value that is NOT null: it reads a member of \u0060instructions\u0060, so it can only be evaluated on a non-null \u0060instructions\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060instructions\u0060 is present but fails that test is told it was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/CodeMatcher.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b859d5fbc8cc90aa7c11b383f07d6746ba01346003b194580ab769607e968ecb"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 557 rejects \u0060instructions\u0060 and line 558 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060instructions.Any(i =\u003E i == null)\u0060 is true of a value that is NOT null: it reads a member of \u0060instructions\u0060, so it can only be evaluated on a non-null \u0060instructions\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060instructions\u0060 is present but fails that test is told it was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/CodeMatcher.cs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"626003fede1ad08d2def0f2ac4a3c853e299081fc81149b4abc8baea2d996d35"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 588 rejects \u0060instructions\u0060 and line 589 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060instructions.Any(i =\u003E i == null)\u0060 is true of a value that is NOT null: it reads a member of \u0060instructions\u0060, so it can only be evaluated on a non-null \u0060instructions\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060instructions\u0060 is present but fails that test is told it was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/CodeMatcher.cs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e8ee3925197c101f51e8b0ac3ebedb6df47acd8b7b78fb3196225be4256662"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 606 rejects \u0060instructions\u0060 and line 607 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060instructions.Any(i =\u003E i == null)\u0060 is true of a value that is NOT null: it reads a member of \u0060instructions\u0060, so it can only be evaluated on a non-null \u0060instructions\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060instructions\u0060 is present but fails that test is told it was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/CodeMatcher.cs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fca7e02cc58374da6ccc0c2315b51dcaf34e0794da3d01d3c992d308ee4c7d"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 632 rejects \u0060instructions\u0060 and line 633 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060instructions.Any(i =\u003E i == null)\u0060 is true of a value that is NOT null: it reads a member of \u0060instructions\u0060, so it can only be evaluated on a non-null \u0060instructions\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060instructions\u0060 is present but fails that test is told it was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/CodeMatcher.cs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f90d96e827872c9839eaa4d72085e4949d9bb236ba186a5d9c98947a8741fd"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060arg\u0060: line 40 writes \u0060arg?.Mode\u0060, which says \u0060arg\u0060 can be null, but line 43 then dereferences it directly as \u0060arg.NewName\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060arg\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060arg\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/InjectedParameter.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ea37380c0f45db0113e1eba9325ffc038aa960cabcad3c4f422359d3ac8d2a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060original\u0060: line 300 writes \u0060original?.FullDescription\u0060, which says \u0060original\u0060 can be null, but line 314 then dereferences it directly as \u0060original.FullDescription\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060original\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060original\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Public/PatchClassProcessor.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b823c26e7036bb747f0288afca0c69d32df6e1d8ecdbb255f2bc6c554dfc0b5e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060arrayResult\u0060: line 2232 assigns it with \u0060as object[]\u0060, which hands back null rather than throwing when the value is not a \u0060object[]\u0060, but line 2238 then dereferences it directly with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060arrayResult\u0060 once before the first use and handle the null case, or cast with \u0060(object[])\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/AccessTools.cs"},"region":{"startLine":2238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee36d435b3142958c77a84b63187a708af7114b2d9ddff255c910a36576a7ca"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060originalArray\u0060: line 2233 assigns it with \u0060as object[]\u0060, which hands back null rather than throwing when the value is not a \u0060object[]\u0060, but line 2238 then dereferences it directly with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060originalArray\u0060 once before the first use and handle the null case, or cast with \u0060(object[])\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Tools/AccessTools.cs"},"region":{"startLine":2238}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ec1eb16cf59edc897182527470a84a03e5138adcea2f78e632a87e8fceff64"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 0/2 NRT-eligible project(s) enable \u003CNullable\u003Eenable\u003C/Nullable\u003E (projects targeting a pre-C#-8 framework are excluded \u2014 NRTs aren\u0027t available there). NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetArgumentAttributes\u0060 swallows \u0060NotSupportedException\u0060 into \u0060return [];\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/PatchArgumentExtensions.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a50e084f72b6408a3e4a14a5d30cc196ab562fb3b365d6b59570348e8376cfc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetArgumentAttributes\u0060 swallows \u0060NotSupportedException\u0060 into \u0060return [];\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Harmony/Internal/PatchArgumentExtensions.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"413140b1c4625631db211dd4c581d63f268b27275a7ba6852a65a9f930bb4c4e"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-321","guid":"0ce564a5-a44c-3358-b3db-317712e6e019","name":"Use of Hard-coded Cryptographic Key","shortDescription":{"text":"Use of Hard-coded Cryptographic Key"},"helpUri":"https://cwe.mitre.org/data/definitions/321.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"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":48,"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."]}]}