{"$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":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"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":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"PlayerData.CountJournalEntries (cyclomatic 327): PlayerData.CountJournalEntries has cyclomatic complexity 327 (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":"Knight/PlayerData.cs"},"region":{"startLine":5633}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e694e7446c777b1207f53a2b6482b7272228af2723fa4eba2d677d0d298a8b7"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.FixedUpdate (cyclomatic 101): HeroController.FixedUpdate has cyclomatic complexity 101 (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":"Knight/HeroController.cs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be2578e6e65f80e486e897c45aa1e91b4f28da7da9c7c8de059521758c0bbfe"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.Update (cyclomatic 100): HeroController.Update has cyclomatic complexity 100 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8015407e6aecde4ecb9115611377e8fbb812cd3f00bb58dda8d3d0b7f041ce"}},{"ruleId":"D1","level":"warning","message":{"text":"Patch_TinkEffect_Hit.TryDoTinkReactionNoDamagerWithoutDamageEnemies (cyclomatic 99): Patch_TinkEffect_Hit.TryDoTinkReactionNoDamagerWithoutDamageEnemies has cyclomatic complexity 99 (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":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"887d3a51ce747268af1ae008fbad2052629cabbef9e70b0746d11519f9fd2fec"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.TakeDamage (cyclomatic 70): HeroController.TakeDamage has cyclomatic complexity 70 (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":"Knight/HeroController.cs"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7bc75ac30a90850749550aca7f453fcf7df282181acb3092b06e1c52f33f96"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroAnimationController.UpdateAnimation (cyclomatic 69): HeroAnimationController.UpdateAnimation has cyclomatic complexity 69 (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":"Knight/HeroAnimationController.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"686bea637ced5ffa2af83ae29af648529b37b11a031a29095505c2a641b1c856"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.Attack (cyclomatic 61): HeroController.Attack has cyclomatic complexity 61 (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":"Knight/HeroController.cs"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"9286f45a26c408918384a4bde042a6b6acaa60d4035e0595354ea2c9518ec8ff"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerData.CountGameCompletion (cyclomatic 53): PlayerData.CountGameCompletion has cyclomatic complexity 53 (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":"Knight/PlayerData.cs"},"region":{"startLine":5252}}}],"partialFingerprints":{"codehealthFindingId/v1":"606fece4cfecf23b6069c2b69dea750ebc7311857a33dab92edb9cd304ac1dbe"}},{"ruleId":"D1","level":"warning","message":{"text":"Patch_Mask_Update.ModifiedUpdate (cyclomatic 50): Patch_Mask_Update.ModifiedUpdate has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Patch_Mask_Update.OrigUpdate) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchMask.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56b4c1ac994d30a3a2cde60c88ad39e5693324dc0af38c57dec0e48698f7208"}},{"ruleId":"D1","level":"warning","message":{"text":"Patch_Mask_Update.OrigUpdate (cyclomatic 50): Patch_Mask_Update.OrigUpdate has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Patch_Mask_Update.ModifiedUpdate) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchMask.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"371fb446df1cad33f8f76fe07b8be7136c39fd37b999eff2462585c86f024768"}},{"ruleId":"D1","level":"warning","message":{"text":"EntryLine.SelectLineButton (cyclomatic 42): EntryLine.SelectLineButton has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdf5315302ca655bb004b93dffc499999dfa18838e4f02bf445fbe0d4e3e548"}},{"ruleId":"D1","level":"warning","message":{"text":"PatchDoMethodCall.Modified_DoMethodCall (cyclomatic 42): PatchDoMethodCall.Modified_DoMethodCall has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchCallMethodProper.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cba2e9e9e6ea1e860702eef2090cb40cf9bc106afecd919dd3eb57300f6952"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerData.CalculateNotchesUsed (cyclomatic 41): PlayerData.CalculateNotchesUsed has cyclomatic complexity 41 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (PlayerData.CountCharms) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":5046}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fcb5fd8f3aec04f2bd44eef9d2797e61840518fb9882ddb7707f25cfe4e900"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerData.CountCharms (cyclomatic 41): PlayerData.CountCharms has cyclomatic complexity 41 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (PlayerData.CalculateNotchesUsed) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":5468}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffda721ee4c08012c44aba6c7745bc88264d5d07ae853e9250376bbdea93ecbc"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.EnterScene (cyclomatic 39): HeroController.EnterScene has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2758}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed31a6c0c1c4eb51eb3974689f673f62dd0ecca0f147da32dd72a64200abd479"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.LookForQueueInput (cyclomatic 31): HeroController.LookForQueueInput has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":3739}}}],"partialFingerprints":{"codehealthFindingId/v1":"963d681ab431ee065b2b914130cce3e5c066e02e448ba64ca6b6f75bb4465680"}},{"ruleId":"D1","level":"warning","message":{"text":"NailSlash.OnTriggerEnter2D (cyclomatic 31): NailSlash.OnTriggerEnter2D has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/NailSlash.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccdacdb719034edb8697f30a992bd82b31fcbb00196102ba7df83da0f097997"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.LookForInput (cyclomatic 30): HeroController.LookForInput has cyclomatic complexity 30 (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":"Knight/HeroController.cs"},"region":{"startLine":3665}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe7b0af8a7bf63b8ed77aa2033aacba774dbf2c840a558b44bc1ab387c9230c"}},{"ruleId":"D1","level":"warning","message":{"text":"WithModMenu.GenerateMenu (cyclomatic 28): WithModMenu.GenerateMenu has cyclomatic complexity 28 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 11 belong to 6 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":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6def44f85e41b2f6bf5221cbd8f7bf9daf9852b9f3d0cf1207199c9467f6f4"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.OnCollisionEnter2D (cyclomatic 25): HeroController.OnCollisionEnter2D 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":"Knight/HeroController.cs"},"region":{"startLine":5281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5788fa99aee21639632ca1f5e8844915fab171edee0c77be42b4e1de8b0bc18c"}},{"ruleId":"D1","level":"warning","message":{"text":"PreProcess.SetErrorShaders (cyclomatic 22): PreProcess.SetErrorShaders has cyclomatic complexity 22 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Modules/Preprocess.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b417684c3c6e5e4e2fe2561c3e5c23cb872fe47da4093f9219b11e2934a307c"}},{"ruleId":"D1","level":"warning","message":{"text":"EntryLine.Validate (cyclomatic 21): EntryLine.Validate has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"41698de92797430e7254a9650a3ee5a7cc0004166b3a1d30907f1c69a586879f"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.CheckStillTouchingWall (cyclomatic 21): HeroController.CheckStillTouchingWall has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":4867}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17ac5397552bf1485def2cef9e72cde548daf9084439a0b6769404c3614657b"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.HeroDash (cyclomatic 20): HeroController.HeroDash has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":3951}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdeda461b350228dab7aeeb52e9ee3e0d385b5a205123ad176c484fbdbc497f6"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.CheckForTerrainThunk (cyclomatic 20): HeroController.CheckForTerrainThunk has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":4798}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edd54d2ed4b26ed6209d844f08b4140c16a25f07b64161c22b648e1211e8715"}},{"ruleId":"D1","level":"warning","message":{"text":"Patch_NailSlash_OnTriggerEnter2D.Prefix (cyclomatic 16): Patch_NailSlash_OnTriggerEnter2D.Prefix has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchKnight/PatchNailSlash.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9f1b9aaac0c683104f3ccd42ea37c851e3bce4316587d9b4e5f1bd7d6d32db"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.FailSafeChecks (cyclomatic 16): HeroController.FailSafeChecks has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: HeroController.CanSuperDash (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":4386}}}],"partialFingerprints":{"codehealthFindingId/v1":"08de028b15e016251c175c9f70509eb8b0e72a1ce71258df379bcfc11383800d"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.OnCollisionStay2D (cyclomatic 16): HeroController.OnCollisionStay2D has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: HeroController.CanSuperDash (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":5346}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb98d4a761f46daefeb50a376ea31ab068ad439a87c90942b6285733c772337c"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroController.OnCollisionExit2D (cyclomatic 16): HeroController.OnCollisionExit2D has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: HeroController.CanSuperDash (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":5401}}}],"partialFingerprints":{"codehealthFindingId/v1":"049d9e359bc265afb49a1f85d28c1dcc1164d2b10bdacc2419b0ac1474c11ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerData.CountJournalEntries (cognitive 326): PlayerData.CountJournalEntries has cognitive complexity 326 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":5633}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fc8e504fce2b484493ca179302bfa235751e6f92e27c89ba21674e07bf53df"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.FixedUpdate (cognitive 173): HeroController.FixedUpdate has cognitive complexity 173 (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":"Knight/HeroController.cs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e5a0078527c337128a8178620250b4ca047bd157b4b93f03f7b9602548e3e8"}},{"ruleId":"D2","level":"warning","message":{"text":"EntryLine.SelectLineButton (cognitive 172): EntryLine.SelectLineButton has cognitive complexity 172 (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":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8094da53b9ec691988822598be40e38321a7065b70a98f940d1b5973bb69de"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.Update (cognitive 163): HeroController.Update has cognitive complexity 163 (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":"Knight/HeroController.cs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"210f8d94e2d786f60bd8bb0182695cfe5746a38aa62d50e5eedbc7b503c503a6"}},{"ruleId":"D2","level":"warning","message":{"text":"Patch_TinkEffect_Hit.TryDoTinkReactionNoDamagerWithoutDamageEnemies (cognitive 147): Patch_TinkEffect_Hit.TryDoTinkReactionNoDamagerWithoutDamageEnemies has cognitive complexity 147 (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":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"adba99ab4c056a79958f35572a38895bf65ec70eb654b70c2e2a8974c232f17a"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroAnimationController.UpdateAnimation (cognitive 131): HeroAnimationController.UpdateAnimation has cognitive complexity 131 (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":"Knight/HeroAnimationController.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"032230af12c9e7fec27ea98efa359e64eec9d7ab488334228b12ab56ef008850"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.Attack (cognitive 130): HeroController.Attack has cognitive complexity 130 (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":"Knight/HeroController.cs"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"900cfb6be035bb4991a703ab5d17bc55ab931729e6da7a21a7f2df694bee8162"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.TakeDamage (cognitive 118): HeroController.TakeDamage has cognitive complexity 118 (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":"Knight/HeroController.cs"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d795bbc805506df4d89eead611d2453e4f15e20b760afbe26a69699f819343"}},{"ruleId":"D2","level":"warning","message":{"text":"Patch_Mask_Update.ModifiedUpdate (cognitive 91): Patch_Mask_Update.ModifiedUpdate has cognitive complexity 91 (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 shape REPEATS in the file: one other method here (Patch_Mask_Update.OrigUpdate) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchMask.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"99583eaa7548ba87761feadc565bbf27b900f9591730c9df5d272474361eba93"}},{"ruleId":"D2","level":"warning","message":{"text":"Patch_Mask_Update.OrigUpdate (cognitive 91): Patch_Mask_Update.OrigUpdate has cognitive complexity 91 (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 shape REPEATS in the file: one other method here (Patch_Mask_Update.ModifiedUpdate) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchMask.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c15283ffb41834209910325a5c54d142ba552426750a1846d29f2d5440e667"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.EnterScene (cognitive 78): HeroController.EnterScene has cognitive complexity 78 (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":"Knight/HeroController.cs"},"region":{"startLine":2758}}}],"partialFingerprints":{"codehealthFindingId/v1":"063d571225c9e1f3faadea0942238ec81c9b87b5bb83b0d09a7addda74ef66bb"}},{"ruleId":"D2","level":"warning","message":{"text":"PatchDoMethodCall.Modified_DoMethodCall (cognitive 63): PatchDoMethodCall.Modified_DoMethodCall has cognitive complexity 63 (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":"KIS/Patches/PatchCallMethodProper.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d648b4ed6f786666bd146f9db36371977dee5ee59c63f24580c97f03372ce009"}},{"ruleId":"D2","level":"warning","message":{"text":"WithModMenu.GenerateMenu (cognitive 54): WithModMenu.GenerateMenu has cognitive complexity 54 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 26 belong to 6 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":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32e4a3cf6bc8374243a50a3ad5848582b9753b852d4eb80b41a65ce2ba2ded2"}},{"ruleId":"D2","level":"warning","message":{"text":"NailSlash.OnTriggerEnter2D (cognitive 50): NailSlash.OnTriggerEnter2D has cognitive complexity 50 (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":"Knight/NailSlash.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdcca894edcc0d2ac1e7659e99cd2c3a90e1e945cc6ee5fb690a732b267d63c"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerData.CountGameCompletion (cognitive 50): PlayerData.CountGameCompletion has cognitive complexity 50 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":5252}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d0e09703c8963934ec980a24f1c3c9ddfc0d292ac197dd79bf9b482f1b70d4"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.CheckForTerrainThunk (cognitive 43): HeroController.CheckForTerrainThunk has cognitive complexity 43 (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":"Knight/HeroController.cs"},"region":{"startLine":4798}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbd5544030856406fc096924c5a2f465fbd9cf722bae00c0a8a0cc67beb8cab"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerData.CalculateNotchesUsed (cognitive 40): PlayerData.CalculateNotchesUsed has cognitive complexity 40 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (PlayerData.CountCharms) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":5046}}}],"partialFingerprints":{"codehealthFindingId/v1":"6415f89a10fb4669b9fea3142576fb68f716a48c3f590785faedc99de58ef460"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerData.CountCharms (cognitive 40): PlayerData.CountCharms has cognitive complexity 40 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (PlayerData.CalculateNotchesUsed) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":5468}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a12ce79363aa6093abb1d6d36f59d8f6e15237eed56f81e79eaa03ad7998212"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.OnCollisionEnter2D (cognitive 38): HeroController.OnCollisionEnter2D has cognitive complexity 38 (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":"Knight/HeroController.cs"},"region":{"startLine":5281}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5fccc8672507b80119760b1557b53a99fec1951ebefae8274840d005231e44"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.LookForQueueInput (cognitive 36): HeroController.LookForQueueInput has cognitive complexity 36 (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":"Knight/HeroController.cs"},"region":{"startLine":3739}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf0e5b95bc1bfa2adae6d9cbc590e4fb2fc23f842f779105fdc02696930d7f3"}},{"ruleId":"D2","level":"warning","message":{"text":"PreProcess.SetErrorShaders (cognitive 35): PreProcess.SetErrorShaders has cognitive complexity 35 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Modules/Preprocess.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c7e1ddb87ea62ca1feeff39e97032ceee21129317cdbb2d8b7a0e7ca747792"}},{"ruleId":"D2","level":"warning","message":{"text":"EntryLine.Validate (cognitive 34): EntryLine.Validate has cognitive complexity 34 (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":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"064fa26eca4769419eea744255d98cb2cc416da31b170c5b3cbff330055a73cf"}},{"ruleId":"D2","level":"warning","message":{"text":"Patch_NailSlash_OnTriggerEnter2D.Prefix (cognitive 33): Patch_NailSlash_OnTriggerEnter2D.Prefix has cognitive complexity 33 (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":"KIS/Patches/PatchKnight/PatchNailSlash.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd99f6c96fb19c54398ce1d4dd6e01f46ca86bf709142f3419c3775a3df250e"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.CheckStillTouchingWall (cognitive 33): HeroController.CheckStillTouchingWall has cognitive complexity 33 (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":"Knight/HeroController.cs"},"region":{"startLine":4867}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae00c2346a5732a95e5f323ac6833401f5f0ecdc892087a9de2a7422517805b"}},{"ruleId":"D2","level":"warning","message":{"text":"Patch_DamageHeroDirectlyV2_OnEnter.ModifiedOnEnter (cognitive 25): Patch_DamageHeroDirectlyV2_OnEnter.ModifiedOnEnter has cognitive complexity 25 (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":"KIS/Patches/PatchDamageHeroDirectlyV2.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db342a14408434184d26b854b2ac39cfdf258607e41462928caa689abb6381f"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.FallCheck (cognitive 25): HeroController.FallCheck has cognitive complexity 25 (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":"Knight/HeroController.cs"},"region":{"startLine":4293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3454d3b64bf150ae22610bdf7c0ecc438d9f3de20ae25dfd5e8e0b725b66bae5"}},{"ruleId":"D2","level":"warning","message":{"text":"Patch_CharmDisplay_Start.Postfix (cognitive 24): Patch_CharmDisplay_Start.Postfix has cognitive complexity 24 (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":"KIS/Patches/PatchCharmDisplay.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"564a95522184597d0492ad99da8247dba7909547bcb5d0d46052e31fcc895aba"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.Respawn (cognitive 24): HeroController.Respawn has cognitive complexity 24 (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":"Knight/HeroController.cs"},"region":{"startLine":3096}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d535c88926f1f4dd12b9b824830289efc234b5cb5cb2f49fda895deb4e709d7"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.LookForInput (cognitive 24): HeroController.LookForInput has cognitive complexity 24 (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":"Knight/HeroController.cs"},"region":{"startLine":3665}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06096e890bfffe195fc90db81ece7a795e8cc5c0bd6b4cf8b195722215622c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Patch_SetPosition_DoSetPosition.Postfix (cognitive 23): Patch_SetPosition_DoSetPosition.Postfix has cognitive complexity 23 (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":"KIS/Patches/PatchHeroRelatedAction.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c257830299f0f143577646da58866793dae5a0f0826aaa9e622b43bf32dfc8e"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.HeroDash (cognitive 23): HeroController.HeroDash has cognitive complexity 23 (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":"Knight/HeroController.cs"},"region":{"startLine":3951}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee27baa5f07a3a54c1549ac95fc797538ca947918924f9be421c9d0f77504451"}},{"ruleId":"D2","level":"warning","message":{"text":"KnightInSilksong.ToggleKnight (cognitive 20): KnightInSilksong.ToggleKnight has cognitive complexity 20 (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":"KIS/KnightInSilksong.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"099b1b439e1066890e173ebb7852a20514b3b30094f3bbfadf77d8d6af64db21"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.OnCollisionStay2D (cognitive 20): HeroController.OnCollisionStay2D has cognitive complexity 20 (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":"Knight/HeroController.cs"},"region":{"startLine":5346}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e589525a84363bcfa5637a618eab4681df6b1e6774a7d8316ab7e6de3b82a0"}},{"ruleId":"D2","level":"warning","message":{"text":"PatchCogMultiHitter.OnTriggerEnter2DForKnight (cognitive 19): PatchCogMultiHitter.OnTriggerEnter2DForKnight has cognitive complexity 19 (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":"KIS/Patches/PatchCogMultiHitter.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d23fa7c334283afb428a75330f646191a20ad8b8f4f3a6e1b9f6e53d1aeeb8d"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.FailSafeChecks (cognitive 18): HeroController.FailSafeChecks 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":"Knight/HeroController.cs"},"region":{"startLine":4386}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da3f8658f90af2487bef769c3220d8e2f87145ed7d70b9ad29f7b4c10d14c10"}},{"ruleId":"D2","level":"warning","message":{"text":"WithDebugMod.MainPanel_Postfix (cognitive 17): WithDebugMod.MainPanel_Postfix has cognitive complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 485, 501, 514, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab4cb981e3f6c8fabdd4ff9c8d46844ec41d159e6a8d1d34056d186d96dee58"}},{"ruleId":"D2","level":"warning","message":{"text":"Patch_KnightHatchling_OnEnable.Postfix (cognitive 17): Patch_KnightHatchling_OnEnable.Postfix 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":"KIS/Patches/PatchKnightHatchling.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0686d3ec04f9545769f9ae82fd7d3dee1040775fda620bce9a9134080091a5b"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroController.FinishedEnteringScene (cognitive 17): HeroController.FinishedEnteringScene has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":4075}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72d4ea7eb2c7b37d3c3a6142ab26f27c34e10fe5c81dbf76aed8f5125ee75d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Patch_DamageHero_TryClashTinkCollider.Prefix (cognitive 16): Patch_DamageHero_TryClashTinkCollider.Prefix 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":"KIS/Patches/PatchDamageHero.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b023fe36940ccd2ed5d5a87d2e15706667d71d3de8bc11cdd2d745b1f2f5a572"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerData.SetupNewPlayerData: MethodTooLong \u2014 SetupNewPlayerData runs 1600 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1500 over it, 16.00\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":"Knight/PlayerData.cs"},"region":{"startLine":6962}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2dd61c45f7e904e53589450a235219314c7cb77c004a6cf17c227879b1139f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Knight/PlayerData.cs: FileTooLong \u2014 5216 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4716 over it, 10.43\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":"Knight/PlayerData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a4e46b2a3157d24eec91549de5858758b04828ef794605ed557029243964cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HeroController: TooManyMethods \u2014 3096 significant lines (blank, comment-only and punctuation-only lines excluded), 206 methods. The bar is 30 methods; this is 176 over it, 6.87\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":"Knight/HeroController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6bdbe344c21367efa385480835a4fa1b3d9257612650a1353ed080738420c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerData.CountJournalEntries: MethodTooLong \u2014 CountJournalEntries runs 674 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 574 over it, 6.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":5633}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4cf64536ccfbd2e87a413b1206fa0cccda00e7cdda24b3f54071b606a4a7dd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerData.InitMapBools: MethodTooLong \u2014 InitMapBools runs 670 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 570 over it, 6.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":3113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4590f384df42b0cbd66fe3ad7ee128562a465844de172fcfc730c39f56406140"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Knight/HeroController.cs: FileTooLong \u2014 3103 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2603 over it, 6.21\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":"Knight/HeroController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0c9167299a34e7db31f7f4477acc4558c74872e962b8fd76dba524f1bca970"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Compatibility/WithModMenu.cs: FileTooLong \u2014 1163 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 663 over it, 2.33\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":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa3f1b4f3b6bbaf7cf3e4789b189e1f6372cb18a05cdb0bfabf3bd5d340899b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WithModMenu.GenerateMenu: MethodTooLong \u2014 GenerateMenu runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3cd44fbf75dbbf56f8e93a2b2a2e79524897653c5840f6f7a56adbcb3f30c9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Patch_TinkEffect_Hit.TryDoTinkReactionNoDamagerWithoutDamageEnemies: MethodTooLong \u2014 TryDoTinkReactionNoDamagerWithoutDamageEnemies runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"920a15559e6def32fe72544098af8667f5f9a521a43b4570f7a342f9ebf31242"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HeroController.Update: MethodTooLong \u2014 Update runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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":"Knight/HeroController.cs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb7647b765ff772592ca851280a506cb19ec359b8df8e2fe8e83f71a5108c18"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlayerData: TooManyMethods \u2014 5210 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d1d34e4ccf74df963ddde4e74b344ebf834dd6e4824267be5e7f808abbe83c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HeroController.EnterScene: MethodTooLong \u2014 EnterScene runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2758}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd00dc783c7cac459286a54216055c0afc34db31931a22732c610d0af5ab02a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EntryLine: ClassTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 258 over it, 1.65\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":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19252434d8c47049da05ebb86ce98b2135acd57e440d8f6863cb9eb2743b68b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EntryLine.SelectLineButton: MethodTooLong \u2014 SelectLineButton runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02a0f7055c0d0ea7f41c8ce7e61994465e3bd517aa97fc621ccca96d2d42b38"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WithDebugMod: TooManyMethods \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"382d84d4e2bea1d63636e4a3abb7389bebf7d8a913f3e36f56697e8d70e1bddf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HeroController.FixedUpdate: MethodTooLong \u2014 FixedUpdate runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\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":"Knight/HeroController.cs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede7934c097b7b12774aaa351091aa3df0e2489bc98f384acbf6f8ce1a741621"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HeroController.TakeDamage: MethodTooLong \u2014 TakeDamage runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4085d6f6a03dc41c9014bcc0460a2a46557dabbf21d78388f1b34cfcc34e6ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WithDebugMod.MainPanel_Postfix: MethodTooLong \u2014 MainPanel_Postfix runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf3a822ac1a5193c42edfcc18eb8f8e1f4f5c758aa817e3b85d33f6829cdc5c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HeroAnimationController.UpdateAnimation: MethodTooLong \u2014 UpdateAnimation runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroAnimationController.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f800b4ceb3b087a6a7454cc76ec8d0368c617ba7d2676693a00f49c79a6d2ff7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PatchDoMethodCall.Modified_DoMethodCall: MethodTooLong \u2014 Modified_DoMethodCall runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchCallMethodProper.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9a5a07d33353c7d8623f9ae35e37391f312fa1a48f4dddc5a29cc2c794cb23"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Compatibility/WithDebugMod.cs: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 117 over it, 1.23\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":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d787a7bac58b70b460a551030eb5430fba9b3dcdd7262c40934c32ba738dfc10"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HeroController.Attack: MethodTooLong \u2014 Attack 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":"Knight/HeroController.cs"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71a7b7fc2519db571dea8bda7b06c3c91e1a2a5fbda10912d44c90c62e8c25a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerData.CountGameCompletion: MethodTooLong \u2014 CountGameCompletion runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":5252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d307ef8f2714a64c59b6b5375161a7c6844464c751b28ef69fdec93499923cd6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Patch_Mask_Update.ModifiedUpdate: MethodTooLong \u2014 ModifiedUpdate runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\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":"KIS/Patches/PatchMask.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb0aa5f80b125e26e0e8cc2e71bca0474c43dd6281a2def9187a613596acc17"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Patch_Mask_Update.OrigUpdate: MethodTooLong \u2014 OrigUpdate runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchMask.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1772a5c0cabb9d09dd097fe00e565103927119429c89291dde43debf370fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (159 shared lines): KIS/Patches/PatchMask.cs:17-196 | KIS/Patches/PatchMask.cs:199-371 \u2014 These two members are variants of one another: 159 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchMask.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d566e802d0f944571009d7e5d31b4434fd080412545d8e1d901521178a893dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): KIS/Utils/FsmVariables.cs:117-160 | KIS/Utils/FsmVariables.cs:163-206 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Utils/FsmVariables.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd851cd9e3d7b432243b84655b21d96cc5ab5377dc6cec7af6af6849c3df700"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): KIS/Compatibility/WithDebugMod.cs:775-793 | KIS/Compatibility/WithDebugMod.cs:795-816 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd7fe56f58c2f54f9ddded9dbbf2e9391a5091bccb24a3ec2a344e4a33eac0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): KIS/Utils/FsmVariables.cs:226-241 | KIS/Utils/FsmVariables.cs:245-261 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Utils/FsmVariables.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6686bdaa289350f5344634c03be64804af1d1ff6c73e9a1a6fbe92ec5778124"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): KIS/Compatibility/WithDebugMod.cs:498-510 | KIS/Compatibility/WithDebugMod.cs:511-523 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"d228f64195bfe0458e5edb7ad240947bba7bb1160fbc9c941619500bb355b040"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Knight/PlayerData.cs:4705-4722 | Knight/PlayerData.cs:4725-4740 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":4705}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb75657ed608a3fcb407aec0944e75684cef8b711210db6e159b7e784a84d29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Knight/HeroController.cs:5512-5524 | Knight/HeroController.cs:5527-5539 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":5512}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bbf9638df4139c039daffc8bf46c1a690cc4f3bcbdd07005a8d383c53fd40c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): Knight/HeroController.cs:3392-3398 | Knight/HeroController.cs:3412-3418 | Knight/HeroController.cs:3439-3445 | Knight/HeroController.cs:3448-3454 | Knight/HeroController.cs:3457-3463 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":3392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f39b94bf61985aaee1d8888fec921f9544dd280afa534afd5eb74546e97637"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Knight/HeroController.cs:3383-3389 | Knight/HeroController.cs:3421-3427 | Knight/HeroController.cs:3430-3436 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":3383}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf93819cb6e021ef42e6439d6afa6f7ab7e4fa760f1d981394444d4cfd694507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): KIS/Patches/PatchGetPlayerData.cs:39-47 | KIS/Patches/PatchGetPlayerData.cs:57-65 | KIS/Patches/PatchGetPlayerData.cs:74-82 | KIS/Patches/PatchGetPlayerData.cs:91-99 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchGetPlayerData.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d90cb091689802f6b29bdd4ece844ce876d6237d31af62af87ab51d21d8ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): KIS/HelperFun.cs:468-480 | KIS/HelperFun.cs:482-496 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/HelperFun.cs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10dffb37da9442cb9a693a0fe8b0082040d29bcdf4ca8b7e248fb029ebc3be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Knight/HeroController.cs:2668-2678 | Knight/HeroController.cs:2681-2691 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2668}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d15389a458ed57300316b9802a330a9956e3362823ee9f071bca43c4cd1d38c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): KIS/Utils/FsmUtils.cs:34-45 | KIS/Utils/FsmUtils.cs:184-202 | KIS/Utils/FsmUtils.cs:295-313 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Utils/FsmUtils.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7dc0c9dcb9136ffeb4a5888161c40169bf79390ba486acff9b5661d58cfbc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Knight/HeroController.cs:2694-2705 | Knight/HeroController.cs:2708-2719 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2694}}}],"partialFingerprints":{"codehealthFindingId/v1":"05923b9e26612da70ac569dc57c4429bc6951eb56c5becbc31a727c5906754c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Knight/PlayerData.cs:4554-4565 | Knight/PlayerData.cs:4568-4579 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":4554}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7bec0c27f21c06f88c3909ce5434865d49cfbc15ea50ee3e038d92b725d523"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): KIS/GameObjectUtils.cs:140-156 | KIS/GameObjectUtils.cs:175-192 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/GameObjectUtils.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7008a84a9a3525e59d28995bea6d0326f56b7d339a89b1e46e2e7d26b951f27d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Knight/HeroController.cs:5176-5182 | Knight/HeroController.cs:5194-5200 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":5176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70b468fd6987a5eef40b711c4b208a05851fe11907ddc14ab2243bd2ce52f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): Knight/PlayerData.cs:4605-4617 | Knight/PlayerData.cs:4620-4633 | Knight/PlayerData.cs:4636-4649 | Knight/PlayerData.cs:4652-4665 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":4605}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e892bd9599067a4078a55bd074bda04d95a0ea6bbe77f941607e6a7316a3af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): KIS/Patches/PatchCheckHeroPerformanceRegion.cs:8-16 | KIS/Patches/PatchCheckHeroPerformanceRegionV2.cs:8-16 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchCheckHeroPerformanceRegion.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f4e36fc8aae83d9a7703a4c17f3dbe9c9b817675b9fadc20a27e5a470b1d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (118 lines \u00D7 2): KIS/Patches/PatchMask.cs:68-185 | KIS/Patches/PatchMask.cs:247-364 \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 \u0060KIS/Patches/PatchMask.cs:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchMask.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b847e78c6b4ec175564a6b0328f20e63df6cc5aa86cdbdc371f1a5a1ca36e9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): KIS/Utils/FsmVariables.cs:19-61 | KIS/Utils/FsmVariables.cs:67-109 \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 \u0060KIS/Utils/FsmVariables.cs:19\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":"KIS/Utils/FsmVariables.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3336822fdb96c0647787c3dde4269a4b8e5902e6cc3af935c689147d4d452932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): KIS/Compatibility/WithModMenu.cs:782-809 | KIS/Compatibility/WithModMenu.cs:842-869 \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 \u0060KIS/Compatibility/WithModMenu.cs:782\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9231dd6630a7fe03a1200dc0c272368e2404b70caaa095e5eb78e799a0ca490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Knight/HeroController.cs:2889-2911 | Knight/HeroController.cs:2931-2953 \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 \u0060Knight/HeroController.cs:2889\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Knight/HeroController.cs"},"region":{"startLine":2889}}}],"partialFingerprints":{"codehealthFindingId/v1":"61836b48836c690dfc3e0ea84bcdfdb6e5965042e8f3924f8af6cdf80edd3328"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): KIS/Patches/PatchMask.cs:18-40 | KIS/Patches/PatchMask.cs:200-222 \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 \u0060KIS/Patches/PatchMask.cs:18\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060KIS/Patches/PatchMask.cs:41\u0060 calls \u0060LogInfo\u0060 and \u0060KIS/Patches/PatchMask.cs:224\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchMask.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c0a0f350b984adb37a373bea9776dcd255ff63a267461c187ea4a0c81fcdeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): Knight/HeroController.cs:4904-4923 | Knight/HeroController.cs:4924-4943 | Knight/HeroController.cs:4944-4963 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":4904}}}],"partialFingerprints":{"codehealthFindingId/v1":"b119b947aadf741a80eed33a0426675159b0659510332cd14a86e60800994a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): KIS/Patches/PatchMask.cs:42-59 | KIS/Patches/PatchMask.cs:224-241 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The 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":"KIS/Patches/PatchMask.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"38036814a75ffe834d6355ee4a39e9151e2716b5f2c171a684ac448d0090d805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): KIS/Compatibility/WithModMenu.cs:758-770 | KIS/Compatibility/WithModMenu.cs:818-830 \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 \u0060KIS/Compatibility/WithModMenu.cs:758\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"53815fc52e50d1ce7c3bbbf893085720abbd81aaf588071e1c611c2ff21ecf4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): KIS/Compatibility/WithDebugMod.cs:500-510 | KIS/Compatibility/WithDebugMod.cs:513-523 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060icon\u0060 to \u0060Texture2D\u0060 in one and \u0060Sprite\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"28023192ae2e59572936d40ef79f61527564e51f28cf5d0b088b4fbcc2e66049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): KIS/SceneObjectManager.cs:65-75 | KIS/SceneObjectManager.cs:89-99 \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 \u0060KIS/SceneObjectManager.cs:65\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/SceneObjectManager.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"223193e8711f98283118fc4139b189b901d8c03f6373e2a65721393ff7e8c874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): KIS/Utils/FsmVariables.cs:119-130 | KIS/Utils/FsmVariables.cs:165-176 \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 \u0060KIS/Utils/FsmVariables.cs:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Utils/FsmVariables.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8afe20629c6410f305587a58db02fb60b7634a2b33480880943de76593b20f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): KIS/Compatibility/WithModMenu.cs:1534-1544 | KIS/Compatibility/WithModMenu.cs:1550-1560 \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 \u0060KIS/Compatibility/WithModMenu.cs:1534\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf71f6de095b2aa8ab7958f6b5e9a727cec49e23570e202a728002ff651550f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Knight/HeroController.cs:2355-2364 | Knight/HeroController.cs:5307-5316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f01fc6f5537eedcd74d1a6f8a76f00a37f4ec1e1ac09dc2f97b713602d4cdcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): KIS/Utils/FsmVariables.cs:231-240 | KIS/Utils/FsmVariables.cs:251-260 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Utils/FsmVariables.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eef9cd21665139170b440034bc21b88fe190df737f80938e860aea7f746c46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Knight/NailSlash.cs:153-161 | Knight/NailSlash.cs:174-182 \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 \u0060Knight/NailSlash.cs:153\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/NailSlash.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ca5537da8fc92fee2e8f62c8c1707ab86f6383704f8a9e4bc8a8c8f96d0fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): KIS/Patches/PatchDamageHeroDirectlyV2.cs:50-55 | KIS/Patches/PatchDamageHeroDirectlyV2.cs:72-77 \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 \u0060KIS/Patches/PatchDamageHeroDirectlyV2.cs:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"KIS/Patches/PatchDamageHeroDirectlyV2.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d858a420279be59a9db78fe921ddf832b528af1b31541f8c97b30ff7141ad323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): KIS/Patches/PatchDamageHeroDirectlyV2.cs:37-44 | KIS/Patches/PatchDamageHeroDirectlyV2.cs:46-53 | KIS/Patches/PatchDamageHeroDirectlyV2.cs:59-66 | KIS/Patches/PatchDamageHeroDirectlyV2.cs:68-75 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060KIS/Patches/PatchDamageHeroDirectlyV2.cs:46\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchDamageHeroDirectlyV2.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1919080700745ceabcd5deb5105d1515cd1ce7bf4fb4acccc145a276012582f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Knight/NailSlash.cs:135-142 | Knight/NailSlash.cs:156-163 | Knight/NailSlash.cs:177-184 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Knight/NailSlash.cs:135\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/NailSlash.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0ca6950083f7dc81e156ddce1794a1a629b0e1366463d43d0a1919ab26f1f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): KIS/Compatibility/WithDebugMod.cs:785-791 | KIS/Compatibility/WithDebugMod.cs:806-812 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9f742bc44be2a47e4309c447ef1cbbb67b7723d2c3f836cbc79643fc6b0448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): KIS/Patches/PatchCallMethodProper.cs:136-143 | KIS/Patches/PatchCallMethodProper.cs:146-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchCallMethodProper.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"675cc8de3f0033bef56038f34c0a031accd60a3da66ac61cb275ff9c12555cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Knight/HeroController.cs:3413-3418 | Knight/HeroController.cs:3422-3427 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":3413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e915323fc2b67a48913cd5c95087281a239ec8e33092323307b7a073ac221022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): KIS/Patches/PatchCheckHeroPerformanceRegion.cs:9-16 | KIS/Patches/PatchCheckHeroPerformanceRegionV2.cs:9-16 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchCheckHeroPerformanceRegion.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84b15c826ee1c59f1983ef6f054c0d816bb7073554859477d667efc2fdb262d"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (xUnit, NUnit or MSTest), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: Hamunii.BepInEx.AutoPlugin: \u0060Hamunii.BepInEx.AutoPlugin\u0060 2.0.1 resolves to SPDX id LGPL-3.0-or-later, and this run\u0027s banned set is AGPL-3.0, GPL-2.0, GPL-3.0, LGPL-3.0. The id is read as an SPDX expression: an \u0060OR\u0060 is a choice and is charged only when every branch is banned, an \u0060AND\u0060 binds every operand, and a \u0060WITH\u0060 exception leaves the licence it attaches to as it is. Each licence id is then matched as a SUBSTRING that starts at a token boundary, not an exact comparison \u2014 which is how variants like \u0060-only\u0060 and \u0060-or-later\u0060 are caught while \u0060LGPL-2.0-only\u0060 is not read as \u0060GPL-2.0\u0060, and it is the rule to apply if you re-check this by hand. The set is policy, not law: it is configurable, so a licence banned here may be acceptable in your context, and the row is then something to record an exception for rather than to fix. \u2605 This arm reads the resolved package list and knows nothing about dependency SCOPE \u2014 it cannot tell a runtime dependency from a build- or test-only one, so unlike the Bundler arm it is NOT claiming this ships to your users. Check where it sits before acting. \u2605 DEPTH: this repository\u0027s MSBuild projects declare 9 direct \u0060PackageReference\u0060(s), and 96 further package(s) were reached beyond them by closing the graph over nuget.org\u0027s own nuspec dependency graph \u2014 so a banned licence pulled in only by a dependency\u0027s OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer\u0027s exact resolution. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KIS.csproj"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cc01a825be5ca8ba8e304b2e3467e0232a38c56bb3c53597f4f300b7816f70"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 10 significant file(s) lose their only recent owner: Knight/HeroController.cs, KIS/Compatibility/WithModMenu.cs, KIS/Modules/Preprocess.cs, KIS/SyncClasses.cs, KIS/SyncManager.cs, KIS/Patches/PatchKnight/PatchHeroController.cs, KIS/Settings/SlotData.cs, KIS/Patches/PatchHealthManager.cs (\u002B2 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f6ba460cb1655cbef40f71a7bd10adb7a33650f91c225ffcaeacfddc6e014a88"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (11 single-owned of 40 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 40 of the 105 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: KIS/SceneObjectManager.cs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: insert tab before keybinds tab so we don\u0027t mess up the structure :( \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":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f94751ff01e2bb4f41f59ef5837183aedf6642ffbada6bf8864f4bc16597a33"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should dreamgate be rolled into Dream Nail level? \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":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd95cafe263ef4e4a2015062e0ce89ad1d3d701b60a9b5a2baa5ea4a2dca13d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private bool spawned \u2014 assigned 3 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56e2e0bfba866ddb3bb3b3b0a6abc6237ff9855da6fdcfa4d475cc744121245"}},{"ruleId":"D17","level":"error","message":{"text":"DiscardedPureResult: text.Replace(\u0022(clone)\u0022, \u0022\u0022); \u2014 strings are immutable, so this call cannot change the text it was called on: it computes a new string and the statement throws it away, leaving the original exactly as it was. The line reads as the transformation it names, and the value that comes out of this method later is the untransformed one. Assign the result \u2014 to the same variable, or to the field or property the transformed text was meant to reach \u2014 or, if the call really was pointless, delete the line rather than leaving something that looks like it works."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/GameObjectUtils.cs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9a8dbf100e13a7952e0f1fb87c8a2e1df76f097d8e91feccb0a598f711acdd"}},{"ruleId":"D17","level":"error","message":{"text":"DiscardedPureResult: text.Replace(\u0022(clone)\u0022, \u0022\u0022); \u2014 strings are immutable, so this call cannot change the text it was called on: it computes a new string and the statement throws it away, leaving the original exactly as it was. The line reads as the transformation it names, and the value that comes out of this method later is the untransformed one. Assign the result \u2014 to the same variable, or to the field or property the transformed text was meant to reach \u2014 or, if the call really was pointless, delete the line rather than leaving something that looks like it works."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/GameObjectUtils.cs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"278436f6a97b9291f516ddf5651f8d6cf9c2b3e36ef5f73d6a774f4f13060860"}},{"ruleId":"D17","level":"error","message":{"text":"DiscardedPureResult: text.Replace(\u0022cln\u0022, \u0022\u0022); \u2014 strings are immutable, so this call cannot change the text it was called on: it computes a new string and the statement throws it away, leaving the original exactly as it was. The line reads as the transformation it names, and the value that comes out of this method later is the untransformed one. Assign the result \u2014 to the same variable, or to the field or property the transformed text was meant to reach \u2014 or, if the call really was pointless, delete the line rather than leaving something that looks like it works."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/GameObjectUtils.cs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ca6354fe7bf833e6f4976f2e6815f3cad03826103610359ed466e3c0702e1a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Modules/Preprocess.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebd0863ba33d7e4256e7e370ac7318d47351c39d3e371a6d3953595c4ec7850"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Settings/SlotData.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e37be5a82c29e6f7d3c6a91556389a8d5840746c1cae22c644dd81f435096e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16325a24d6ec6ab03b316b8c5473ea05a090ded88772fc15ab74ac565798acb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e21622ec99c1923551281948213340fc3fbb37aa550e3b152fb2e4247928590"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2166}}}],"partialFingerprints":{"codehealthFindingId/v1":"14067506264d1b9e78238085413ebfcc81e934542f39d4988204be23b4f689b0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a137718fc999e74c8392d80996841eb8e1ad5ae006451517ab4f4bda65eca0"}},{"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":"KIS/Patches/PatchBuildEquippedCharms.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5038977c25164c2037b23d83d3cf89dd89dc957812d3ef76bb7ffe19a27e9246"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchButtonEvent.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"69abd254317fef369b84219107fa0cf6fb41e5cd2c4762522c7177131227244e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchCallMethodProper.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8839854943f69ba808319702de2864297269662848d2513122cd61b0152eb4c3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchHeroController.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"15557ae39052626d1fe7009855db74631549cc2816a37746394acd8fe681aa3a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2150}}}],"partialFingerprints":{"codehealthFindingId/v1":"401e8da79896aa101a2e8d1b184dc39e7bf85e6f404b94f6042d008b995f3b78"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2173461b6688b32bb1b21f5ef2420b77b9804b2bf56c2ea45f2adbc50307eea"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":3146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50c12d7e2a1f3ee335566d5af9453d7f7c4228e23fdb1808dc91ed2daec6ce6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbf795b751feefaf0fc912e567bb38932c2a437c2af1f0c0459822288835765"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private List\u003Cstring\u003E KnightAnims \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTk2dActions.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b32a95cf672be4764b551ef768614e08cccfcdf5ee10c783c17f4b7869742f"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int oldKnightHealth \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/ProgressionManager.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"54020eba723cd8eee4eaed5cf3ff39ff21446f0f45ab69ec327afe7c8b9f471f"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int oldKnightMPCharge \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/ProgressionManager.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"289f69ede086e08ce530daefff9bcbccbefe95334a9f17676f4d49a80274969b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int knightSoulRemainder \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/ProgressionManager.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6b3b03929e3aeb1e443428b3d693f1856ee314abbd881ca71d97f82ed44b86"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private SyncManager syncManager \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/ProgressionManager.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d4b63a9877c8063683fccec9c164190045de652bdabc676a4612732e0d1a2b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private bool changedClipFromLastFrame \u2014 assigned 3 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroAnimationController.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3a8dea17f7bcfffbad48fb9e803882d888218552967ea9b85303c5e9c29af5"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private float DELAY_BEFORE_ENTER \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95d0db9c057fcec0ffcc82d0ed5df3928961bccd24f05ef994c27fb5bbbe2ec"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private float back_dash_timer \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2b15f12f32300b62a47a8614a2b3790f53df7fec2e49eacaa48bc758227fdd"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private float runPuffTimer \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0e98ab1fa224a3dfa155f2df740e0b6e7890c4c2915fda894162c25fc66345"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Coroutine takeDamageCoroutine \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b05044820a8968acf6f10d063d5702b61cf341291f026e2665f29c977a8ca6"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Vector2 oldPos \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7198ca8815c45a770d392ba28fa10ce2ad2e950a8de4a79d2a4e2b66ea89ca"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] EnterAcid"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":4726}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4d79649863c17f6e83d09726e8e219ce3744cfacffc38ca1394076f239f184"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ExitAcid"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":4734}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a741fafc9d9ef497314f186724587cab66712a3ef1ccc77cd4e72f2dd62037"}},{"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: \u0022\u6458\u8981: Logs all active gameObjects\u0022 repeats the code it sits on: 4 of its 5 words (logs, active, game, objects) are already in \u0060public static void PrintAllActiveGameObjectsInScene()\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":"KIS/GameObjectUtils.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1877828760f17f8b8eb92176557696114265d80fe9ddc15fdc4e9b235b05b156"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060KIS\u0060 overshoots its size bounds (11375 LoC, 203 public types across 4 namespaces). 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.4/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":"KIS/KIS.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"604585f39e2ec1542398db3e175e969aecff0f7f1864168d23c8e922e10e5bcc"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: DefaultDict: \u0060DefaultDict\u0060 is not registered, but \u0060PatchCogMultiHitter\u0060 creates it and keeps it in the static \u0060cog_hc_dict\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (_dict; e.g. \u0060_dict\u0060 at line 21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Utils/DictUtils.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3132b5eb9b8fa6c3e0df4a70711baab25bf87399883e350bc5c462502c096a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: SyncManager: \u0060SyncManager\u0060 is not registered, but \u0060ProgressionManager\u0060 creates it and keeps it in the static \u0060syncManager\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (sync_entries, hdpath_to_sync_entry, base_infos, enable, initialized; e.g. \u0060sync_entries\u0060 at line 152)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/SyncClasses.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"556f2ef82ba57ecff1a531672d076c3e04c9cb5da112e624af2d0bacb5db142d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: PlayerData: \u0060PlayerData\u0060 keeps one instance of itself in the static \u0060_instance\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (mapZoneBools, playerStoryOutput, scenesMapped, corniferAtHome, health, damagedBlue; e.g. \u0060mapZoneBools\u0060 at line 4460)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e11c20e033eeed5fdebe970f52b017b62ea23fcbf0383ff7f777b1b6c0a7720"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: KISHelper: \u0060KISHelper\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 (resourceTextures; e.g. \u0060resourceTextures\u0060 at line 463). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/HelperFun.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ddecab3529a5355deb8db6995ce3cf002cad0b8b78553e2d500088ff3b338f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ModuleManager: \u0060ModuleManager\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 (modules, initialized; e.g. \u0060modules\u0060 at line 29). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/ModuleManager.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c38fa931bf953a74339df9b170915932ce198ee69b446a94ff5704270dbcb3"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Patch_InventoryItemSelectableDirectional_Awake: \u0060Patch_InventoryItemSelectableDirectional_Awake\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 (charmButton, button_action; e.g. \u0060charmButton\u0060 at line 15). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchButtonEvent.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb2993b32c9ee3590f7e3e984aebf3ba6c8c4831a9e318e17cad48f418286ea"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: PatchCogMultiHitter: \u0060PatchCogMultiHitter\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 (cog_hc_dict; e.g. \u0060cog_hc_dict\u0060 at line 49). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchCogMultiHitter.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43faa694bca49c62bb58d8d2eb14cb74096c4ea83e78da6c6e6bd7d5111bd73"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Patch_Knight_HeroBox_CheckForDamage: \u0060Patch_Knight_HeroBox_CheckForDamage\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 (flags; e.g. \u0060flags\u0060 at line 16). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchKnight/PatchHeroBox.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"121c3bac8ad6c11b0d0a3f33d875e5b5d839c2299533bf1422e2357c281a7a26"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Patch_Knight_HeroController_TakeDamage: \u0060Patch_Knight_HeroController_TakeDamage\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 (last_hazard_type; e.g. \u0060last_hazard_type\u0060 at line 60). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchKnight/PatchHeroController.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"577ac6a4aad5f66ead0bdd4002a75b19c0e1a0d95178d914c77e37a7c8f0baa7"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Give_One_WallJump: \u0060Give_One_WallJump\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 (used_walljump; e.g. \u0060used_walljump\u0060 at line 125). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchKnight/PatchHeroController.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a3679892de269d4e278e71a004608a7af544f83189e74ccf55cae2011e3a33"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Patch_Mask_Update: \u0060Patch_Mask_Update\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 (check_list, valuePairs; e.g. \u0060check_list\u0060 at line 65). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchMask.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a124e1387e7d534727c5cd66c422d5173e2bac03da9fab8ff6e0b5f73742410"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: KnightInSilksong: \u0060KnightInSilksong\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 (master, logger, allowLog, toggleButton, apply_damage_scaling, default_sync; e.g. \u0060master\u0060 at line 53). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KnightInSilksong.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6bee2339013dfacdea2fc9003682ddd0f84984aa8cdbfc848ecb51e72ab8c2"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ProgressionManager: \u0060ProgressionManager\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 (smallPlatform, managedFsmChange; e.g. \u0060smallPlatform\u0060 at line 56). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/ProgressionManager.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d362633a257fe6c6393b1ab5955a4e3a19f85093ab10fa95298062358bc5bbca"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: CompatibilityManager: \u0060CompatibilityManager\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 (compatibilities; e.g. \u0060compatibilities\u0060 at line 44). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/CompatibilityManager.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7e07991c835a5630c947862933edff65569ac6d007260cc7cbd20aaef4bf3b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: WithDebugMod: \u0060WithDebugMod\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 (_refKnightSlash, infinite_jump; e.g. \u0060_refKnightSlash\u0060 at line 21). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"266c6d4a251fec74318875855d971664d091c5d3f09a94a95b853c176e465215"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ScrollContent: \u0060ScrollContent\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 (scoll_content_prefab; e.g. \u0060scoll_content_prefab\u0060 at line 82). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ef7ad7ce7c7fa50773cd242d2c8db04c0661cd71aa88c415c6cd5ff12f5825"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: EntryLine: \u0060EntryLine\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 (current_selected_button, current_editing_entry, available_lines; e.g. \u0060current_selected_button\u0060 at line 937). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9efebfc16ab822a159f652c074287ca38cd56e28098d447a753712e6123a780"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: HeroController: \u0060HeroController\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 (_instance; e.g. \u0060_instance\u0060 at line 770). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ba2a850d1c9f0cfe05c9ca39a8d4930fe9a8c5f3f061c23a352b76822bd00c"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces (global) \u2194 KIS depend on each other. The lightest dependency in the cycle is (global) \u2192 KIS (KISHelper \u2192 KIS.LangKey, 2 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/HelperFun.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee938bb81b125c067c06d8c42c7dcfaadae3012afbdd1d90132f5f6aa70d1dbb"}},{"ruleId":"AX5","level":"warning","message":{"text":"Appears unstructured (no recognised architecture): ~24.6k production LoC (235 types) across 2 project(s) / 4 namespace(s) with no recognised architectural style or layering \u2014 at this size, deliberate module boundaries would help. No DDD/clean/vertical-slice/CQRS/transaction-script organisation was detected \u2014 code is likely organised ad hoc, which makes change and onboarding harder as it grows."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cf38333cec692da9187608fc8d12d547460b1d3964d6b4da78c9c51e859dd969"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9b6a4a3ffecd1d8fc2f808f704f05e49c8b57bf2ccd99bc82f9c8353c9f62e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d798e8e10a02646bd9bdc24178170a332681c5aa4e3fad0d8962896161f85a18"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded643af402bdbe991acde388c5eda7cf73f9fa4581eb6f5967ec540b67a97db"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ce12a3f343b5fbcc53dc46e0b7db2dfc6d2c110b2b799991e883eeb45b502e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ffb5492382d4e1d0bea4b4cbeadd13c29193ef7b521ca284e40c249c0fecfe"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0f97a8cfe7bbce15e4708f604f2906fd94e7cc59263a52737b63f5a2f4856e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd2887b62f37c2261bb551b51e767d41e8bf766c3b945c0ecf3e004b197dc51"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"839290c1d871018b1afd95094d480beaa2a445394e20344bf6124a8e4a56225f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d312150eac9a355ca859c0ed67f8a93e242a7c47b9dac42d6785ec30f92f57c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"0320d493bb41ce5ce19b8c927ab5a6af28992cdf1a3484153d5bc14396be83e8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"2337a597858313b6a9ac2541fea7b28b3020f4d434de376b7d6c2b4d8ea85da0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf08d8fd45cd0113f22a34bebe74a2aed029e6a5c5ef2a3ada7128d3dea94c9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"d154805a751afacb06f1b5ca7733d6d9c908fe7dd43ebc3d29afafb507de5db2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"6413ab2d280f89ab7142b963353abdb454459e9579d450ae78f89b1d336103c8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cd805057574e4e6864a11911bd3d38db8f6357ec21200fa50a792435548d24"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"12033645868ee45255233047d497960d860d54f58c1dff9406bcd290eda469d2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b39cd10de9ba1f11284c0eb3229f912f7cf09eafbbc012ce7ef84b88c07fe0e"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060Update\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithModMenu.cs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3f68e916a57e4b38fdb4c7b1de95afad2f7d87ef0b5cf8ffac35d80bf70b73"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KnightInSilksong.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f590dfdbf857946b3fa9c5e5d3d35f3f069efda9a5c2686abdda2e854eb558"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KnightInSilksong.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aafb70ef6d39c011e111ababe0c1b237648d5381bd3503a96f8ef5c2b5d437"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KnightInSilksong.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e58f3ff4ec25ea298912006f7eaecdd6d478df71efaa682c8883f5b9cec0fd9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KnightInSilksong.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"523c1d20efcbde5928358608549ef39c1381730f9c7311a7b442d7f8503913c3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KnightInSilksong.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0f034f2a089f410777ee5a88e74e00f0571b19a5c4a12e5ef213e4ba54e8b9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KnightInSilksong.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f4d8fa70c6756d421e6d59090271b567e5cc14d2d2cf817516a6a5ccbfb755"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KnightInSilksong.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cf57ebc3d2396f13b15fb153b34d2c57b2573a664465c01327aaccf72a671d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Modules/Preprocess.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d2aa69e79d25cb334c1bd86622c25b03e2f8c06e9981cefb12ffb73c51d353"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchBuildEquippedCharms.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e837f104e51e59db3d76438f9d3df9cff40587bb45c70b321cbca7de737e3d68"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchButtonEvent.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"32419175c446cab391b0c6125724ddbeaaecd69ce4fbadef4b0d8dc9c1a7f47c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchButtonEvent.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c859d24cb8c68a393ff13a85eb26901a556ecce0d932404f63fdec22ada17f4e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchButtonEvent.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eac67b6bc20cdf0e83d9922dddaf897cdc5ee0807aad0a85d109b250027eeb0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchCallMethodProper.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe285dbe0f71104b2c4ce61e83e7e00cb6c5924d6318ee1d391aa16ea7183f6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchCallMethodProper.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e95c42a18837271fa0761932f7332d24fbefe539cf2acabfbb261c273e50264"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchCallMethodProper.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b02085ead836dfbdf1ac2ab2f3f7b5c317119a30a40527c147e5f8fefc98d3b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchCallMethodProper.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d747de9094cfaa3c4368dc52f1a74110684c0178f664e1d95b7422b978b8fb3a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchCallMethodProper.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36a3654327d86ec6897b6ae045c0545889adc5f3204d6f5479108afea5bc2c6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchGameManager.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"669b64dd25a3eb4f71fcc7c363c39483d298cff72fc60d393af6b9c71cdd4b76"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchHeroController.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0a57e6ad96ff83475362eb218af8c0178985dfab4a3726afcfb07ebc17915d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchHeroController.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd30ed7e66d007c1683fbcbd6c1a7eeed47f62a93492b5279ca43ceb70a1c799"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchKnightHatchling.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0afc8eb1015572127bcc38bc081343080bfa6e015941392f2b61d7bee7dc336"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchListenForJump.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"044ece32a9347a951c28b1b14cbd110260d5f2c7f290da86646c4691d1c68f56"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchListenForJump.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"03673f66cbe7f2f838ed0d0e95e5c6ef914287ec5a5a3f327b098a06991eb033"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchPlayMakerFSM.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"279efd2aa21df49e04dd376cc75ef23de04e30c24552f711ff6c5e6603fd0318"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchPlayerData.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b3b17135d8ff5abcb4c83bb95da6d23d2e8e711172969535ab53a8db9f5be1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b36c8eba3b0af07a110fdc9e183f29337e42165bb22cf5ad9e0d79d1b2c54c9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6286b8605922e6ea0c5266ab2fac30376cb1cb98d51065138cee5caece9670"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b223b1545a9f83450c32e1d9320f4cab58e3042aba424148d9249089dedd35d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"57953294915ee7c891f511ec122e031154eb139d0d17cc5e7ae5077ef4aba9e2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4daf696042af851d298b91acfa10debeea674791fa0f49922a915a05dd5e018"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"55994c2c600557e6b0ebd6f0f0ec16400e4e6d64d5d705664b91be1a26706e2e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9dd0c8441f898bce776d361df395aafab1ccb78001d56105297ec29a161f97"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00ab6947bd5d056f2dfc950b31c86550d94dea62d7d4b6891be334945349c37"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bee2fe17812dbc33cd564df57da257de054c07093f6c12d56e72ddb378c98a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd6993262f8b77dd838635d4586e4cd157535efabf8357a8912fb5eda40bdf7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchTinkEffect.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e7721d7cc5259dda7a0c7abd628dbed17e8dde8e63cd77e2a3eea44b2a2668"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Settings/SlotData.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"702dd9596a8eaaab566e9fe6c0df273be70a5c58497acd9f15ced49c7499ba12"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Settings/SlotData.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac38353f057c64858133ae5f3bf2176f1ce3ba1dda7cfde9ced51701b68beb67"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Settings/SlotData.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"27956f9b3c3500d3a76a8a03d3b43247a68acdcaa26729e747a59a1266184209"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Settings/SlotData.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1899b89450ab18ee6690deb569a7dc6c4d443593edd61d7ad32d3e4b4df28b3b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dc3d6e95894524a3dc50fe7d11ae0da4c27559f9fd734f0c833bb2b62af787"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2802}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d88e7dbf452290a47a5bf6c2aebf720806bf52430e0dbc11e2034c2e7e030c9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2856}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e91930ddbf9c2036698910fd9c89b75c7ccde99ca5cb21106283608460a12d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2902}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c8652e2bfa5e7d468a98840dd73845bbaa9d4c1bd00e6d087313a5e25bda40"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cfdfff06bae519308bc608c270f229e4947d0c44c924a6d9d8b0c53423670a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":2994}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace6e82665a41cdabb420658e4650359e41a285b950e8ba00ab07ce919b11352"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":3148}}}],"partialFingerprints":{"codehealthFindingId/v1":"92726f699a98c572f672f3509304b74237abacaea436087de507375e55dde8df"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/HeroController.cs"},"region":{"startLine":3149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aceab0660a49e68cc5cf9db9430ae1ac24d3e4ee381b9cebc265d0bd8625c7a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/PlayerData.cs"},"region":{"startLine":5242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c636d3ab15d1775a30fd205910346184b24d0148c4cb35855ebf3be4b4a3fe8"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"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) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060KIS/KIS.csproj\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":"KIS/KIS.csproj"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"88975536a2ef257293ef68ff9cc352bce5308bdb9bd4a8aa6e65da87e77a8b75"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: KIS/KIS.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \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":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KIS.csproj"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e8af73ffe9b3405a014ffd6e4653d548f98cc193c93be83827b7e15e277647"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: Knight/Knight.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \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":[{"physicalLocation":{"artifactLocation":{"uri":"Knight/Knight.csproj"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2ced19ab30893d70e66715a6fe628a7c0a43e12e8e8a5a3ae3f83b6fd8efea"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: setupPlatform: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/ProgressionManager.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0ebc14683942c19c589ae4bdc4e464caa3fabc7963d3b2901b6472c359a5a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060KnightInSilksong.IsKnight \u0026\u0026 __instance.fsm.GetVariable\u003CFsmBool\u003E(\u0022FromKnight\u0022) != null\u0060 appears character-identically in 2 files \u2014 KIS/Patches/PatchGetPlayerData.cs, KIS/Patches/PatchiTweenFsmAction.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":"KIS/Patches/PatchGetPlayerData.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7105ce8ebc5bdbbe4b887b6184f15c9e89ab2ce33b225d6aa8944b5445bd33b7"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060fileStream\u0060 is a \u0060FileStream\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 484). Every use of it in \u0060LoadTexture\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var fileStream = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/HelperFun.cs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"8790ba1e9cee8d39b76b340e8e3652a6a623450817c04dfbfedca3676ce2f298"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 0/2 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: setupPlatform: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/ProgressionManager.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c381eca04022a12bf2615a174455a8332ee3982d4d0daaf9e123edb2f48fb955"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: loadObjectFromScene: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/SceneObjectManager.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c91f60c7e6c427b5477628b3af0261d679afc41e0d4276930a10bf2d343863"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Patches/PatchBuildEquippedCharms.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e783ddd39ea0f7c75dac2f9eddb44230dfe642a4bccfce1aee2f8b8276e28881"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/CompatibilityManager.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f751ac631b297fba2c284b15ef217757e877b9c4534de8e0851bc46eaf6b7ad1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/Compatibility/WithDebugMod.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"30577964c951b45b5e03dd8a3a220d30c5776cdb1cd11b0e3b419afbb7439b41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KnightInSilksong.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3b680665bae2f5502edb678c11898d8719cff2454470ead64be4ef85feb8ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KnightInSilksong.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4891fd769ec38482aa9b8ccff6b40e116a996ed358fd21cb5aa6c70cf0c7663d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/KnightInSilksong.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc3c8751c26b1c950766739ac1e7f66f4829552fd6bb96ae5ac5cc5a41a0ca9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/ModuleManager.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7f28d9440c6cd09113d806abc599cb609276a4064e3103dddaa8e923703d04"}},{"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: \u0060IsAssignableFromSafely\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KIS/HelperFun.cs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c53711adb333abeeaab6f04117ad2c4a0a762b04a4e5b30be1d01afbdca329"}}],"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-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":0,"secretScannerRunsExcluded":0}}}]}