{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Cryptographic Hygiene","shortDescription":{"text":"Cryptographic Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"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":"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":"MetadataDownloader.DownloadMetadataAsync (cyclomatic 112): MetadataDownloader.DownloadMetadataAsync has cyclomatic complexity 112 (threshold 15). Most of this is not in the body itself: 1 of the 112 points is its own statement and the rest belongs to one function literal inside it that branches (line 318). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Metadata/MetadataDownloader.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"5966c9d18a18f7325a4c384f990c098927dc584d033f7948adc9f6a1d7c6f4de"}},{"ruleId":"D1","level":"warning","message":{"text":"GameEditViewModel.EditingGame_PropertyChanged (cyclomatic 90): GameEditViewModel.EditingGame_PropertyChanged has cyclomatic complexity 90 (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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelFieldChecks.cs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"843ce48eeda7f6610f46330f615d8c8b128164f0777c21f09462af909ab70ab2"}},{"ruleId":"D1","level":"warning","message":{"text":"GameEditViewModel.ConfirmDialog (cyclomatic 85): GameEditViewModel.ConfirmDialog has cyclomatic complexity 85 (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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff880b83209320e9e7be59fd694297eb8905ef3dc95b7ecd549e71c5f1d401f"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDatabase.MigrateNewDatabaseFormat (cyclomatic 74): GameDatabase.MigrateNewDatabaseFormat has cyclomatic complexity 74 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 19 belong to 5 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":"source/Playnite/Database/GameDatabaseMigration.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f822eadfd3643bf53916311d19c2d1b7a29c0dc071d5ad0dcf243c0f2a92f3be"}},{"ruleId":"D1","level":"warning","message":{"text":"Game.GetDifferences (cyclomatic 65): Game.GetDifferences has cyclomatic complexity 65 (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":"source/PlayniteSDK/Models/Game.cs"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4597ac45831bb2157a6c29371627950940394f5585ea1e2193d4b2841f0f31"}},{"ruleId":"D1","level":"warning","message":{"text":"TGA.LoadFunc (cyclomatic 57): TGA.LoadFunc has cyclomatic complexity 57 (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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5298}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd26483ab63c8397e6c338406e72c19018150e9e7bb9f2f5a53fef6cf0344198"}},{"ruleId":"D1","level":"warning","message":{"text":"Game.CopyDiffTo (cyclomatic 55): Game.CopyDiffTo has cyclomatic complexity 55 (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":"source/PlayniteSDK/Models/Game.cs"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"8122fa7118c839e9164f1d877129835a95871a355a291e11fbfe2353a52ba3d7"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayniteApplication.PlayniteApplication.ctor (cyclomatic 51): PlayniteApplication.PlayniteApplication.ctor has cyclomatic complexity 51 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e527580fcac4e83f3ab827eaaa6e32bc7f69e4ed247d962e82ea1b0847d1a0"}},{"ruleId":"D1","level":"warning","message":{"text":"GameScanner.ScanDirectoryBase (cyclomatic 51): GameScanner.ScanDirectoryBase has cyclomatic complexity 51 (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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13a20ad03844b69db54f59bde1153258f0b408be701e69e08503354dd826862"}},{"ruleId":"D1","level":"warning","message":{"text":"TGA.ToBitmapFunc (cyclomatic 48): TGA.ToBitmapFunc has cyclomatic complexity 48 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5681}}}],"partialFingerprints":{"codehealthFindingId/v1":"951653ce21c7b55c938b8601a194a9128155062a7345b6b8abec1ee2bd358799"}},{"ruleId":"D1","level":"warning","message":{"text":"FullscreenAppViewModel.InitializeCommands (cyclomatic 47): FullscreenAppViewModel.InitializeCommands has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 1 of the 47 points is its own statement and the rest belongs to 12 function literals inside it that branch (lines 100, 56, 205, \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":"source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel_Commands.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"386a025981c415dd2d36622591fc9f7d6a2f201bc19035695cc636b787b07d2f"}},{"ruleId":"D1","level":"warning","message":{"text":"GameEditViewModel.GetDisplayDiffFields (cyclomatic 46): GameEditViewModel.GetDisplayDiffFields has cyclomatic complexity 46 (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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f4ab6fcc56d9f2372231100b5d04c4f6ad5a1975254e8fda1109462c159242"}},{"ruleId":"D1","level":"warning","message":{"text":"DatabaseExplorer.LoadValues (cyclomatic 43): DatabaseExplorer.LoadValues has cyclomatic complexity 43 (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":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6272fe2c3392c18cf31d0a303c547e47de9c616f3dbbe0f7dd3c659ea55328"}},{"ruleId":"D1","level":"warning","message":{"text":"TGA.CheckAndUpdateOffsets (cyclomatic 42): TGA.CheckAndUpdateOffsets 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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":4799}}}],"partialFingerprints":{"codehealthFindingId/v1":"80585f58c1078e42f2cea70c67cfc6e81ecf9d5eedb396556cfd0fcd6bd62278"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataDownloader.ProcessField (cyclomatic 38): MetadataDownloader.ProcessField has cyclomatic complexity 38 (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":"source/Playnite/Metadata/MetadataDownloader.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b23095a00f4444cd2e9708659adc0e9fd4503025feb309f8b48f22016c92d6"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopCollectionView.SetViewDescriptions (cyclomatic 37): DesktopCollectionView.SetViewDescriptions has cyclomatic complexity 37 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/DesktopCollectionView.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d3124d0a6e5d33ad291c20bab5fd7ec4064bb9dae57c00d3674a6adef8d56a"}},{"ruleId":"D1","level":"warning","message":{"text":"GamesEditor.PlayGame (cyclomatic 36): GamesEditor.PlayGame has cyclomatic complexity 36 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/GamesEditor.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b045daf6defa2fb421cb1d95c188a40f5ec97223f7490d57427811cbf340a8"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDatabase.ImportGames (cyclomatic 35): GameDatabase.ImportGames has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aea19d7cff66c6ab99a83a403997aa8621bbc6fed389734554d2977da98c332"}},{"ruleId":"D1","level":"warning","message":{"text":"GameScanner.Scan (cyclomatic 32): GameScanner.Scan has cyclomatic complexity 32 (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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fb3e624b070469d9c1db473b01d6a7680dc9289500eed3398e099d54d2d64d"}},{"ruleId":"D1","level":"warning","message":{"text":"FilterSettings.ClearFilters (cyclomatic 32): FilterSettings.ClearFilters has cyclomatic complexity 32 (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":"source/Playnite/Settings/FilterSettings.cs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdcace3c0601b37d3ddad3ac312372524874e687aa323498905e5295989ca8e"}},{"ruleId":"D1","level":"warning","message":{"text":"GamesGridView.GetColumn (cyclomatic 31): GamesGridView.GetColumn has cyclomatic complexity 31 (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":"source/Playnite.DesktopApp/Controls/GamesGridView.xaml.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85ae869025fab8605b0fa05d54b8aa900a5c9ae0dd2757306703a562d2e3907"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayniteApplication.CurrentDomain_UnhandledException (cyclomatic 31): PlayniteApplication.CurrentDomain_UnhandledException has cyclomatic complexity 31 (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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20726542f59c88ad9485e2bb642359d1a26b96ed49c7343f285d8339c540019"}},{"ruleId":"D1","level":"warning","message":{"text":"DatabaseExplorer.ApplyFilter (cyclomatic 31): DatabaseExplorer.ApplyFilter has cyclomatic complexity 31 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60040731147fe99eee3fbfeeda14b860aec7ada870b2fca4b5adf7c86f39c37"}},{"ruleId":"D1","level":"warning","message":{"text":"FilterSettings.ApplyFilter (cyclomatic 31): FilterSettings.ApplyFilter has cyclomatic complexity 31 (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":"source/Playnite/Settings/FilterSettings.cs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9f63fc8ada089e8cc54a44fe5c9dfcd6fc8cce72c8211fc4fb02af0dcd12e0"}},{"ruleId":"D1","level":"warning","message":{"text":"GamesEditor.Controllers_Stopped (cyclomatic 30): GamesEditor.Controllers_Stopped has cyclomatic complexity 30 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/GamesEditor.cs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"70deaa865ddf1d74708b70ec7e2879faed2fb0e692d73dc64c351cc983223117"}},{"ruleId":"D1","level":"warning","message":{"text":"GameTools.GetMultiGameEditObject (cyclomatic 30): GameTools.GetMultiGameEditObject has cyclomatic complexity 30 (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":"source/Playnite/GameTools.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6551eb97f3ff99c2d2256eec68a3a8037ab1adbcb7fc06e70fab7112b2bb46bf"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataComparisonViewModel.ConfirmDialog (cyclomatic 29): MetadataComparisonViewModel.ConfirmDialog has cyclomatic complexity 29 (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":"source/Playnite.DesktopApp/ViewModels/MetadataComparisonViewModel.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabfbf43c146259f40931086917efcafc2c7068d8d71ca83486e7aeb0039377f"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayniteApplication.PipeService_CommandExecuted (cyclomatic 29): PlayniteApplication.PipeService_CommandExecuted has cyclomatic complexity 29 (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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe3a868dde5ebacd58b3d5e809805f3e6eaa08f71a55888315ba522d866fc6b"}},{"ruleId":"D1","level":"warning","message":{"text":"FilterMatcher.Match (cyclomatic 29): FilterMatcher.Match has cyclomatic complexity 29 (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":"source/Playnite/Database/GameDatabase_Filters.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81c9b5d6fc9568d4655b1e788338384c94dba623dcf28133bb79ab07c8428f9"}},{"ruleId":"D1","level":"warning","message":{"text":"Backup.BackupData (cyclomatic 28): Backup.BackupData has cyclomatic complexity 28 (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":"source/Playnite/Backup.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c051b5806984c7e384204ed2e21f6a6af1aa51a8bac0378fcfd1edd5904d2869"}},{"ruleId":"D1","level":"warning","message":{"text":"TGA.LoadFunc (cyclomatic 28): TGA.LoadFunc has cyclomatic complexity 28 (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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5138}}}],"partialFingerprints":{"codehealthFindingId/v1":"456c4315d5f4c57f879a98c423e756ea125cf25216547733c3e38c11865754a1"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuItems.GetSearchGameMenuItems (cyclomatic 28): MenuItems.GetSearchGameMenuItems has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/MenuItems.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aecd3af12f6c0ca9910e2b4ebe435c0a29521a0bfea1a2518fff443931557bd"}},{"ruleId":"D1","level":"warning","message":{"text":"FullscreenAppViewModel.Fullscreen_PropertyChanged (cyclomatic 27): FullscreenAppViewModel.Fullscreen_PropertyChanged has cyclomatic complexity 27 (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":"source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9aeb833310f09ff7e5433e6cc9cb3419f2f0ecff22ae9e17a70ca5b0dbcc872"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayniteApplication.Application_Startup (cyclomatic 27): PlayniteApplication.Application_Startup has cyclomatic complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"352fe06c0b0c9ccca6fac08ccae9997ed6c51432da9031d48cbddeb53d24760e"}},{"ruleId":"D1","level":"warning","message":{"text":"GameEditViewModel.LoadNewMetadata (cyclomatic 26): GameEditViewModel.LoadNewMetadata has cyclomatic complexity 26 (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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b86c10510964aceed0e0a43e569ed6f12ff9c9295278ffb52b385c0617ed1fc"}},{"ruleId":"D1","level":"warning","message":{"text":"ItemsControlEx.ItemsControlEx_PreviewKeyDown (cyclomatic 26): ItemsControlEx.ItemsControlEx_PreviewKeyDown has cyclomatic complexity 26 (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":"source/Playnite.FullscreenApp/Controls/ItemsControlEx.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b479e2e9a768d846d12fc3b9174d1944d4e9a6f447cf0cea81f5d85d4636bc85"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.OnApplyTemplate (cyclomatic 26): Main.OnApplyTemplate has cyclomatic complexity 26 (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":"source/Playnite.FullscreenApp/Controls/Views/Main.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab83ae61a454672c48caceac07c049844383231a4c09819d7d85de85bf31e105"}},{"ruleId":"D1","level":"warning","message":{"text":"CloneObject.CopyProperties (cyclomatic 26): CloneObject.CopyProperties has cyclomatic complexity 26 (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":"source/Playnite/Common/Extensions/CloneObject.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"38018d45073fbda5008da3527c9b2e943320b701ef4cd6198cb01f4caf3ea59c"}},{"ruleId":"D1","level":"warning","message":{"text":"Backup.RestoreBackup (cyclomatic 25): Backup.RestoreBackup 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":"source/Playnite/Backup.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb58688241d3d6305c298c0ddc672a4da7e2cf5d3ea570f167b9c2172b2fd7c"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericPlayController.Start (cyclomatic 25): GenericPlayController.Start 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":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70724f7ceaa7482aa0869a7bfb07e316619db6b87cb5bc8f80226211461372e"}},{"ruleId":"D1","level":"warning","message":{"text":"DatabaseFilter.UpdateAllCollections (cyclomatic 25): DatabaseFilter.UpdateAllCollections 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":"source/Playnite/Database/DatabaseFilter.cs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e79528505ab1012c8672a24ad9013aa49a859c5579c2a476511c65499626bbe"}},{"ruleId":"D1","level":"warning","message":{"text":"GamesEditor.CalculateGameSize (cyclomatic 25): GamesEditor.CalculateGameSize 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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c62dd0f7e8825c1048f2b3a0870d1f2b07200a3288549bbe4f4988269cbc99"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageSourceManager.GetImage (cyclomatic 25): ImageSourceManager.GetImage 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":"source/Playnite/ImageSourceManager.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2b6fd811dcf6788be4176a1d118f3365cedf348ab2462aab95481aad0f39f9"}},{"ruleId":"D1","level":"warning","message":{"text":"BitmapExtensions.BitmapFromStream (cyclomatic 24): BitmapExtensions.BitmapFromStream has cyclomatic complexity 24 (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":"source/Playnite/Common/Extensions/BitmapExtensions.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4f757090ef256b2a179c8dd85996efacb35913c8d8cad7da26976bb7f5a280"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayniteSettings.LoadSettings (cyclomatic 22): PlayniteSettings.LoadSettings has cyclomatic complexity 22 (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":"source/Playnite/Settings/PlayniteSettings.cs"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"66aa5634be2af91f37d4e9d612d0ffdba7e9a4ac2805c4e096224a2ce0a2ae94"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeManager.ApplyTheme (cyclomatic 22): ThemeManager.ApplyTheme has cyclomatic complexity 22 (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":"source/Playnite/Themes.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"182795539184fd2bca8fc8b8b266b82d2184cd7c6388d006efa93b4f5a2aaa26"}},{"ruleId":"D1","level":"warning","message":{"text":"StatisticsViewModel.FillData (cyclomatic 21): StatisticsViewModel.FillData has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: StatisticsViewModel.PassesFilter (cyclomatic 23) 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":"source/Playnite.DesktopApp/ViewModels/StatisticsViewModel.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7618700399e97580b017679fa29b09d12fe9889a79220ea5ad72510cc3372f58"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionsMenuViewModels.ExtensionsMenuViewModels.ctor (cyclomatic 21): ExtensionsMenuViewModels.ExtensionsMenuViewModels.ctor has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e535985db78181c2039feaf1fefedb9879f9854299462e304576eb3fe047280a"}},{"ruleId":"D1","level":"warning","message":{"text":"TGA.SaveFunc (cyclomatic 21): TGA.SaveFunc 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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5517}}}],"partialFingerprints":{"codehealthFindingId/v1":"016eeb7a9bf4b0da0963830e03c2e7eb8e2cacac56af97585ddc042a7031a62b"}},{"ruleId":"D1","level":"warning","message":{"text":"GamesCollectionViewEntry.GetAdvancedGroupedEntry (cyclomatic 21): GamesCollectionViewEntry.GetAdvancedGroupedEntry 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":"source/Playnite/GamesCollectionViewEntry.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbf32b51b33bba8064ba7be684b9cf11fb5f3932861145146f9fe694e21495e"}},{"ruleId":"D1","level":"warning","message":{"text":"GamesEditor.GetPlayActions (cyclomatic 21): GamesEditor.GetPlayActions 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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71c9f2ea33006eec52039ff9d76bf0ca3532203cc14d8209b027c3efb383b68"}},{"ruleId":"D1","level":"warning","message":{"text":"DatParser.ParseProperty (cyclomatic 21): DatParser.ParseProperty 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":"source/Tools/Playnite.Utilities/DatParser.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb60d83ee0d29dfb679e8d65156d41fc0ce8d4951d0b6d78560f22b5776ca17"}},{"ruleId":"D1","level":"warning","message":{"text":"GameMenu.InitializeItems (cyclomatic 20): GameMenu.InitializeItems has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"68258307fb0b707c668421391b8a64089803e1e825caecacd5e94a2ed7e24f6f"}},{"ruleId":"D1","level":"warning","message":{"text":"EmulatedGamesImportViewModel.StartScan (cyclomatic 20): EmulatedGamesImportViewModel.StartScan has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/EmulatedGamesImportViewModel.cs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b39d624727bb023015ac639a5bdfc449f0865daafb28178de46909a16c5207"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsViewModel.ConfirmDialog (cyclomatic 20): SettingsViewModel.ConfirmDialog 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":"source/Playnite.DesktopApp/ViewModels/SettingsViewModel.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"3555f7d2a142838032d8ce9b5efe863608a78381f4f6ff5f5932bbe324e6ab8b"}},{"ruleId":"D1","level":"warning","message":{"text":"BsonReader.ReadElement (cyclomatic 20): BsonReader.ReadElement 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":"source/Playnite/Database/Collections/LiteDBFileReaderV7.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"485324c9b28c0d82fd5c84da90fdbc5805ff6fcf3dbfe4fd3d40895e16535af1"}},{"ruleId":"D1","level":"warning","message":{"text":"Game.GetScoreGroup (cyclomatic 20): Game.GetScoreGroup 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":"source/PlayniteSDK/Models/Game.cs"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c1f0e428e9cd31e15f9ef597aa8dff1dafebae1db7f236352d4d63d9bbfb39"}},{"ruleId":"D1","level":"warning","message":{"text":"FadeImage.LoadNewSource (cyclomatic 19): FadeImage.LoadNewSource has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controls/FadeImage.xaml.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8857929de8a2b1424aaceababf937bcde182c1207d8dc717fe5f6071137033"}},{"ruleId":"D1","level":"warning","message":{"text":"Diagnostic.CreateDiagPackage (cyclomatic 19): Diagnostic.CreateDiagPackage has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file\u0027s highest cyclomatic complexity: Diagnostic.IsHResultCloudError (cyclomatic 32) 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":"source/Playnite/Diagnostic.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"75be25d4acf8bc6a8680459faf5ef5a5e62ea19c058a5ca832fe1b6d0b5c2a92"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchViewModel.TextBoxKeyUp (cyclomatic 19): SearchViewModel.TextBoxKeyUp has cyclomatic complexity 19 (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":"source/Playnite/ViewModels/SearchViewModel.cs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b8b345aef16b9a234a086b9d51a9af45b277be98a5c2032b8fe40ec2e37b99"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericPlayController.StartEmulator (cyclomatic 18): GenericPlayController.StartEmulator has cyclomatic complexity 18 (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":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c22c331b0e7d6de7839c758b6b323b6e8fc520dbc87b1af6fc99725074dd1b1"}},{"ruleId":"D1","level":"warning","message":{"text":"MainMenu.AddExtensionItems (cyclomatic 17): MainMenu.AddExtensionItems has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"659f80c4a6bd73498ead55e15d4e16b2e82eacb022ad28b66a5d90741fbc5e0a"}},{"ruleId":"D1","level":"warning","message":{"text":"FullscreenTilePanel.MakeVisible (cyclomatic 17): FullscreenTilePanel.MakeVisible has cyclomatic complexity 17 (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":"source/Playnite.FullscreenApp/Controls/FullscreenTilePanel.cs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"5480a25f0bd5072a1edef4e5c1d59697bd72c7acf75349cb8ccdf7cc83b67c4c"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionsMenuViewModels.ExtensionsMenuViewModels.ctor (cyclomatic 17): ExtensionsMenuViewModels.ExtensionsMenuViewModels.ctor has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f523bb6a7af2b773ec0202a6d65f5060fb9778dc4be476ba5965c63c951fa4a"}},{"ruleId":"D1","level":"warning","message":{"text":"Programs.GetUWPApps (cyclomatic 17): Programs.GetUWPApps has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Programs2.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a766005c24a895e251c36cbe03a95b14b82ccda271f19c48ce0ce1c5a1e537"}},{"ruleId":"D1","level":"warning","message":{"text":"Exceptions.GetExceptionInfoImpl (cyclomatic 17): Exceptions.GetExceptionInfoImpl has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Exceptions.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9795622ee50436f6af894c6d3095541a20c5657cc48a5edc086cb343b8a91e08"}},{"ruleId":"D1","level":"warning","message":{"text":"SdkHelpers.ResolveUiItemIcon (cyclomatic 17): SdkHelpers.ResolveUiItemIcon has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SdkHelpers.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"caca3a44efb78474187d796f04b1d53f6f51c6e7f84c598c1051b0dde6d29d7e"}},{"ruleId":"D1","level":"warning","message":{"text":"GameAction.Equals (cyclomatic 17): GameAction.Equals has cyclomatic complexity 17 (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":"source/PlayniteSDK/Models/GameAction.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9a2114798546ca3bb566d1ecee11c3ffd41c53d88ad1b34e67954993deb9af"}},{"ruleId":"D1","level":"warning","message":{"text":"GameScannerConfig.CopyDiffTo (cyclomatic 17): GameScannerConfig.CopyDiffTo has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Models/GameScannerConfig.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3e73ee78d5348890555610fc742d29699dcce7471da3170f3b9695a9f2f8c0"}},{"ruleId":"D1","level":"warning","message":{"text":"FirstTimeStartupViewModel.NavigateNext (cyclomatic 16): FirstTimeStartupViewModel.NavigateNext has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/FirstTimeStartupViewModel.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"044e06f410a507b300300761f8060b91a9f87b83199d1e351066dc21ab68749f"}},{"ruleId":"D1","level":"warning","message":{"text":"GameEditViewModel.GetOrGenerateNewFieldItem (cyclomatic 16): GameEditViewModel.GetOrGenerateNewFieldItem has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02a57d0eda55af064454a351f90e84f053e1306803dfb6d4ef7092ca8b8d7ac"}},{"ruleId":"D1","level":"warning","message":{"text":"GameEditViewModel.ConvertGameInfo (cyclomatic 16): GameEditViewModel.ConvertGameInfo has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd512beeaeaf784c5770a54c9d38cc2dcbc694bfbef2bf9732aa3263a4392d3"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayniteApplication.CheckOtherInstances (cyclomatic 16): PlayniteApplication.CheckOtherInstances has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 971, 1009). 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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a02b01b76f8c8639a478f247fbe872c8bab1f39f6a939ddb757f876497359d"}},{"ruleId":"D1","level":"warning","message":{"text":"StringExtensions.GetJaroWinklerSimilarity (cyclomatic 16): StringExtensions.GetJaroWinklerSimilarity 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":"source/Playnite/Common/Extensions/StringExtensions.cs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f22e9a496c4097334712d91eda5db38820377e0853d67bca948aa4cb24ddbdf"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDatabase.LoadUsedItems (cyclomatic 16): GameDatabase.LoadUsedItems 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":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c1674e146c6b2ec36afcfd37769b9d3983942cfafe749d336381c0f918e979"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDatabase.GameInfoToGame (cyclomatic 16): GameDatabase.GameInfoToGame has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"639cbf9fad7c0d84087d81995312516a3b44182c5bf47f0c0c6e202651818fc4"}},{"ruleId":"D1","level":"warning","message":{"text":"EmulatorScanner.SearchForEmulators (cyclomatic 16): EmulatorScanner.SearchForEmulators 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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ffa4e05f0f890a7384c8d44b7457c58780e92c3c15a780469c89c13dc94796"}},{"ruleId":"D1","level":"warning","message":{"text":"GameScanner.LookupGameInDb (cyclomatic 16): GameScanner.LookupGameInDb 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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a810b0af6477ba1df73f263d6d50f0f3f7131a50937df97ba3a567f9ccbc14b"}},{"ruleId":"D1","level":"warning","message":{"text":"ScannedGame.ToGame (cyclomatic 16): ScannedGame.ToGame 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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"2351a4841fbeb616d2f2421fee4b400ca17dc025e156830cd33224ca68f745af"}},{"ruleId":"D1","level":"warning","message":{"text":"GameExtensions.GetGameFromExecutable (cyclomatic 16): GameExtensions.GetGameFromExecutable 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":"source/Playnite/Extensions/GameExtensions.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a45bbea7792003efa4fb8100388f92ef413807b1ad8fcd627defc26914e4fa7"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeFile.GetFilePath (cyclomatic 16): ThemeFile.GetFilePath 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":"source/Playnite/Extensions/Markup/ThemeFile.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"632122b7ed51d902c3685b1ea20c93d6977660c49bc5029acbcd1d4bcf662d2f"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultSearchContext.GetSearchResults (cyclomatic 16): DefaultSearchContext.GetSearchResults has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"source/Playnite/ViewModels/SearchViewModel.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee5afbf6a3ff1dd729619f987b76c1411c639bde1e413dc58f9636d46c6cc9a"}},{"ruleId":"D1","level":"warning","message":{"text":"DatParser.ProcessLibretroDb (cyclomatic 16): DatParser.ProcessLibretroDb has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 396). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tools/Playnite.Utilities/DatParser.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad66872fda8a730ead7be4c2fee020d85dcfa3478b2a04518d81bba0f83deba3"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataDownloader.DownloadMetadataAsync (cognitive 233): MetadataDownloader.DownloadMetadataAsync has cognitive complexity 233 (threshold 15). None of this is in the body itself: all 233 points belong to one function literal inside it that branches (line 318). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Metadata/MetadataDownloader.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2c2416fbb6d5b93764646e5fc747572b0fa7c9440822f8acb0e42e393c6440"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDatabase.MigrateNewDatabaseFormat (cognitive 190): GameDatabase.MigrateNewDatabaseFormat has cognitive complexity 190 (threshold 15). Of this number, 115 points are the body\u0027s own statements and 75 belong to 5 function literals inside it that branch. 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":"source/Playnite/Database/GameDatabaseMigration.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87bc419025484a6562fcee9fcc1320d7d87e0e043a88191a1ca266df22b150e"}},{"ruleId":"D2","level":"warning","message":{"text":"GameEditViewModel.ConfirmDialog (cognitive 147): GameEditViewModel.ConfirmDialog has cognitive complexity 147 (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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9edf56e016e72f2fc70a15984106353ebc3da3d2fcbf40ab3ae7cb3f753615e"}},{"ruleId":"D2","level":"warning","message":{"text":"GameEditViewModel.EditingGame_PropertyChanged (cognitive 130): GameEditViewModel.EditingGame_PropertyChanged has cognitive complexity 130 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelFieldChecks.cs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f404441be3de174237dd4196126b73801161a64ddc7346263d125f31031ed25"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayniteApplication.PlayniteApplication.ctor (cognitive 110): PlayniteApplication.PlayniteApplication.ctor has cognitive complexity 110 (threshold 15). Of this number, 108 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"db08c13a63f787ff4e92472fe2e42a51572d94b63c3933ce2fcfce9d2fd80523"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.CopyDiffTo (cognitive 108): Game.CopyDiffTo has cognitive complexity 108 (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":"source/PlayniteSDK/Models/Game.cs"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffedecf7b973d4420b0ba2722a7113d27dba6b4ff0d4f9a63d9b6a5e80b88ccd"}},{"ruleId":"D2","level":"warning","message":{"text":"TGA.CheckAndUpdateOffsets (cognitive 104): TGA.CheckAndUpdateOffsets has cognitive complexity 104 (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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":4799}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74921787f7028c6ba21c11b2e42121d2d559a8c155aa0c7bcc37cd1ff4eee5b"}},{"ruleId":"D2","level":"warning","message":{"text":"GameScanner.ScanDirectoryBase (cognitive 99): GameScanner.ScanDirectoryBase has cognitive complexity 99 (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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"530f1fd46cfa5a36a001d610095de669d0c4597940b0d8865e960bf8f8877920"}},{"ruleId":"D2","level":"warning","message":{"text":"GameScanner.Scan (cognitive 91): GameScanner.Scan has cognitive complexity 91 (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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f0a7aa05a5e2e8c089721f6c90bb8c5f343479d4e6d600d996152495a07acd"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDatabase.ImportGames (cognitive 85): GameDatabase.ImportGames has cognitive complexity 85 (threshold 15). Of this number, 84 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f46b11866f24871699b7514ead6e7b9eea149d9bc169dfd5e4a216a5c11f29"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.GetDifferences (cognitive 75): Game.GetDifferences has cognitive complexity 75 (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":"source/PlayniteSDK/Models/Game.cs"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88be0af554a4ae5a9fa3b3dbe26041b0f991f417fbb4bb34b26c6d7b8e10e87"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericPlayController.Start (cognitive 74): GenericPlayController.Start has cognitive complexity 74 (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":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7b01b675fb435e1544f3ad1b5fa7b71573747ab4af5f5308f056c0332aa236"}},{"ruleId":"D2","level":"warning","message":{"text":"GamesEditor.GetPlayActions (cognitive 73): GamesEditor.GetPlayActions has cognitive complexity 73 (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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f91c04786900996c7fee7db2bc366530935cbc45010640bc0aedb809e7977f0"}},{"ruleId":"D2","level":"warning","message":{"text":"TGA.LoadFunc (cognitive 70): TGA.LoadFunc has cognitive complexity 70 (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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af7a7782829c0bd926f10b56f376644a4a882dc3b3e4ea40242bbf6fe0be362"}},{"ruleId":"D2","level":"warning","message":{"text":"GameEditViewModel.GetDisplayDiffFields (cognitive 63): GameEditViewModel.GetDisplayDiffFields has cognitive complexity 63 (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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"51857f793d725e61b5053493c800e34032369334090c9d3c1e34e5b2aa307f99"}},{"ruleId":"D2","level":"warning","message":{"text":"TGA.ToBitmapFunc (cognitive 61): TGA.ToBitmapFunc has cognitive complexity 61 (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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5681}}}],"partialFingerprints":{"codehealthFindingId/v1":"91af242aa955e31da2b2bf4ad0b2e9e63260c66e15a86387cc4cd20b994bc1c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ItemsControlEx.ItemsControlEx_PreviewKeyDown (cognitive 60): ItemsControlEx.ItemsControlEx_PreviewKeyDown has cognitive complexity 60 (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":"source/Playnite.FullscreenApp/Controls/ItemsControlEx.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15f4161e8005f7df61245b13f8f2b6307c4d01f92b519dcbc2a00f6fc4e4458"}},{"ruleId":"D2","level":"warning","message":{"text":"EmulatorScanner.SearchForEmulators (cognitive 57): EmulatorScanner.SearchForEmulators has cognitive complexity 57 (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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0483c009221afe3f3c947dd604c065049d72de1549f7114250c5692e378483"}},{"ruleId":"D2","level":"warning","message":{"text":"TGA.LoadFunc (cognitive 54): TGA.LoadFunc has cognitive complexity 54 (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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5138}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bc6e422bc5d6e4b94a50471a34b589f976854778d6704f68a8ea66e3696486"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.OnApplyTemplate (cognitive 49): Main.OnApplyTemplate has cognitive complexity 49 (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":"source/Playnite.FullscreenApp/Controls/Views/Main.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"4655ea84965fd1b65df011e17c129490ca83172678117631980578f59bd9e9f0"}},{"ruleId":"D2","level":"warning","message":{"text":"GamesEditor.Controllers_Stopped (cognitive 48): GamesEditor.Controllers_Stopped has cognitive complexity 48 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 20 belong to 2 function literals inside it that branch. 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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da444412c6869c35027cbe32fc206fa114fbaf3cab43cf34921b221067ff2bb"}},{"ruleId":"D2","level":"warning","message":{"text":"Backup.RestoreBackup (cognitive 47): Backup.RestoreBackup has cognitive complexity 47 (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":"source/Playnite/Backup.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"933366a5ddef0482ef874b17fbb7576204a1425c0f1f9d3090a74c461c95e4dd"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuItems.GetSearchGameMenuItems (cognitive 47): MenuItems.GetSearchGameMenuItems has cognitive complexity 47 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/MenuItems.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9a5dbc52f962f2fcd89e68c8166470d08342f4029d2a21b09287c5abc81cd9"}},{"ruleId":"D2","level":"warning","message":{"text":"CloneObject.CopyProperties (cognitive 46): CloneObject.CopyProperties has cognitive complexity 46 (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":"source/Playnite/Common/Extensions/CloneObject.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"baafb3b39021208e8a7f8016afe99e03a27e8488f512078692c1f2e22fc0624b"}},{"ruleId":"D2","level":"warning","message":{"text":"GameScanner.LookupGameInDb (cognitive 46): GameScanner.LookupGameInDb has cognitive complexity 46 (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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1905107d2a225a8c49356107740784c2731b577144e351bc107edbf740ab6e"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopAppViewModel.OnFileDropped (cognitive 45): DesktopAppViewModel.OnFileDropped has cognitive complexity 45 (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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fceb295a727a3d4939c7afc33f35c18be7da42d3b29e869b3844ae080808ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayniteApplication.PipeService_CommandExecuted (cognitive 45): PlayniteApplication.PipeService_CommandExecuted has cognitive complexity 45 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fe3880350bf9aae7d38da229f40a6d9defd2e7f90ecbe23e26bcfcad447da4"}},{"ruleId":"D2","level":"warning","message":{"text":"GamesEditor.PlayGame (cognitive 45): GamesEditor.PlayGame has cognitive complexity 45 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2739b1ca35b7625b0b3546bd0749113a027effd5d09b054d112ffcccc23c77e"}},{"ruleId":"D2","level":"warning","message":{"text":"MainMenu.AddExtensionItems (cognitive 44): MainMenu.AddExtensionItems has cognitive complexity 44 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"038f4e7a0afee19c534a58824f768d3c2a2248b2c13543755817d3622e5923ff"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionsMenuViewModels.ExtensionsMenuViewModels.ctor (cognitive 44): ExtensionsMenuViewModels.ExtensionsMenuViewModels.ctor has cognitive complexity 44 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"037c954a4a2bb676ec2538cdbaa4e2127526a8e151b9743300c25f558c7414a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Backup.BackupData (cognitive 44): Backup.BackupData has cognitive complexity 44 (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":"source/Playnite/Backup.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c761c6846a627fb468cf70a3bd0554adb56ef2e6a5117abec71d6bbf556da688"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericPlayController.StartEmulator (cognitive 44): GenericPlayController.StartEmulator has cognitive complexity 44 (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":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"559583405b3eb874c42ae9e74452283a4cf3ca52ef870b2191b78167088e033e"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataDownloader.ProcessField (cognitive 44): MetadataDownloader.ProcessField has cognitive complexity 44 (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":"source/Playnite/Metadata/MetadataDownloader.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd73fb14d25eb5bef9fddeb0429b0ff70ef97e4d4bec5d0b2787257ceaa29e8f"}},{"ruleId":"D2","level":"warning","message":{"text":"GameEditViewModel.GetOrGenerateNewFieldItem (cognitive 43): GameEditViewModel.GetOrGenerateNewFieldItem has cognitive complexity 43 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"66759f88b14dedf6562cfc6dacc5c8136570680af17560fe3b8daef1661d7a79"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseExplorer.LoadValues (cognitive 43): DatabaseExplorer.LoadValues has cognitive complexity 43 (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":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d76bc7ec64a5fe41db9eea5c2a4502858fb4d10471512850980cf9f745624bb"}},{"ruleId":"D2","level":"warning","message":{"text":"GamesEditor.CalculateGameSize (cognitive 42): GamesEditor.CalculateGameSize has cognitive complexity 42 (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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe88913a464920a66006c3bfeee14db9e00a8dd2a199d925018d48f23b5a2c58"}},{"ruleId":"D2","level":"warning","message":{"text":"TGA.SaveFunc (cognitive 40): TGA.SaveFunc has cognitive complexity 40 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5517}}}],"partialFingerprints":{"codehealthFindingId/v1":"84dd5a365d4a70f1f65a2afd3ab92a2120fa5468351b1f49f9a7661ebccd054f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageSourceManager.GetImage (cognitive 40): ImageSourceManager.GetImage has cognitive complexity 40 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ImageSourceManager.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8d71bec196a90b263cd3508fa610b6ad8619cc7420f9c41debd5e9c03ddac1"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayniteApplication.Application_Startup (cognitive 39): PlayniteApplication.Application_Startup has cognitive complexity 39 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d690cdb70f758a12b52f24ce667d5235dada49574368a1fff8be4768770f38"}},{"ruleId":"D2","level":"warning","message":{"text":"Themes.UpdateTheme (cognitive 39): Themes.UpdateTheme has cognitive complexity 39 (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":"source/Tools/Playnite.Toolbox/Themes.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ca6a7e5c9a20da57f0f05c78ce51286c961e824c16a8b41cbeb103c43c0db6"}},{"ruleId":"D2","level":"warning","message":{"text":"GameMenu.AddExtensionItems (cognitive 38): GameMenu.AddExtensionItems has cognitive complexity 38 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a1ae0198a9d507ed9c80878e84a3b1da42250607b19bfa7cbf02eb7e31b446"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapExtensions.BitmapFromStream (cognitive 37): BitmapExtensions.BitmapFromStream has cognitive complexity 37 (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":"source/Playnite/Common/Extensions/BitmapExtensions.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"209d05ed73437a96ebdd855f4da02f37d0296d150fc99d82de8214a005ca5856"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseFilter.UpdateAllCollections (cognitive 37): DatabaseFilter.UpdateAllCollections has cognitive complexity 37 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/DatabaseFilter.cs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d64836a8bbc72eebe36df4789303b3c0a0c6ed1aeb1bf9d539d5996dcecc89"}},{"ruleId":"D2","level":"warning","message":{"text":"EmulatedGamesImportViewModel.StartScan (cognitive 36): EmulatedGamesImportViewModel.StartScan has cognitive complexity 36 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/EmulatedGamesImportViewModel.cs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cbc24fe7f807f378df8cc18cea43457b0bf2f4b4f614d32148ece161203da8"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionsMenuViewModels.ExtensionsMenuViewModels.ctor (cognitive 36): ExtensionsMenuViewModels.ExtensionsMenuViewModels.ctor has cognitive complexity 36 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69d67653caa74e37a082dc6b92e9ea35339e496bbd29941ccfd4b06349f405f"}},{"ruleId":"D2","level":"warning","message":{"text":"FullscreenAppViewModel.Fullscreen_PropertyChanged (cognitive 36): FullscreenAppViewModel.Fullscreen_PropertyChanged 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":"source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6498fd8c29f531deef51d39a1e36c6aad254f35beb9b02fdabe30017b99b0b29"}},{"ruleId":"D2","level":"warning","message":{"text":"FadeImage.LoadNewSource (cognitive 36): FadeImage.LoadNewSource has cognitive complexity 36 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controls/FadeImage.xaml.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"97308dad36fff0818e7ec971ebf742d995996ef196f04ce819501766df9c471b"}},{"ruleId":"D2","level":"warning","message":{"text":"SdkHelpers.ResolveUiItemIcon (cognitive 36): SdkHelpers.ResolveUiItemIcon has cognitive complexity 36 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SdkHelpers.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef8b157f3b2da827cb84427abdab186cda058db06a19bf9719d755189204f73"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayniteSettings.LoadSettings (cognitive 35): PlayniteSettings.LoadSettings has cognitive complexity 35 (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":"source/Playnite/Settings/PlayniteSettings.cs"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2bcd81a9178ea21dab4f7c3fa299059d05cfb63c1778a53e810f88250d1105"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryConfigViewModel.SetCategoryStates (cognitive 34): CategoryConfigViewModel.SetCategoryStates 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":"source/Playnite.DesktopApp/ViewModels/CategoryConfigViewModel.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cdf77792e440c854343d7d85dce6b653d44d012ba0f437c26d20a517c9b6db"}},{"ruleId":"D2","level":"warning","message":{"text":"StatisticsViewModel.FillData (cognitive 33): StatisticsViewModel.FillData has cognitive complexity 33 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/StatisticsViewModel.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2200022c7e8ffb5e1af78121307aa3f77cdf61d54a6863331e735b108727c7"}},{"ruleId":"D2","level":"warning","message":{"text":"FullscreenAppViewModel.InitializeCommands (cognitive 33): FullscreenAppViewModel.InitializeCommands has cognitive complexity 33 (threshold 15). None of this is in the body itself: all 33 points belong to 12 function literals inside it that branch (lines 56, 205, 266, \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":"source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel_Commands.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"04875ca570873e53e12d79f96ebf0370637615b09c652aba53bf03fce37d231f"}},{"ruleId":"D2","level":"warning","message":{"text":"GameExtensions.GetGameFromExecutable (cognitive 33): GameExtensions.GetGameFromExecutable 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":"source/Playnite/Extensions/GameExtensions.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13914acbd33658999d4df4b08751d5c1f420a5a4303b4be73c756451c28e102"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeFile.GetFilePath (cognitive 33): ThemeFile.GetFilePath 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":"source/Playnite/Extensions/Markup/ThemeFile.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9110c1687001cbb1fe9051b7df587cf4eea0301b919dbd2dee74cbc37dc6a821"}},{"ruleId":"D2","level":"warning","message":{"text":"Programs.GetUWPApps (cognitive 32): Programs.GetUWPApps has cognitive complexity 32 (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":"source/Playnite/Common/Programs2.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ccc4169b07140b399453cd3620d5139bf6b3b2c2c4d15b72cc0e1232cdcb69"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeManager.GetAvailableThemes (cognitive 32): ThemeManager.GetAvailableThemes has cognitive complexity 32 (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":"source/Playnite/Themes.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20b317058f80c04f8104c5039fde55660266e4b1698ee6a181fba586665eec5"}},{"ruleId":"D2","level":"warning","message":{"text":"GameScannerConfig.CopyDiffTo (cognitive 32): GameScannerConfig.CopyDiffTo has cognitive complexity 32 (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":"source/PlayniteSDK/Models/GameScannerConfig.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3a51a3c5250eed51a098eae65b924a50480d8f734d0bf62d5726ed946e2dfb"}},{"ruleId":"D2","level":"warning","message":{"text":"FirstTimeStartupViewModel.NavigateNext (cognitive 31): FirstTimeStartupViewModel.NavigateNext has cognitive complexity 31 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/FirstTimeStartupViewModel.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b5f7722c92fe866b30e2a82836a33c7b7f325f0885cb625f5d5b52266ec261"}},{"ruleId":"D2","level":"warning","message":{"text":"FileReaderV7.GetDocuments (cognitive 31): FileReaderV7.GetDocuments has cognitive complexity 31 (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":"source/Playnite/Database/Collections/LiteDBFileReaderV7.cs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51d9ddf69a6cb93b2dfca28d638e794fe098500b2c7c520c9e3a6d8507223cc"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDatabase.AddFile (cognitive 31): GameDatabase.AddFile has cognitive complexity 31 (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":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b127fc281595d89f5194e34d7a49a671cf379f6cda303631dfe3e31906bb47e"}},{"ruleId":"D2","level":"warning","message":{"text":"ScannedGame.ToGame (cognitive 31): ScannedGame.ToGame has cognitive complexity 31 (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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a8f9691919ae1a833cabbd9b8580ebaf32884ee29dfb757ce787d3fe696f86"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterSettings.ClearFilters (cognitive 31): FilterSettings.ClearFilters has cognitive complexity 31 (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":"source/Playnite/Settings/FilterSettings.cs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"42123c417b6edf2d0cd601e1d0d253d5760ae2dc4fd264733ba3564b2ce7acba"}},{"ruleId":"D2","level":"warning","message":{"text":"GamesGridView.GetColumn (cognitive 30): GamesGridView.GetColumn has cognitive complexity 30 (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":"source/Playnite.DesktopApp/Controls/GamesGridView.xaml.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d7290391febbd7576cfc39a136eea73828b344cbb0420ca62538ce2ddf5f86"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlTemplateTools.InitializePluginControls (cognitive 30): ControlTemplateTools.InitializePluginControls has cognitive complexity 30 (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":"source/Playnite/ControlTemplateTools.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09d070cf206cba11137274d914b08f786a4b2b66e1918060991a4d19419595b"}},{"ruleId":"D2","level":"warning","message":{"text":"GamesCollectionViewEntry.GetAdvancedGroupedEntry (cognitive 30): GamesCollectionViewEntry.GetAdvancedGroupedEntry has cognitive complexity 30 (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":"source/Playnite/GamesCollectionViewEntry.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e038584a0df29df60067604ec3e1f6a7de216878ffd8769e47e2fe571c5c52"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionFactory.LoadPlugins (cognitive 30): ExtensionFactory.LoadPlugins has cognitive complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Plugins/ExtensionFactory.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d885cd025842b231995e6090e478cfe52eeebe0d53ddb230971f2d1d74c1af"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterSettings.ApplyFilter (cognitive 30): FilterSettings.ApplyFilter has cognitive complexity 30 (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":"source/Playnite/Settings/FilterSettings.cs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"588abf7b964dd02599adb5756c92ef66bcb66721a1052b467f2b8747ea2c06e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeManager.ApplyTheme (cognitive 30): ThemeManager.ApplyTheme has cognitive complexity 30 (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":"source/Playnite/Themes.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b9058f1a0cb73a05712c2108f645bb23350a9e1a1b76ebd55d3ccb1723f7c0"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopCollectionView.Database_GamesCollectionChanged (cognitive 29): DesktopCollectionView.Database_GamesCollectionChanged has cognitive complexity 29 (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":"source/Playnite.DesktopApp/DesktopCollectionView.cs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"438cd30f0479aa9a69878f6636eea80b60197d11cb8388527f91ecdd1150e2c8"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryConfigViewModel.SetCategories (cognitive 29): CategoryConfigViewModel.SetCategories has cognitive complexity 29 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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":"source/Playnite.DesktopApp/ViewModels/CategoryConfigViewModel.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2b845bbcfd583b0759384fce22be90109560328ce0a8cff12be317a8648635"}},{"ruleId":"D2","level":"warning","message":{"text":"GameTools.GetMultiGameEditObject (cognitive 29): GameTools.GetMultiGameEditObject has cognitive complexity 29 (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":"source/Playnite/GameTools.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1da5569cf4f862e8145ad425acfb30ee4fea29e2ef16a99c2397d9649e0cf97"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionFactory.GetInstalledManifests (cognitive 29): ExtensionFactory.GetInstalledManifests has cognitive complexity 29 (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":"source/Playnite/Plugins/ExtensionFactory.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"000c0f139103a6d414906e7131aadbdb186721e7cf3e8ac8c02dc14f1fd2ac10"}},{"ruleId":"D2","level":"warning","message":{"text":"DatParser.ParseProperty (cognitive 29): DatParser.ParseProperty has cognitive complexity 29 (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":"source/Tools/Playnite.Utilities/DatParser.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b83aa49d1482b88c89c47747daf5632e029fc15fde16c97f4f012571230c691"}},{"ruleId":"D2","level":"warning","message":{"text":"GameEditViewModel.LoadNewMetadata (cognitive 28): GameEditViewModel.LoadNewMetadata has cognitive complexity 28 (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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa9cbc18676aaf12a1fd13d878a675b20e0423681e46f19f18db7ac8b0e35c2"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataComparisonViewModel.ConfirmDialog (cognitive 28): MetadataComparisonViewModel.ConfirmDialog has cognitive complexity 28 (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":"source/Playnite.DesktopApp/ViewModels/MetadataComparisonViewModel.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"151f47518f1ec93b06ed472ef4a4deb6322635ad0bb9ba1a451bf1e5cf82736e"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericPlayController.StartTracking (cognitive 28): GenericPlayController.StartTracking has cognitive complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to one function literal inside it that branches (line 684). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"d063ee332e7213b67ecd6e109bdf2464bb842202d9bbb45ecdbd1a2522cafc5f"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterMatcher.Match (cognitive 28): FilterMatcher.Match has cognitive complexity 28 (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":"source/Playnite/Database/GameDatabase_Filters.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cc5ca5618452853017958195dbbcee3b40cd7ae1fb6c396a6ac526e5ba6a95"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuItems.GetSearchExtensionsMainMenuItem (cognitive 28): MenuItems.GetSearchExtensionsMainMenuItem has cognitive complexity 28 (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":"source/Playnite/MenuItems.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa882b2e10cea74c075b8d3119fc521fd55f8075db85f2dd1cdc2c57c57a5fe7"}},{"ruleId":"D2","level":"warning","message":{"text":"GameMenu.InitializeItems (cognitive 27): GameMenu.InitializeItems has cognitive complexity 27 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29272c7992b31f9f7f8cea521bf94577530d0dccf7bc6afdc8f350363163588"}},{"ruleId":"D2","level":"warning","message":{"text":"GameEditViewModel.Init (cognitive 27): GameEditViewModel.Init has cognitive complexity 27 (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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e57775ec098b11c670d51072e506f0795d3b22570ec6d117424e4311ee32be"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDatabase.LoadUsedItems (cognitive 27): GameDatabase.LoadUsedItems has cognitive complexity 27 (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":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e161452bb82d499e0b80011b3794b8ef51d3eed2022893c6b5558b5975d268"}},{"ruleId":"D2","level":"warning","message":{"text":"GridViewPanel.MeasureOverride (cognitive 26): GridViewPanel.MeasureOverride has cognitive complexity 26 (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":"source/Playnite.DesktopApp/Controls/GridViewPanel.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dfbb6f42d657722d621311fe5ca55915afc5d90939df5be1acadbdbb28bdc0"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayniteApplication.CheckOtherInstances (cognitive 26): PlayniteApplication.CheckOtherInstances has cognitive complexity 26 (threshold 15). Most of this is not in the body itself: 7 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 971, 1009). 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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"b083708d0d9e59f5a39cf2d2e678caa8ce51565ae14eb180346a9556a197588b"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericPlayController.StartEmulatorProcess (cognitive 26): GenericPlayController.StartEmulatorProcess has cognitive complexity 26 (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":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb8f225f78ccbcfdfdd541056a6c6330d6bedf738a85d7547731218a9b014cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Diagnostic.CreateDiagPackage (cognitive 26): Diagnostic.CreateDiagPackage has cognitive complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"source/Playnite/Diagnostic.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2ea68a357cd61c884836fa41dd36fff58d9abb1ecbc038cb207b514dfaa337"}},{"ruleId":"D2","level":"warning","message":{"text":"GameTaskView.ComboEmulatorConfig_SelectionChanged (cognitive 25): GameTaskView.ComboEmulatorConfig_SelectionChanged has cognitive complexity 25 (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":"source/Playnite.DesktopApp/Controls/GameTaskView.xaml.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d965e7d4163576e869771edcfd7af984dd857cb81f16a469511dc90a0298f32b"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsViewModel.ConfirmDialog (cognitive 25): SettingsViewModel.ConfirmDialog 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":"source/Playnite.DesktopApp/ViewModels/SettingsViewModel.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed02a4d82b0fdcbebe9e2e1c1e0e9e09b49dbe9043498e227cd1ac85be904ea"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayniteApplication.CurrentDomain_UnhandledException (cognitive 25): PlayniteApplication.CurrentDomain_UnhandledException 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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb24096abe5041671b9e811fcf234cc08bb0a48b6d6e57d8329755e0ff274d1"}},{"ruleId":"D2","level":"warning","message":{"text":"TGA.RLE_Encode (cognitive 25): TGA.RLE_Encode 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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5609}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69f71ad027b88cb12bb2764fc0fc28769e2edabfdd46c953a0eaf94cca999ef"}},{"ruleId":"D2","level":"warning","message":{"text":"GameScanner.FilterScriptScanResults (cognitive 25): GameScanner.FilterScriptScanResults 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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2cfd8ea7254b5d8fe318457b7b85c530c58dd8e156d1078bb1a507483a7144"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionInstaller.InstallExtensionQueue (cognitive 25): ExtensionInstaller.InstallExtensionQueue 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":"source/Playnite/Plugins/ExtensionInstaller.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb68c6b19a4668970f2b365f2373f9d545ca879daab39a18b1f7151d72541612"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayniteApplication.ProcessUriRequest (cognitive 24): PlayniteApplication.ProcessUriRequest 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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbe72d544305f8bf808dc379dd2e9fcdd8ad234c75ecca4c861e55dbc011756"}},{"ruleId":"D2","level":"warning","message":{"text":"StringExtensions.GetJaroWinklerSimilarity (cognitive 24): StringExtensions.GetJaroWinklerSimilarity 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":"source/Playnite/Common/Extensions/StringExtensions.cs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0851c89db207fc2eae037d11532cfe2c3227b0b8b2dc7848bc0e2892462628"}},{"ruleId":"D2","level":"warning","message":{"text":"FileReaderV7.ReadPage (cognitive 24): FileReaderV7.ReadPage 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":"source/Playnite/Database/Collections/LiteDBFileReaderV7.cs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"72aff9bf41e388feb2802a78fb97b23e18441b1d0bdcc0caa5cdb69b439c5a00"}},{"ruleId":"D2","level":"warning","message":{"text":"GameScanner.ScanDirectory (cognitive 24): GameScanner.ScanDirectory has cognitive complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1f39e6993de0d1d1fc8a0819e7a002991faf648e5805bcba4eb99234e42d34"}},{"ruleId":"D2","level":"warning","message":{"text":"SortableNameConverter.ConvertRomanNumeralToInt (cognitive 24): SortableNameConverter.ConvertRomanNumeralToInt 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":"source/Playnite/SortableNameConverter.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88f0ed491f543f6c82d4118a483054f5ec1bd8740edc5254a2c6569a6aa8290"}},{"ruleId":"D2","level":"warning","message":{"text":"MainViewModelBase.AddFilterPreset (cognitive 24): MainViewModelBase.AddFilterPreset 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":"source/Playnite/ViewModels/MainViewModelBase.cs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"095541cebbd0a894be6ec27268c2b75729ca4511e1706c6009e8ccb7548de603"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchViewModel.TextBoxKeyDown (cognitive 24): SearchViewModel.TextBoxKeyDown 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":"source/Playnite/ViewModels/SearchViewModel.cs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf209def3ed2d145f88542f7c465e3dc18214ab491c60e55a68dcc8bdf801ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportableProgram.IconSource.get (cognitive 23): ImportableProgram.IconSource.get has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/InstalledGamesViewModel.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef41c90795b8def9fb14e0d4a40beea56fccd1ed9552735b165a895a70e72d6"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchViewModel.PerformSearch (cognitive 23): SearchViewModel.PerformSearch has cognitive complexity 23 (threshold 15). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 736). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ViewModels/SearchViewModel.cs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"0593a3f7f60c600f3ffd73bf59f55af1f3a41f6126933433b5ef52be8fd12cdb"}},{"ruleId":"D2","level":"warning","message":{"text":"BsonReader.ReadElement (cognitive 22): BsonReader.ReadElement has cognitive complexity 22 (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":"source/Playnite/Database/Collections/LiteDBFileReaderV7.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83321b2806b05e0b785c9d9b3504dd2610a359b366b947d163e26f5fb0b6bce"}},{"ruleId":"D2","level":"warning","message":{"text":"EmulatorsViewModel.CheckUnsavedChanges (cognitive 21): EmulatorsViewModel.CheckUnsavedChanges has cognitive complexity 21 (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":"source/Playnite.DesktopApp/ViewModels/EmulatorsViewModel.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46f4eb82ba192d37c1ef355c25458cda0f7bd619cb6a2bcd76acc119fe3a8ce"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBase.OnApplyTemplate (cognitive 21): WindowBase.OnApplyTemplate has cognitive complexity 21 (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":"source/Playnite/Controls/WindowBase.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e75f37392fca0d28284be7f99cae33d6df4ab7885195db0e00007651a30b00"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericTypeConverter.Convert (cognitive 21): GenericTypeConverter.Convert has cognitive complexity 21 (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":"source/Playnite/Converters/GenericTypeConverter.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"417dc63d2a527eb779bb083eddf2898b0ff646e5e98f27f0038d96f786d10071"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionFactory.LoadPlugins (cognitive 21): ExtensionFactory.LoadPlugins has cognitive complexity 21 (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":"source/Playnite/Plugins/ExtensionFactory.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8278562e5aa4afc37b0806005bcc1bb202b85fef8dc3f19c937f76dfaf7bf91"}},{"ruleId":"D2","level":"warning","message":{"text":"SortableNameConverter.Convert (cognitive 21): SortableNameConverter.Convert has cognitive complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to one function literal inside it that branches (line 75). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SortableNameConverter.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"554f055d48d0b85f89b8f57263885a92dfea03ddcfbb5eb256ca6947fd61ce36"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeManager.ApplyFullscreenButtonPrompts (cognitive 21): ThemeManager.ApplyFullscreenButtonPrompts has cognitive complexity 21 (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":"source/Playnite/Themes.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2400fb5cb6a9917ed11618acc4a40bceeff5b04d7221aa363d5d2521c3722d7"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseFieldsManagerViewModel.UpdatePlatformsCollection (cognitive 20): DatabaseFieldsManagerViewModel.UpdatePlatformsCollection 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":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79b3bb9201149a318fac672dca5efa1664ed264fbf05cbe6444589cb5341c30"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSearchContext.GetSearchResults (cognitive 20): DefaultSearchContext.GetSearchResults has cognitive complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"source/Playnite/ViewModels/SearchViewModel.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"36373650b12189076a8394e1f0c307e24c11e396bb30c3120d043f8ecf06f4dc"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayniteApplication.CheckForUpdates (cognitive 19): PlayniteApplication.CheckForUpdates 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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"e011b0e5f614fd58c9390a22c11e10b8864f7ed01732c3b2938f28b29965e88c"}},{"ruleId":"D2","level":"warning","message":{"text":"FocusBahaviors.FocusBindingPropertyChanged (cognitive 19): FocusBahaviors.FocusBindingPropertyChanged has cognitive complexity 19 (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":"source/Playnite/Behaviors/FocusBahaviors.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"700397ed3e7f3347e4934b1d0f53867403ead88aa4140ec0c3d14e9b3952df7b"}},{"ruleId":"D2","level":"warning","message":{"text":"TGA.GetInfo (cognitive 19): TGA.GetInfo has cognitive complexity 19 (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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":4703}}}],"partialFingerprints":{"codehealthFindingId/v1":"096e67baed8149e011a1c421ba4e503bbf74213ac88906d57f1e611a1968377f"}},{"ruleId":"D2","level":"warning","message":{"text":"Xml.AreEqual (cognitive 19): Xml.AreEqual 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":"source/Playnite/Common/Xml.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2be12b56cfada8200def32dd32079fa466814885a0a370b293fc703ec60eb7"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDatabase.OpenDatabase (cognitive 19): GameDatabase.OpenDatabase has cognitive complexity 19 (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":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"154a211f5ac2bbe9080749ff2931fb686b3c5e7b55f826376b07147a4c2eec2a"}},{"ruleId":"D2","level":"warning","message":{"text":"GamesEditor.RemoveGames (cognitive 19): GamesEditor.RemoveGames has cognitive complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body 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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f76d8c5bfd656c78dab41e88e754dba70b256b40f91207ebd881f5fe0eaef29"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.GetScoreGroup (cognitive 19): Game.GetScoreGroup has cognitive complexity 19 (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":"source/PlayniteSDK/Models/Game.cs"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"53de307c004304cdbf6521518c6373f94015aa967fe8eecb5c1be057e5546c51"}},{"ruleId":"D2","level":"warning","message":{"text":"GameMenu.InitializeItems (cognitive 18): GameMenu.InitializeItems has cognitive complexity 18 (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":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aab0b66671a1e9dd1fb418ed2874dfe6d03e0a14688853d4115405b22a14912"}},{"ruleId":"D2","level":"warning","message":{"text":"GameEditViewModel.ConvertGameInfo (cognitive 18): GameEditViewModel.ConvertGameInfo has cognitive complexity 18 (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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae66c12eacc43991e5f6764d3ddbaa8a5ae294e790775f272d2c558a47094e4a"}},{"ruleId":"D2","level":"warning","message":{"text":"InstalledGamesViewModel.ConfirmDialog (cognitive 18): InstalledGamesViewModel.ConfirmDialog 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":"source/Playnite.DesktopApp/ViewModels/InstalledGamesViewModel.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"db38d6545289f4776c4fb7320d28ee75fea7e807f4cf2b9c70eadb5499781588"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolsConfigViewModel.AddAppFromExe (cognitive 18): ToolsConfigViewModel.AddAppFromExe has cognitive complexity 18 (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":"source/Playnite.DesktopApp/ViewModels/ToolsConfigViewModel.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22f2343771be67aae68d225c437f92c40954bea4665f7013e155fe988c74703"}},{"ruleId":"D2","level":"warning","message":{"text":"FullscreenApplication.FullscreenApplication_PropertyChanged (cognitive 18): FullscreenApplication.FullscreenApplication_PropertyChanged has cognitive complexity 18 (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":"source/Playnite.FullscreenApp/FullscreenApplication.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"858481ebe19c934d91d90f1eb4f2d861690d3ed835a4a8a0767b8cca2d07582b"}},{"ruleId":"D2","level":"warning","message":{"text":"StringExtensions.IsStartOfStringAcronym (cognitive 18): StringExtensions.IsStartOfStringAcronym 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":"source/Playnite/Common/Extensions/StringExtensions.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9343626ca591023e0e0f43c6fb43ade4211d06b4c4ff0bebb78ceaf44e7d6181"}},{"ruleId":"D2","level":"warning","message":{"text":"GameScanner.ParseExclusions (cognitive 18): GameScanner.ParseExclusions 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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc04cdd64b4c1ff2caafab415b838ddeb9302f448d76da494e6ecb5ddd9ec5dd"}},{"ruleId":"D2","level":"warning","message":{"text":"BindingExtension.ProvideValue (cognitive 18): BindingExtension.ProvideValue has cognitive complexity 18 (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":"source/Playnite/Extensions/Markup/BindingExtension.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf59aa0fcb0ce217ce08bf3e741bcf90a7c3b7433cffaeed759fd09ebdc71c3"}},{"ruleId":"D2","level":"warning","message":{"text":"User32.EnablePrivilege (cognitive 18): User32.EnablePrivilege has cognitive complexity 18 (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":"source/Playnite/Native/User32.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4f66df84fb5b667394e48870bd7fed74b49c4fdd55d6bec9a7e819fe280ccc"}},{"ruleId":"D2","level":"warning","message":{"text":"MainViewModelBase.UpdateLibraryData (cognitive 18): MainViewModelBase.UpdateLibraryData has cognitive complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 771). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ViewModels/MainViewModelBase.cs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8685e6fbd0cefeb30012cf5dc0a80cafec598ccd70f7689196feecc90c22f87"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchViewModel.TextBoxKeyUp (cognitive 18): SearchViewModel.TextBoxKeyUp has cognitive complexity 18 (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":"source/Playnite/ViewModels/SearchViewModel.cs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aed600af59c9d47fecd006f077ffc1877e7320eb1f06b3489e0fae3c5b5a493"}},{"ruleId":"D2","level":"warning","message":{"text":"Themes.PackageTheme (cognitive 18): Themes.PackageTheme 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":"source/Tools/Playnite.Toolbox/Themes.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc67f47dabc8d6ce16ec635f3061c7b691c4298a3917fdfa66e6a274352541d"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseFieldsManagerViewModel.RemoveUnusedPlatforms (cognitive 17): DatabaseFieldsManagerViewModel.RemoveUnusedPlatforms has cognitive complexity 17 (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":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"2164316893139c1b6a1ac8be6a012510bcb8ec74c942611d592d028c769f2732"}},{"ruleId":"D2","level":"warning","message":{"text":"EmulatedGamesImportViewModel.ExcludeDirectories (cognitive 17): EmulatedGamesImportViewModel.ExcludeDirectories 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":"source/Playnite.DesktopApp/ViewModels/EmulatedGamesImportViewModel.cs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ca7e0fd725314fc9087b5b6cb53853eb39ac0feb6305e87b8b91d79a37be03"}},{"ruleId":"D2","level":"warning","message":{"text":"FullscreenTilePanel.MeasureOverride (cognitive 17): FullscreenTilePanel.MeasureOverride 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":"source/Playnite.FullscreenApp/Controls/FullscreenTilePanel.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f033cfc37f2a3113ae30f10ad2f144c39a00bbb270c528ed8fd1844e9269ab3"}},{"ruleId":"D2","level":"warning","message":{"text":"FullscreenTilePanel.MakeVisible (cognitive 17): FullscreenTilePanel.MakeVisible has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"source/Playnite.FullscreenApp/Controls/FullscreenTilePanel.cs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac36ab94400a55673312ea8ee82db2c502362ef1d3893f5006b0bfb5afd8c4db"}},{"ruleId":"D2","level":"warning","message":{"text":"Programs.GetShortcutProgramsFromFolder (cognitive 17): Programs.GetShortcutProgramsFromFolder has cognitive complexity 17 (threshold 15). None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 159). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Programs2.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff869af23856e538170fd4e57d41042838848f045bbfe6b660c4407e9ff803a6"}},{"ruleId":"D2","level":"warning","message":{"text":"GamesCollection.Update (cognitive 17): GamesCollection.Update 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":"source/Playnite/Database/Collections/GamesCollection.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a713ae15577acef279d3517200beb247965c118f99f454d14c58bd890b1fead"}},{"ruleId":"D2","level":"warning","message":{"text":"Exceptions.GetExceptionInfoImpl (cognitive 17): Exceptions.GetExceptionInfoImpl has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Exceptions.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8870d30fd5e60d0f2131eb0ff1306370e35aa90b8dc8e66681d5ac55e23bba"}},{"ruleId":"D2","level":"warning","message":{"text":"GameExtensions.GetRawExecutablePath (cognitive 17): GameExtensions.GetRawExecutablePath has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Extensions/GameExtensions.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4c0b1768c2ac5d9e787be81bf3b3b1c23e2beab796c433809473fd2d6f5482"}},{"ruleId":"D2","level":"warning","message":{"text":"GamesEditor.RemoveGame (cognitive 17): GamesEditor.RemoveGame 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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3189034aed1c2da7c3044bced92f1201a44acd7c26464ba6cdf8fdfe9500a9b"}},{"ruleId":"D2","level":"warning","message":{"text":"GameControllerManager.ShouldResendKey (cognitive 17): GameControllerManager.ShouldResendKey has cognitive complexity 17 (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":"source/Playnite/Input/GameController.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab3a9702d8c9f800fc2ed9aa20101957bc6d90b2b5ebaae74687bc706edd387"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuHelpers.GenerateMenuParents (cognitive 17): MenuHelpers.GenerateMenuParents 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":"source/Playnite/MenuHelpers.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"201e6a14e46952d06b913a7805a74547306f414db6626f0380908ed2e05e5580"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionFactory.LoadScripts (cognitive 17): ExtensionFactory.LoadScripts has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Plugins/ExtensionFactory.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f911339de7d9d072cde758777774ce9b5a4cfbd75e62fac16ee0d18d0bc675"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopAppViewModel.InitializeCommands (cognitive 16): DesktopAppViewModel.InitializeCommands has cognitive complexity 16 (threshold 15). None of this is in the body itself: all 16 points belong to 9 function literals inside it that branch (lines 149, 349, 374, \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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel_Commands.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"731dba8eeced2c76d464f762ef89783f59b743acc4e0f85cc57c25ea88591158"}},{"ruleId":"D2","level":"warning","message":{"text":"EmulatedGamesImportViewModel.ImportGames (cognitive 16): EmulatedGamesImportViewModel.ImportGames has cognitive complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/EmulatedGamesImportViewModel.cs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd90af6c070d471ea5133b01cdc23c882014d4f671bc263d21741efbd9cc3ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"FullscreenApplication.SDLEventLoop (cognitive 16): FullscreenApplication.SDLEventLoop has cognitive complexity 16 (threshold 15). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 312). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/FullscreenApplication.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"7392f38456d38ac26989911069f6b4db9b12ba5ae0161dd7209a899eeb4b4a7e"}},{"ruleId":"D2","level":"warning","message":{"text":"Addons.CheckAddonsForUpdate (cognitive 16): Addons.CheckAddonsForUpdate has cognitive complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Addons/Addons.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c548b1adf94c40b78bc6614f48a6ad791e58de5be61a4c1d5e8dec1ed824f92"}},{"ruleId":"D2","level":"warning","message":{"text":"StringExtensions.GetLevenshteinDistance (cognitive 16): StringExtensions.GetLevenshteinDistance 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":"source/Playnite/Common/Extensions/StringExtensions.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d47a2e16d6b7e785691c84b6e5556d34494d2636db53e148468da4ae1deaea"}},{"ruleId":"D2","level":"warning","message":{"text":"GameControllerManager.ProcessButtonState (cognitive 16): GameControllerManager.ProcessButtonState 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":"source/Playnite/Input/GameController.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c2a00b03d4e9de3d95cb28aaa4b3cea9ff9b734b565c80c60f1453b9800bd6"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionFactory.GetManifestsFromPath (cognitive 16): ExtensionFactory.GetManifestsFromPath has cognitive complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Plugins/ExtensionFactory.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f67e23435a6206b7f5d1ed8f244f3ace5b3b7c92261f99d88121d2799ef948b"}},{"ruleId":"D2","level":"warning","message":{"text":"RandomGameSelectViewModel.PickGame (cognitive 16): RandomGameSelectViewModel.PickGame has cognitive complexity 16 (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":"source/Playnite/ViewModels/RandomGameSelectViewModel.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"02629861b2e615afe8d2d39eefc66711ad1cdffb34df7ef805d16190aeed8939"}},{"ruleId":"D2","level":"warning","message":{"text":"AppSoftware.CopyDiffTo (cognitive 16): AppSoftware.CopyDiffTo 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":"source/PlayniteSDK/Models/AppSoftware.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a94bfa7c0f569afd378d39ac1f22e66898426b6af393662e8769b3bccb0815"}},{"ruleId":"D2","level":"warning","message":{"text":"GameAction.Equals (cognitive 16): GameAction.Equals has cognitive complexity 16 (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":"source/PlayniteSDK/Models/GameAction.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c6a411e93adc15380bba10f731e9a346ac46bbcc764082d221d14f0133984f"}},{"ruleId":"D2","level":"warning","message":{"text":"DatParser.ParseGame (cognitive 16): DatParser.ParseGame 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":"source/Tools/Playnite.Utilities/DatParser.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c530a18cdf2a7d74e0c235f3b941181a0af5a46792b645b573068a2680433ba2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SDL: TooManyMethods \u2014 4764 significant lines (blank, comment-only and punctuation-only lines excluded), 790 methods. The bar is 30 methods; this is 760 over it, 26.33\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":"source/Playnite/SDL2.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4447774eca694be5337d12e472006c05c8f6b4bb0a5147d56c6e8bdc092cae1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Playnite/SDL2.cs: FileTooLong \u2014 5464 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4964 over it, 10.93\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":"source/Playnite/SDL2.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd69221a4bbb2d98268d98993342c6c0d35d7a7b54be123122faf7035f20053"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Common/TGASharpLib.cs: FileTooLong \u2014 2972 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2472 over it, 5.94\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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94b82be648683e23b414355d319b6e492faf2d88765535f2f7149b316cb4bf9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlayniteSettings: ClassTooLong \u2014 1320 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 920 over it, 3.30\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":"source/Playnite/Settings/PlayniteSettings.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2459aa48a740390b9d726bf99a1c285eec5044b318665b9a25f562bd1bb258d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GameEditViewModel: TooManyMethods \u2014 2008 significant lines (blank, comment-only and punctuation-only lines excluded), 92 methods, declared across 3 files: ViewModels/GameEditViewModel.cs (74), ViewModels/GameEditViewModelMetadata.cs (15), ViewModels/GameEditViewModelFieldChecks.cs (3). The bar is 30 methods; this is 62 over it, 3.07\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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"725434d2becf64b449b715c028232241568a28163643b016f45cb86744c74d83"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/PlayniteSettings.cs: FileTooLong \u2014 1529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1029 over it, 3.06\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":"source/Playnite/Settings/PlayniteSettings.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4770f335d803bb9b511143aed72f754d0793f83a4b76d30c09fa14508ee1b49a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GameEditViewModel.EditingGame_PropertyChanged: MethodTooLong \u2014 EditingGame_PropertyChanged runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelFieldChecks.cs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"f317907ade89f6ec12ae699c8b32745f9f47851ee3e1a9c8edb954936181a4a0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GameOverview.OnApplyTemplate: MethodTooLong \u2014 OnApplyTemplate runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.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":"source/Playnite.DesktopApp/Controls/Views/GameOverview.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"82227739397731b4f7767a7d87600310f6d12b91fe08adda9cb1236e583af402"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DesktopAppViewModel.InitializeCommands: MethodTooLong \u2014 InitializeCommands runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel_Commands.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7293712a1a6f9ce76752ffd39cf0fd99b68160deaabdabadd1f4dd2b2a602319"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Game: ClassTooLong \u2014 941 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 541 over it, 2.35\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":"source/PlayniteSDK/Models/Game.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89ff0db68ef3192cd8ee5f1c69518afe286b747ae405180908202dc14889f15"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Main.OnApplyTemplate: MethodTooLong \u2014 OnApplyTemplate runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\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":"source/Playnite.FullscreenApp/Controls/Views/Main.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae30d28f6b81833841f2820ea49df724970f704c56ea140ec9c74c4db989892a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DesktopAppViewModel: TooManyMethods \u2014 1123 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods, declared across 4 files: ViewModels/DesktopAppViewModel.cs (63), ViewModels/DesktopAppViewModel_Sidebar.cs (3), ViewModels/DesktopAppViewModel_Commands.cs (1), ViewModels/DesktopAppViewModel_TopPanel.cs (1). The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c844068213f5ceec1fec1a2f78183efac3cd8f88d7191f50b2aaeb0d18ab61db"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GameDatabase: TooManyMethods \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods, declared across 2 files: Database/GameDatabase.cs (57), Database/GameDatabase_Filters.cs (6). The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3ac2f3ac1eeb4efc45b11a6667074871d16f14a2189f04d82b3fb9a314d0b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Models/Game.cs: FileTooLong \u2014 1036 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 536 over it, 2.07\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":"source/PlayniteSDK/Models/Game.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bef319037febce5199629c716b987ed1bdb434dd46ab7eba75848b623d0b078"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Playnite/GamesEditor.cs: FileTooLong \u2014 990 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 490 over it, 1.98\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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67cae406ef7d3c79327b50475ba0464b2f498b353cfb990c6e5f3742dc35eff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/PlayniteApplication.cs: FileTooLong \u2014 958 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 458 over it, 1.92\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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3116557297cf31d3aaf10c216365187883fdcd4541eed6196108469649dff63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FullscreenAppViewModel.InitializeCommands: MethodTooLong \u2014 InitializeCommands 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":"source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel_Commands.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fb92c1c0a6bce399c565b6e8367f58252b73911074d7324d641e6469338e47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GameEditViewModel.ConfirmDialog: MethodTooLong \u2014 ConfirmDialog runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b798a43502cb788d0e7765a9f7ac71209e4066594483db5022d0323ba394a89"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayniteApplication.PlayniteApplication(\u2026): MethodTooLong \u2014 PlayniteApplication(\u2026) runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b6693d1c52fbd34277574d5cfcf856f4d9b57501048a16bfc410849fdf8e66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Emulators/Scanner.cs: FileTooLong \u2014 884 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 384 over it, 1.77\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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8f109d0c59bcf845a3223c332611db7d02cd41e77b1f4141bd1ac2ed100a68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OldModels/Ver2.cs: FileTooLong \u2014 869 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 369 over it, 1.74\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":"source/Playnite/Database/OldModels/Ver2.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"678e7bb1d4440da9783a32191694e07d4b01bcb74812b11bfa8656a7a7909bdf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Database/GameDatabase.cs: FileTooLong \u2014 849 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 349 over it, 1.70\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":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d1d9c5f3285d514249369d573a26ce6bb111210ab00d09d5165daab5394160"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GameScanner.ScanDirectoryBase: MethodTooLong \u2014 ScanDirectoryBase runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"d317cbc6330e19f38353568051b25e896385f4c25222b465419e2a9818d629b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/GameEditViewModel.cs: FileTooLong \u2014 827 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 327 over it, 1.65\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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c18e3bfd91bba5d4827981237027945a166e3fcd78e57d0f7b25514be002b3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FullscreenAppViewModel: TooManyMethods \u2014 869 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods, declared across 2 files: ViewModels/FullscreenAppViewModel.cs (48), ViewModels/FullscreenAppViewModel_Commands.cs (1). The bar is 30 methods; this is 19 over it, 1.63\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":"source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd22f18dfff33cb51c449af5784845ec29b996c0e766925dc2c1c8ed305c9864"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GameScanner: ClassTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 250 over it, 1.63\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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce792d392b7c2e799761f98be596269a4c9bd2a48fb3b5d8d5542128ca7cd736"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/DesktopAppViewModel.cs: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 270 over it, 1.54\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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08873c7a7b6a2cfad23c27901cc3323ca209fca8e95a8c00fac15852a942e3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/FilterSettings.cs: FileTooLong \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 267 over it, 1.53\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":"source/Playnite/Settings/FilterSettings.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac13ced06a4d836a75422f5727c57ecd7516f71545d0a7dcead7a45f67467de6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GamesEditor: TooManyMethods \u2014 936 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/GamesEditor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc807b9d3baf41551fa609d0cc523e89b733b86a4e58467c8dad38f60d95fc97"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlayniteApplication: TooManyMethods \u2014 926 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afc79f81c392bb6e6abe55598d81c34a124aa5ee887806d77ba44f698164097"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/GameEditViewModelFieldChecks.cs: FileTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 225 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelFieldChecks.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3060c33ced8b3f086a6f8952e5fa14e4f3c717f73eeea83043877ab7680be33"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Game.GetDifferences: MethodTooLong \u2014 GetDifferences runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Models/Game.cs"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e5d0931edfc343691d4d8a29f1bd297a21e583e6dd3e7b11f25b6424fd58fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TopPanel.OnApplyTemplate: MethodTooLong \u2014 OnApplyTemplate runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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":"source/Playnite.DesktopApp/Controls/Views/TopPanel.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"99440daa06d668ec289cad0f4f4c01987e902e624d486b525ab1682e256900dd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TGA.LoadFunc: MethodTooLong \u2014 LoadFunc runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5298}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd4bc513cb5eba910400ea671d60bbaa2134bbd1f761bcfab920c5361af81bb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DatabaseExplorer.LoadValues: MethodTooLong \u2014 LoadValues runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6268d185ef2e91f7ce739f8b40ed34e020bcef379e7a29b0c15bc88999e1eee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileSystem: TooManyMethods \u2014 284 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods, declared across 2 files: Common/FileSystem.cs (35), Common/FileSystem_Checksum.cs (6). The bar is 30 methods; this is 11 over it, 1.37\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":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de780fea9254929eead5e4abdf41a85d661c38616ef3694e26dc61b3edccdf5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/FullscreenAppViewModel.cs: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 183 over it, 1.37\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":"source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4aadfdbe893239853dc9ebb57fdd0c30333acd60da54699aa8b7eaf8c82f6d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MetadataDownloader.DownloadMetadataAsync: MethodTooLong \u2014 DownloadMetadataAsync runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Metadata/MetadataDownloader.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a142ab4418d25a42de3af1551efe5a834f5ccdb636d792ecd07663d461b799"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Filters.OnApplyTemplate: MethodTooLong \u2014 OnApplyTemplate 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":"source/Playnite.FullscreenApp/Controls/Views/Filters.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8269ef6789a5cfd51d84b650eed55f9d8c8bfac4f493ca01c7433863dd955b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TGA.CheckAndUpdateOffsets: MethodTooLong \u2014 CheckAndUpdateOffsets runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":4799}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1d830b0d0349563f813f85e7bee990ce6585fd87fee4f87a360de09456a856"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TGA.ToBitmapFunc: MethodTooLong \u2014 ToBitmapFunc runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5681}}}],"partialFingerprints":{"codehealthFindingId/v1":"919ca848b85118531d5f28c9249120389c47e9ceb064fbe24a48cbf8cc212e1e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DatabaseExplorer: ClassTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 109 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"261b6f811c9806d72e3168fc210fc46ad09ae1fc39953be5f0d80ec995b72d71"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ItemCollection: TooManyMethods \u2014 300 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/ItemCollection.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f76fed60c5f9cde287fd701ee89132261dbb2e1502d51580cea8ef23dd49329"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamesEditor.PlayGame: MethodTooLong \u2014 PlayGame runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"63df0212c6f97210735755cb0cb3df05ba8aeacd12caae2dd507932daaa97549"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MainViewModelBase: TooManyMethods \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"source/Playnite/ViewModels/MainViewModelBase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efd161ba2ae3842f2a84dc6daa113d915689f550067fa96b9be07d5aa0bfc0c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FullscreenTilePanel: TooManyMethods \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"source/Playnite.FullscreenApp/Controls/FullscreenTilePanel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9d7033f6a9686d543b1b14cb827a00d4b5ad7decc9ff32069d7e26a651bc8d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Plugin: TooManyMethods \u2014 81 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"source/PlayniteSDK/Plugins/Plugin.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae94dffb51a8dac7993ec68e33b896bf068be1cc2f321b85a0af90f54adaa828"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GameScanner.Scan: MethodTooLong \u2014 Scan runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6884f28c90d0956dd148f6f01d705779b690e6b63c31fe78022afb00698626b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GameOverview: ClassTooLong \u2014 484 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 84 over it, 1.21\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":"source/Playnite.DesktopApp/Controls/Views/GameOverview.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9601dea2e6be1cf0e01599b5748972209a679cda0a30a64d60d815d0e52e9cd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Database/DatabaseExplorer.cs: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 92 over it, 1.18\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":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a53283ce0c140c549061cb1738eb67c52b25f325a9b655e462c57d008df115"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/MainViewModelBase.cs: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 90 over it, 1.18\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":"source/Playnite/ViewModels/MainViewModelBase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"004774aa592a9f1161b516313954cc0c63e3d665ea881031cdbe39d69930a637"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DatParser.ProcessLibretroDb: MethodTooLong \u2014 ProcessLibretroDb runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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":"source/Tools/Playnite.Utilities/DatParser.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6403cbd52897a5aa5ec11f1d3e590bd1a64a62c600a06f496159d7d9491119fb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DatabaseFieldsManagerViewModel: ClassTooLong \u2014 467 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 67 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"747fa42858b57f7cebcdda80cc6e4f9430ffd562c825d221c8a42b5c1668d3c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/SearchViewModel.cs: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 79 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ViewModels/SearchViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae790cea498a17cb7c83325ca8c987a8fe581300b282488e69f96ee8ef1f1b0c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GenericPlayController: ClassTooLong \u2014 461 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 61 over it, 1.15\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":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf563b6c1b7bf09ca905271825a21d932373498b9cb97a1b2b230be5e49547ed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FilterMatcher: TooManyMethods \u2014 162 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"source/Playnite/Database/GameDatabase_Filters.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac3d3fe8f827a1c0bcad0834e056453107013717d16a8be07f6687062d539d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GameMenu.InitializeItems: MethodTooLong \u2014 InitializeItems runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f8ab34d1b2f2679f39a2053b162383073d8e553de4d5b7d22803eda11f9822"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MetadataDownloader.ProcessField: MethodTooLong \u2014 ProcessField runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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":"source/Playnite/Metadata/MetadataDownloader.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b08fc1ac0a1cfc000d0499103e387dbc44733eb1d3972299204036ab8bed258"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AddonsViewModel: ClassTooLong \u2014 447 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods, declared across 2 files: ViewModels/AddonsViewModel.cs (11), ViewModels/AddonsViewModel_Online.cs (3). The bar is 400 significant lines; this is 47 over it, 1.12\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":"source/Playnite.DesktopApp/ViewModels/AddonsViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6ebcbfd48083903e3ca947ea4292823036779fc3e5f32dec996f3aeefa6f9b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Game.CopyDiffTo: MethodTooLong \u2014 CopyDiffTo runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"source/PlayniteSDK/Models/Game.cs"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd01326c8e5b1a1f86235f5b8a15a33ab8129281faf19623926ff9311f0a332"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TGA: TooManyMethods \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ef39bcf015646753186d6614ffe10181656e2cb6d7a4d30b1b16940a75d8d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenericPlayController.Start: MethodTooLong \u2014 Start 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":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1936b3165492f8344f315f71e2410307b20de676e8c8505ed8d072d84b6dad2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GameTools.GetMultiGameEditObject: MethodTooLong \u2014 GetMultiGameEditObject 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":"source/Playnite/GameTools.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2a7360c14b2b17fadfb867506c569daa80fe44179b8ea6aaa7dc305a050b38"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayniteApplication.Application_Startup: MethodTooLong \u2014 Application_Startup runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"190b1cb961ee528f3576a95da1870d827228d6027ade4dba86ffd28fc28b00e3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FilterSettings: TooManyMethods \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"source/Playnite/Settings/FilterSettings.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b06b1ec8ebb4b6362f5f0bdde2027363b8180070b44aaa3eab9782903cda484"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExtensionFactory: TooManyMethods \u2014 422 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"source/Playnite/Plugins/ExtensionFactory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e71f46d291d044608f876cc1317bdb87950aadd1d31b314c15eda2dc4e0cd7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InMemoryGameDatabase: TooManyMethods \u2014 105 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88500f20ebddb1f053627d84fd18cc1929b7cbf6aaf58bb0a253f11cd29baab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilterPanel.OnApplyTemplate: MethodTooLong \u2014 OnApplyTemplate 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":"source/Playnite.DesktopApp/Controls/Views/FilterPanel.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"33189f1a4a9b170275eeb736c1962ef80adb2bd7b0d9ece3861db6042d4a7a8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/GameOverview.cs: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 over it, 1.01\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":"source/Playnite.DesktopApp/Controls/Views/GameOverview.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc0101495c9d96941b171d5b5111db95afcdd2694a15f5cbb1fb664a256319a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Visuals.Visuals(\u2026): MethodTooLong \u2014 Visuals(\u2026) runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"source/Playnite.FullscreenApp/Controls/SettingsSections/Visuals.xaml.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf549a90656c6c96bbba99f81e07e140d2e2b0f46f08eeb3c9ab31c45050bf4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DatabaseExplorer.ApplyFilter: MethodTooLong \u2014 ApplyFilter runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9e82a0620f4945d1d48de64f2d73710b7883d97818447df8cd4b9664927f3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): source/Playnite.DesktopApp/DesktopCollectionView.cs:303-349 | source/Playnite.DesktopApp/DesktopCollectionView.cs:569-633 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"source/Playnite.DesktopApp/DesktopCollectionView.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bbcedc94207895c04c9937e81252cb4282de69ed8bc394ae1f77163ff49416"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:581-691 | source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs:300-418 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:87-219 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:225-369 | source/Playnite/MenuItems.cs:84-162 | source/Playnite/MenuItems.cs:165-335 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 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. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a88a2746cdbd2c64df289a95ff644c1235d044beae0d86f82602b5eff8024e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): source/Playnite.DesktopApp/Controls/ComboBoxList.cs:129-146 | source/Playnite.DesktopApp/Controls/ComboBoxListBase.cs:37-84 | source/Playnite.DesktopApp/Controls/DdItemListSelectionBox.cs:121-205 | source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs:34-69 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 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. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/ComboBoxList.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"379fc90882513c49504c383417a1ea61ed81a975b00d32694099588f2b8c5161"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): source/Playnite/Database/Collections/PlatformsCollection.cs:133-168 | source/Playnite/Database/Collections/PlatformsCollection.cs:186-215 | source/Playnite/Database/Collections/RegionsCollection.cs:60-95 | source/Playnite/Database/Collections/RegionsCollection.cs:113-142 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 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. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/PlatformsCollection.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"876fac853008122f01b805b95dbd2482198e81d8e17ccb1eaecd6d12ac4d066c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:386-475 | source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs:972-1048 \u2014 These two members are one piece of code written twice and then edited apart: 77 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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"d720ec09556622dd15fbedf0fd106b0c081f5dc6229c0d38160459f1d604947e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): source/Playnite/GamesEditor.cs:874-936 | source/Playnite/GamesEditor.cs:939-1009 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdd274df742eacf7e7884f75617d1977ea0a8cec7b924efab54d18b5e44bdc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): source/Playnite/App/PlayniteApplication.cs:1617-1663 | source/Playnite/App/PlayniteApplication.cs:1666-1707 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"beede07fc0973ff42fc0ab85ad1a9c2fb39da7e91380443ef7964fe30ed0f659"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): source/Playnite/GamesEditor.cs:1113-1156 | source/Playnite/GamesEditor.cs:1159-1210 \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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fcb5fb135668d8ba05c8d070ebec0448dbe112b1bb9b646c1717d68a2cb6df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 54\u002B corresponding lines): source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs:166-219 | source/Playnite.FullscreenApp/Controls/FilterEnumListSelection.cs:168-221 | source/Playnite.FullscreenApp/Controls/FilterStringListSelection.cs:151-204 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 54 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":"source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b3813da1b89774268d9bd4325c3b79044af073805fb0f22161884ab92e88d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): source/Playnite.DesktopApp/Windows/MessageBoxWindow.xaml.cs:299-348 | source/Playnite.FullscreenApp/Windows/MessageBoxWindow.xaml.cs:192-241 \u2014 These two members are one piece of code written twice and then edited apart: 50 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":"source/Playnite.DesktopApp/Windows/MessageBoxWindow.xaml.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34b79f237813bebce64e84c27d918ede8db8f2734da47a37f9e905d62864ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): source/Playnite/Database/Collections/GamesCollection.cs:150-178 | source/Playnite/Database/Collections/GamesCollection.cs:181-215 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"source/Playnite/Database/Collections/GamesCollection.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"aede8418385532aed467b7a54322b9dfdcbe8ae5584f83874c60e4a9587c0f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): source/Playnite/Emulators/Scanner.cs:456-488 | source/Playnite/Emulators/Scanner.cs:491-519 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d84d10651c01595311175b28b0e476cd9e52f147a5ffbe91e326cb9be6589f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): source/Playnite.DesktopApp/DesktopApplication.cs:202-241 | source/Playnite.FullscreenApp/FullscreenApplication.cs:174-195 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"source/Playnite.DesktopApp/DesktopApplication.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a50c19b8b1840c6f6a96d48f9f933faf9190eac48961010107317b5f4ff7987"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): source/Playnite.DesktopApp/ViewModels/EmulatedGamesImportViewModel.cs:542-575 | source/Playnite.DesktopApp/ViewModels/EmulatedGamesImportViewModel.cs:578-617 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"source/Playnite.DesktopApp/ViewModels/EmulatedGamesImportViewModel.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cb2a4b61435aab0c525e315dcecd8178c9c60f6d975163015409ac96ace32c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:807-836 | source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:839-868 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"40365f4f474837dad37104992bab069183f1d02f8e5e6d17740c3424e1774b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): source/Playnite/Database/OldModels/Ver2.cs:1803-1860 | source/PlayniteSDK/Models/Emulator.cs:366-408 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"source/Playnite/Database/OldModels/Ver2.cs"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"2919df0d0f99e18425ca75491f7aa7032d64cc7845ea176defbab20af4111c65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:968-1006 | source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs:743-781 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a4f54a21ffeab7dd599b8d0238a4f1d4ecf076a2ca02fb06c452cb592aa178"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): source/Playnite.DesktopApp/Controls/Views/DetailsViewGameOverview.cs:30-49 | source/Playnite.DesktopApp/Controls/Views/GridViewGameOverview.cs:30-49 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"source/Playnite.DesktopApp/Controls/Views/DetailsViewGameOverview.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4014fec11697fb9b5c8f7e36f6f9fd559b7bc35727ca4939e89da3f1bb33dcae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): source/Playnite/Database/Collections/ItemCollection.cs:468-517 | source/Playnite/Database/Collections/ItemCollection.cs:520-569 \u2014 These two members are one piece of code written twice and then edited apart: 50 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":"source/Playnite/Database/Collections/ItemCollection.cs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e15d0279939764738f795d699cc052df3af4e5ac5208c5e16b9613b9e810ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): source/Playnite/Backup.cs:277-293 | source/Playnite/Backup.cs:295-334 \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":"source/Playnite/Backup.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c81567afd04206f82cc9f4cd83cec6b3073e177dc7d29c27199776a9cad32c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): source/Playnite.DesktopApp/ViewModels/MetadataComparisonViewModel.cs:367-388 | source/Playnite.DesktopApp/ViewModels/MetadataComparisonViewModel.cs:391-412 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"source/Playnite.DesktopApp/ViewModels/MetadataComparisonViewModel.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf37cf26ec1df1a2e2b5a7a75eb046fbee960e620ddda3141e2b076f73fea5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs:1664-1700 | source/Playnite.DesktopApp/ViewModels/SettingsViewModel.cs:696-733 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"7902de5e2c0cb92d0f8d9a5d102d57c3bc917f090492530784649ef35d911a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): source/Playnite/Plugins/ExtensionFactory.cs:653-691 | source/Playnite/Plugins/ExtensionFactory.cs:694-725 | source/Playnite/Plugins/ExtensionFactory.cs:728-759 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 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":"source/Playnite/Plugins/ExtensionFactory.cs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"591a1c095d95784ad1c53c2f6dc4dc3757e83a7c83066eac4cae68028f02a28a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): source/Playnite/SelectableItem.cs:329-363 | source/Playnite/SelectableItem.cs:615-659 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"source/Playnite/SelectableItem.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f46e70f9f271bf129665b601720408fddae3fbc8f1e4deabd8160fafcb21bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): source/Playnite/Database/DatabaseExplorer.cs:277-304 | source/Playnite/Database/DatabaseExplorer.cs:318-352 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccece81fbd149edd31f2fb1dd913bbed5074a5c69af7282d6235e1ae93be96e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): source/Playnite.DesktopApp/ViewModels/DesignData/DesignMainViewModel.cs:65-88 | source/Playnite.FullscreenApp/ViewModels/DesignData/DesignMainViewModel.cs:70-95 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"source/Playnite.DesktopApp/ViewModels/DesignData/DesignMainViewModel.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0a152926e560aab94d8630bd599fda35ef6dab481f8de1137bf50d0e69070a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): source/Playnite.DesktopApp/DesktopApplication.cs:151-177 | source/Playnite.FullscreenApp/FullscreenApplication.cs:114-140 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"source/Playnite.DesktopApp/DesktopApplication.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dfa86e6e890f08cd9bbb67c66e791145d7b93fb69afa68da2ce150595a2827"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): source/Playnite/Common/FileSystem.cs:441-473 | source/Tools/Playnite.Toolbox/Themes.cs:113-150 | source/Tools/Playnite.Toolbox/Themes.cs:247-270 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61881926e545999bd680712c0f4524d6a17a9ec2970a5252d3dc0defda88038"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): source/PlayniteSDK/Models/Emulator.cs:848-877 | source/PlayniteSDK/Models/Platform.cs:100-129 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"source/PlayniteSDK/Models/Emulator.cs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9123a63d77e54021ec544983cc8efa486def2d01619fcf18513365f9bcdeaf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): source/Playnite/Database/Collections/PlatformsCollection.cs:88-109 | source/Playnite/Database/Collections/PlatformsCollection.cs:112-130 \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":"source/Playnite/Database/Collections/PlatformsCollection.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed79187c9bb8cf3a1d33f7fdde17a9ad7a430c91b77bf4807af879ccdb5ab79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): source/Playnite/ViewModels/MainViewModelBase.cs:997-1038 | source/Playnite/ViewModels/MainViewModelBase.cs:1041-1071 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"source/Playnite/ViewModels/MainViewModelBase.cs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"296c543900bf5a44bbb29aa9115ef01a75a8ec4b22fc5d8eacbde3641a24b568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): source/Playnite.DesktopApp/Controls/GridViewPanel.cs:280-304 | source/Playnite.FullscreenApp/Controls/FullscreenTilePanel.cs:406-433 \u2014 These two members are one piece of code written twice and then edited apart: 25 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":"source/Playnite.DesktopApp/Controls/GridViewPanel.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fba64b9bd9435daeccbb9dbe5ad13db1282cc208d77a35ab434d93f05aaf894"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): source/PlayniteSDK/Extensions/ListExtensions.cs:200-227 | source/PlayniteSDK/Extensions/ListExtensions.cs:233-260 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"source/PlayniteSDK/Extensions/ListExtensions.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2bae06642cbe592f86767a24e76f7f07ff8d73eb29c5bd5969a631d9a60c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): source/Playnite.DesktopApp/Controls/FilterStringSelectionBox.cs:36-54 | source/Playnite.FullscreenApp/Controls/FilterStringListSelection.cs:59-83 \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":"source/Playnite.DesktopApp/Controls/FilterStringSelectionBox.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6367525fdd0370c5c0da58145e2ce05ea2d62a9f9df2af6f86cbe305e07c49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): source/Playnite.DesktopApp/Windows/MessageBoxWindow.xaml.cs:188-223 | source/Playnite.FullscreenApp/Windows/TextInputWindow.xaml.cs:138-168 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"source/Playnite.DesktopApp/Windows/MessageBoxWindow.xaml.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"371072050555f1a7804cd0a62b02820ab5fade5f3fd97c5f0a0af1dd67e2c5c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): source/Playnite.DesktopApp/Controls/GridViewPanel.cs:425-446 | source/Playnite.DesktopApp/Controls/GridViewPanel.cs:449-473 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"source/Playnite.DesktopApp/Controls/GridViewPanel.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf4dee433866d907543e220651e3fb7ed0a9e020b674aa68484f11db98c7b9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): source/Playnite/ViewModels/ProgressViewViewModel.cs:81-111 | source/Playnite/ViewModels/ProgressViewViewModel.cs:114-144 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"source/Playnite/ViewModels/ProgressViewViewModel.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce30bc480b411ac2efeb0b00d51e6fc6c492d74ece1dcc78911a3efbf2e0bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:920-940 | source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:943-959 \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":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb68ea21c63ecfef8d06c3b8f69bafde40774009918a04fce4707ef0af216e27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): source/Playnite/Converters/ListToStringConverter.cs:136-161 | source/Playnite/Converters/ListToStringConverter.cs:191-210 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"source/Playnite/Converters/ListToStringConverter.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecefc48426a8ddb29ee07d9a4399247f3df666ff74268c8a2ca9959687e2eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): source/Playnite/Scripting/PowerShell/PowerShellScript.cs:37-58 | source/Playnite/Scripting/PowerShell/PowerShellScript.cs:61-82 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"source/Playnite/Scripting/PowerShell/PowerShellScript.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc44ed8968866f8f604d4ea30a4505b766540b84510ebb055d1f9a9283725bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): source/Playnite/GamesEditor.cs:1803-1822 | source/Playnite/GamesEditor.cs:1825-1844 | source/Playnite/MenuItems.cs:57-81 | source/Playnite/Plugins/ExtensionFactory.cs:923-942 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf8f1e5a3474fcd2a421327e1a653069a5073b58c05637ef25820e857c4996d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): source/Playnite/Common/Web/Downloader.cs:88-105 | source/Playnite/Common/Web/Downloader.cs:165-182 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"source/Playnite/Common/Web/Downloader.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73de0ee7d0006c17beee292feeb9c31bde4da76fa85541fa0fe4f6134264128"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:970-991 | source/Playnite.DesktopApp/ViewModels/ToolsConfigViewModel.cs:238-259 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf157e31bf30f17978dd585ce75ac4101ccd7c2695d9746fd11ddabcaab7a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): source/Playnite/Common/FileSystem.cs:175-193 | source/Playnite/Common/FileSystem.cs:196-214 | source/Playnite/Common/FileSystem.cs:217-235 | source/Playnite/Common/FileSystem.cs:238-256 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 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":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e50e173976772ea80b415ae7c2530a385e40afe381c6144acc0e3e23a4fbce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): source/Playnite/Converters/NumericConverters.cs:58-78 | source/Playnite/Converters/NumericConverters.cs:128-148 | source/Playnite/Converters/NumericConverters.cs:198-218 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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":"source/Playnite/Converters/NumericConverters.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a694abe17035beedd6ae8238903770a8a26102b788c31e27ea765a65ccbedc12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): source/Playnite/Controls/GridEx.cs:232-245 | source/Playnite/Controls/GridEx.cs:248-261 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"source/Playnite/Controls/GridEx.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"732fea74dbbfa85cc0e3c4112289cd1736115d35e226dc1df6c3c31df3ff0b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs:152-172 | source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs:116-134 \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":"source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec76462e87a1bb0f01fbfb6034a0fa43278c9fe510262c7fbf3ac47918c09717"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): source/PlayniteSDK/Extensions/ListExtensions.cs:118-139 | source/PlayniteSDK/Extensions/ListExtensions.cs:149-170 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"source/PlayniteSDK/Extensions/ListExtensions.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaaab37b7ba6be24cd6e7526e09c00124e90690319764b107e4d376f38cd9f43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): source/PlayniteSDK/LogManager.cs:103-122 | source/PlayniteSDK/LogManager.cs:131-154 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"source/PlayniteSDK/LogManager.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec5fb569688884ae2e5c0d54c902ba2931b39b7679d2091e5f459c3dd7d520a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs:96-119 | source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs:60-84 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b544e5b796ef1acce345a1720fd270594cf2d5069e2af87b43bb391e6016c341"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:1413-1434 | source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs:432-454 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3c27a57c3fa46331cbbb54569cbcbe6a188e74ed7e41fd8b17c9255cf016b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): source/Playnite.FullscreenApp/Controls/Views/Filters.cs:215-227 | source/Playnite.FullscreenApp/Controls/Views/FiltersAdditional.cs:131-144 \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":"source/Playnite.FullscreenApp/Controls/Views/Filters.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e181279bf0dd39d8069e04a42d53ed2c9a22f6b7326145df05d16e4132d25e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): source/Playnite.DesktopApp/DesktopApplication.cs:379-400 | source/Playnite.FullscreenApp/FullscreenApplication.cs:283-304 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"source/Playnite.DesktopApp/DesktopApplication.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac69e2b90b2d8d9089be39c0977071b9dc80d2af59efa5c123046b668a516af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): source/Playnite/Database/Collections/GamesCollection.cs:101-118 | source/Playnite/Database/Collections/GamesCollection.cs:126-147 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"source/Playnite/Database/Collections/GamesCollection.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08678989008decdefae18b8e30c426bab500b15504ffbc3bc2e5c0b90eba0d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): source/Playnite/HdrUtilities.cs:22-45 | source/Playnite/HdrUtilities.cs:52-75 | source/Playnite/HdrUtilities.cs:82-119 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"source/Playnite/HdrUtilities.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"004f2751671bbb964972c84b676b3486952a25aab0c7ac14d06cf93ecbcc1a24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): source/Playnite.DesktopApp/DesktopApplication.cs:71-81 | source/Playnite.FullscreenApp/FullscreenApplication.cs:68-79 \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":"source/Playnite.DesktopApp/DesktopApplication.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e531385e132083daa8c072b9d02418df465755894d31d4454e642a8edeb0d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): source/Playnite/Database/OldModels/Ver2.cs:88-106 | source/PlayniteSDK/Models/DatabaseObject.cs:51-71 \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":"source/Playnite/Database/OldModels/Ver2.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8593a1c3856b21145c154496d214a944fabb2645eeff2cbcd719a68128e2dcbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): source/Playnite/Common/ProcessStarter.cs:96-121 | source/Playnite/Common/ProcessStarter.cs:124-154 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"source/Playnite/Common/ProcessStarter.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1ef110789c5b551d9277c3106289840a1de25d7be43f95a0505849c135d09c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): source/Playnite.DesktopApp/Controls/GamesGridView.xaml.cs:167-180 | source/Playnite/Controls/ExtendedListBox.cs:60-73 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"source/Playnite.DesktopApp/Controls/GamesGridView.xaml.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"715e6ebcef2a4db8bd035df4149d2015ffecda42f8339a0cd5d67cae93dd9762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): source/Playnite/Common/TGASharpLib.cs:4365-4380 | source/Playnite/Common/TGASharpLib.cs:4390-4404 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":4365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a18ed757bd30fb971baa29f23b3709e2040a6ffd56b1d7994a08f23ccfabf45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): source/Playnite.FullscreenApp/ViewModels/MainMenuViewModel.cs:134-152 | source/Playnite.FullscreenApp/ViewModels/MainMenuViewModel.cs:155-173 | source/Playnite.FullscreenApp/ViewModels/MainMenuViewModel.cs:190-208 | source/Playnite.FullscreenApp/ViewModels/MainMenuViewModel.cs:211-230 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 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":"source/Playnite.FullscreenApp/ViewModels/MainMenuViewModel.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f91eaf87b1b8205f3cd39f93c32f0ac0000e16e15f5c7a5e62c26862c531e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): source/Playnite/Database/DatabaseExplorer.cs:537-554 | source/Playnite/Database/DatabaseExplorer.cs:557-574 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"155f902b4cc5d9cbc53b9c0f36b3da023d2bd5cfa3c55ea004fb84b38378b4b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): source/Playnite.DesktopApp/Controls/FilterEnumSelectionBox.cs:126-144 | source/Playnite.DesktopApp/Controls/FilterStringSelectionBox.cs:87-105 | source/Playnite.FullscreenApp/Controls/FilterStringListSelection.cs:115-132 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"source/Playnite.DesktopApp/Controls/FilterEnumSelectionBox.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4757cfecfaa30f95eff5fe7a319840d066993802056ad51aa4bb2cb126a3fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): source/Playnite/Controls/GridEx.cs:50-62 | source/Playnite/Controls/GridEx.cs:92-104 \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":"source/Playnite/Controls/GridEx.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ede7b0385e7be1d879f5681122f915f5cc94db98f4d31b2c2d7537f9724b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): source/Playnite.DesktopApp/Controls/Views/FilterPanel.cs:211-222 | source/Playnite.DesktopApp/Controls/Views/FilterPanel.cs:225-239 \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":"source/Playnite.DesktopApp/Controls/Views/FilterPanel.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8d609f8a27752a17c8ce3a78367b1145a0097689a4f63c84ff6e3cd8f21037"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): source/Playnite/Database/OldModels/NewVer1/OldGameAction.cs:179-191 | source/Playnite/Database/OldModels/Ver2.cs:1769-1781 | source/PlayniteSDK/Models/GameAction.cs:289-303 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/OldModels/NewVer1/OldGameAction.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2bac077337692175b801696ac184f5bc62d909063bd57a07f240448f6bfccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:1179-1186 | source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:1188-1195 | source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:1197-1204 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"88eb8507876fd6b070fac85ad05f1125676c33cd4682a799f0bfdb8a9dc4d218"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): source/Playnite/Converters/StringNullOrEmptyToBoolConverter.cs:20-30 | source/Playnite/Converters/StringNullOrEmptyToVisibilityConverter.cs:22-32 \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":"source/Playnite/Converters/StringNullOrEmptyToBoolConverter.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"de06bf4ad7502ab73742ed3a06dc54ba993fddf27936746f5b01669a9f80d5fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): source/Playnite/Database/Collections/LiteDBFileReaderV7.cs:41-55 | source/Playnite/Database/Collections/LiteDBFileReaderV7.cs:61-75 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"source/Playnite/Database/Collections/LiteDBFileReaderV7.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c17549e50051a242d6699fa7b4adbc326e34dacf505ac9acd021526f6ea23f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): source/Playnite/SelectableItem.cs:194-210 | source/Playnite/SelectableItem.cs:431-447 \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":"source/Playnite/SelectableItem.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"540f160ac30d1ca9378bcc0cf255076e541c2386124f09732d5c59a682d53866"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): source/PlayniteSDK/Models/Emulator.cs:765-779 | source/PlayniteSDK/Models/Emulator.cs:789-802 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"source/PlayniteSDK/Models/Emulator.cs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cfb2faba41fc1907fb6d2313aee05e7c62fcbc81fd9bc525ad2da2ed42af73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs:68-93 | source/Playnite.DesktopApp/Controls/Menus/TrayContextMenu.cs:53-80 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2b3ef65e6d923eded1b4d77f82a43e5b6af429465e3a4f80f207e4f4c46fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): source/PlayniteSDK/Extensions/ListExtensions.cs:266-283 | source/PlayniteSDK/Extensions/ListExtensions.cs:289-307 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"source/PlayniteSDK/Extensions/ListExtensions.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee69adcc240ddadaf32fb2cff6a248ae1451bb31fdd6c99da9f3f6fed371d145"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): source/Playnite/Common/TGASharpLib.cs:1806-1819 | source/Playnite/Common/TGASharpLib.cs:2444-2455 \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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb876f9963042d1b29146a062275b555f63ee6d3f9156a4d9dbf072ec17e09b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): source/Playnite/Common/TGASharpLib.cs:1692-1703 | source/Playnite/Common/TGASharpLib.cs:2894-2903 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5707b09a68d80e3c60046bb45eb85b40d83302bbbb559ffb04e78f05fb48814"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): source/Playnite/Audio.cs:53-72 | source/Playnite/Audio.cs:107-126 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"source/Playnite/Audio.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"024f4def8ce7bd760bc71686a99450c92b6d0ecd01c06418b97d8f017f6cfc42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): source/Playnite/Plugins/ExtensionFactory.cs:127-144 | source/Playnite/Plugins/ExtensionFactory.cs:147-164 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"source/Playnite/Plugins/ExtensionFactory.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af2297d2b99c84c53f2dd617a91eb176bd57073deeb898d459b8cf08ec06da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): source/Playnite/Plugins/ExtensionInstaller.cs:241-258 | source/Playnite/Plugins/ExtensionInstaller.cs:328-363 | source/Playnite/Plugins/ExtensionInstaller.cs:366-410 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"source/Playnite/Plugins/ExtensionInstaller.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdeb9487cada565d2366458fc9e1b81b500c2f8130a4070d30bf90cc650ded6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): source/Playnite.DesktopApp/Controls/Views/FilterPanel.cs:301-316 | source/Playnite.DesktopApp/Controls/Views/FilterPanel.cs:319-337 \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":"source/Playnite.DesktopApp/Controls/Views/FilterPanel.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b215bd142c9e7ac1459c41c373109814dac1fc3cebc1ee54f6ca72683634b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): source/Playnite/Database/DatabaseFilter.cs:332-347 | source/Playnite/Database/DatabaseFilter.cs:350-365 \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":"source/Playnite/Database/DatabaseFilter.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"63daa7b75ef77cb88a5cd7916dad913dbd677e1632a61f765d728d3bd88db108"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): source/Playnite/DiscordManager.cs:58-87 | source/Playnite/DiscordManager.cs:90-110 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"source/Playnite/DiscordManager.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbf646a33f2cbc8abb06fc5da2e2915a1d7dbf9cfa194eb18d561d9454ca37b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): source/Playnite/GamesEditor.cs:1599-1607 | source/Playnite/GamesEditor.cs:1610-1620 \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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a5c11bd8d739a2ea142f6d92bc2e20f9c39b8c8225f92e50e0cbb31e1281be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): source/Playnite.DesktopApp/Controls/Views/TopPanel.cs:129-138 | source/Playnite.DesktopApp/Controls/Views/TopPanel.cs:141-151 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"source/Playnite.DesktopApp/Controls/Views/TopPanel.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"742f6c011651435082793067d6f8bf8cd025e8354cd19d8836d04d5468739adf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:592-599 | source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:604-611 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b896477152037b7a2bf758c999655c525a5ffbaa5c8cdcbbeb68fc37a143fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): source/Playnite.DesktopApp/ViewModels/EmulatedGamesImportViewModel.cs:524-530 | source/Playnite.DesktopApp/ViewModels/EmulatedGamesImportViewModel.cs:533-539 \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":"source/Playnite.DesktopApp/ViewModels/EmulatedGamesImportViewModel.cs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"0559eeb826591c67fbe2fb211014cb43bf943c4d2e4cad313ece549001f8ce03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): source/Playnite.DesktopApp/Controls/Views/GameOverview.cs:560-574 | source/Playnite.FullscreenApp/Controls/Views/Main.cs:175-193 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"source/Playnite.DesktopApp/Controls/Views/GameOverview.cs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"befb743bac02d3807b5be5e6e41e9adc5a10317140eb6536cf14e2aac3078523"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): source/Playnite/Common/SystemDialogs.cs:17-36 | source/Playnite/Common/SystemDialogs.cs:54-72 | source/Playnite/Common/SystemDialogs.cs:75-94 | source/Playnite/Common/SystemDialogs.cs:102-120 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 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":"source/Playnite/Common/SystemDialogs.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9999debcf644d0b5f519cebee60e07402bfd45f4af6508ecf85cbed8642c053c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs:1519-1526 | source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs:1543-1550 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"465b7ce7dac1a64b83425207338a7c412d8d3ba6c62c8a7710437d273df419d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): source/Playnite.FullscreenApp/FullscreenApplication.cs:350-374 | source/Playnite.DesktopApp/DesktopApplication.cs:437-459 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"source/Playnite.FullscreenApp/FullscreenApplication.cs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"6077f68a4eb79339ae172a893394b3700252fb24ea8985e0e8fb9ebd1c381115"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): source/Playnite/Common/Web/Downloader.cs:233-249 | source/Playnite/Common/Web/Downloader.cs:252-268 \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":"source/Playnite/Common/Web/Downloader.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f244c3d6306b730af0eefa447123642291a0b70c7d37d42203f5b968deeabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): source/Playnite/SDL2.cs:838-849 | source/Playnite/SDL2.cs:861-873 | source/Playnite/SDL2.cs:1356-1369 | source/Playnite/SDL2.cs:8826-8840 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SDL2.cs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbc08dabd95998b04cfcf3c17014ec2ddfbc948a036bd772467de55c4bd0423"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): source/Playnite/Emulators/EmulationDatabase.cs:42-51 | source/Playnite/Emulators/EmulationDatabase.cs:54-63 | source/Playnite/Emulators/EmulationDatabase.cs:66-75 | source/Playnite/Emulators/EmulationDatabase.cs:78-87 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 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":"source/Playnite/Emulators/EmulationDatabase.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"070ec6c8b144061e1318927f3f77616f38a7c18033508b85783e981d5337b8c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): source/Playnite.DesktopApp/Controls/NullableIntBox.cs:85-108 | source/Playnite.DesktopApp/Controls/NumericDoubleBox.cs:119-144 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"source/Playnite.DesktopApp/Controls/NullableIntBox.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d281643d65a29d028b724001a2a5475e7be4873d647101e33e29aff83776a13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): source/Playnite/Controllers/GameControllerFactory.cs:108-121 | source/Playnite/Controllers/GameControllerFactory.cs:124-138 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"source/Playnite/Controllers/GameControllerFactory.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc5b1491149e7ff358d239cbeb5b8389d5806cc09bcc409dcc3f950f7e2e822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): source/Playnite/Settings/PlayniteSettings.cs:2751-2764 | source/Playnite/Settings/PlayniteSettings.cs:2767-2780 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"source/Playnite/Settings/PlayniteSettings.cs"},"region":{"startLine":2751}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2c4f9b53e41503990350d1c960238b8cbe82ba14cdebb24ceac860eb9be16d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:490-503 | source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs:1071-1084 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1a14dad502cf04a5bc971cd1d562f5489431bea6862bc68eb72bda9cf22a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): source/Playnite/Settings/PlayniteSettings.cs:2687-2700 | source/Playnite/Settings/PlayniteSettings.cs:2703-2716 | source/Playnite/Settings/PlayniteSettings.cs:2719-2732 | source/Playnite/Settings/PlayniteSettings.cs:2735-2748 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 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":"source/Playnite/Settings/PlayniteSettings.cs"},"region":{"startLine":2687}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ebb667f8c4f0c3259accf066f0063abfec16bf9377e26831e4095fe76df246"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): source/Playnite/API/NotificationsAPI.cs:57-68 | source/Playnite/API/NotificationsAPI.cs:82-94 \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":"source/Playnite/API/NotificationsAPI.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dec0a6527f3c5a7c183e6c9d9604ba30459cf540f12e32464d0b419b3e2e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): source/Playnite.DesktopApp/Controls/Menus/FilterPresetsMenu.cs:29-42 | source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs:46-60 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"source/Playnite.DesktopApp/Controls/Menus/FilterPresetsMenu.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a574d558a7930ffd9ac218c6ef443e2f1ea110a2f7db3a383d3e8a49501c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): source/Playnite.DesktopApp/ViewModels/EmulatorsViewModel.cs:349-366 | source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs:459-476 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"source/Playnite.DesktopApp/ViewModels/EmulatorsViewModel.cs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78d4889b4e3125d5a7c90b94b718501b6a7d919bf3a57fb2bf8b0dd01f931dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): source/Playnite/Extensions/Markup/Api.cs:22-38 | source/Playnite/Extensions/Markup/Settings.cs:47-63 \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":"source/Playnite/Extensions/Markup/Api.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"379399488038cee5485d5a6747f074e8d3e6ea8f5668db581d353d45655d40e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): source/Playnite.DesktopApp/Controls/Views/GameOverview.cs:164-179 | source/Playnite.DesktopApp/Controls/Views/BaseGamesView.cs:35-48 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"source/Playnite.DesktopApp/Controls/Views/GameOverview.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"897b5d55981770e96336ba951c71510792fb6c9ab69095d7302e60d7f35e7979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): source/Playnite.DesktopApp/Controls/Views/Library.cs:48-60 | source/Playnite.DesktopApp/Controls/Views/LibraryListView.cs:33-44 \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":"source/Playnite.DesktopApp/Controls/Views/Library.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"952f89a4bc4869bc982f328d2ef4aa2de5c0df4187d65dc5d3f650f07a9ded90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): source/Playnite.DesktopApp/ViewModels/EmulatorsViewModel.cs:434-448 | source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs:490-504 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"source/Playnite.DesktopApp/ViewModels/EmulatorsViewModel.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b92c6cd3bd5661700cb9b6fc8b3de80328facc54322c3a788c8034328813309"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): source/Playnite.DesktopApp/Controls/FilterStringSelectionBox.cs:57-65 | source/Playnite.FullscreenApp/Controls/FilterStringListSelection.cs:86-93 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"source/Playnite.DesktopApp/Controls/FilterStringSelectionBox.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2c363703c646c361b46eaa7779e708db5b92f47359c772160ba456c1035bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): source/Playnite.DesktopApp/Controls/Views/MainWindow.cs:33-44 | source/Playnite.DesktopApp/Controls/Views/Sidebar.cs:35-48 \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":"source/Playnite.DesktopApp/Controls/Views/MainWindow.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4f551baedff034d7cf139928f732474c57307f8e955ce51f4b77740d9ca72e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): source/Playnite/Database/Collections/CompletionStatusesCollection.cs:44-55 | source/Playnite/Database/Collections/FilterPresetsCollection.cs:73-84 | source/Playnite/Database/Collections/GameScannersCollection.cs:48-59 \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":"source/Playnite/Database/Collections/CompletionStatusesCollection.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"089a3a7a74c99569e2dc703bc790f5fd51554480d88f276569f21c82361e8fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): source/Playnite/WebView/OffscreenWebView.cs:69-77 | source/Playnite/WebView/WebView.cs:67-75 \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":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"731537aef1a9b5d2f1eaf9a74be0f793ef3b2c44c2a7a0706888c0c5e4b788cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs:515-523 | source/Playnite.FullscreenApp/ViewModels/GameDetailsViewModel.cs:126-134 \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":"source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"9349153236a2d8a4009a30a1a2e35b9152e9ae951caaf931359055cac6d097f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs:526-534 | source/Playnite.FullscreenApp/ViewModels/GameDetailsViewModel.cs:137-145 \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":"source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"76107545f1374a6caf05786474e6dbe0ca1b36f2936be0a0e6f6a49a18ad7ec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): source/Playnite/Database/Collections/PlatformsCollection.cs:171-183 | source/Playnite/Database/Collections/RegionsCollection.cs:98-110 \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":"source/Playnite/Database/Collections/PlatformsCollection.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"381963289283cfddfb9cb787f1dd041d9ddf7bcc6ab15519ea8238323ea5eb06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): source/Playnite/Database/Collections/PlatformsCollection.cs:218-230 | source/Playnite/Database/Collections/RegionsCollection.cs:145-157 \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":"source/Playnite/Database/Collections/PlatformsCollection.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b561f11ae9e354ba2399b30cba947576f9f1c5ac880dd2c924ce632a7674f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): source/Playnite.DesktopApp/ViewModels/DesignData/DesignMainViewModel.cs:23-37 | source/Playnite.FullscreenApp/ViewModels/DesignData/DesignMainViewModel.cs:28-42 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"source/Playnite.DesktopApp/ViewModels/DesignData/DesignMainViewModel.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea25612682c859e904c177a968366fb0169558156f45d4dc8cc55ab1565dc79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 7\u002B corresponding lines): source/Playnite.DesktopApp/Windows/AddonsWindow.xaml.cs:22-28 | source/Playnite.DesktopApp/Windows/CategoryConfigWindow.xaml.cs:22-28 | source/Playnite.DesktopApp/Windows/GameEditWindow.xaml.cs:22-28 | source/Playnite.DesktopApp/Windows/GoogleImageDownloadWindow.xaml.cs:22-28 | source/Playnite.DesktopApp/Windows/MainWindow.xaml.cs:22-28 | source/Playnite.DesktopApp/Windows/MetadataComparisonWindow.xaml.cs:22-28 | source/Playnite.DesktopApp/Windows/SettingsWindow.xaml.cs:28-34 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Windows/AddonsWindow.xaml.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"767e57e1bcc11f19b442cf3d4a63abec9f44ee6bda03a9000a552d30754783ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): source/Playnite.DesktopApp/DesktopDialogs.cs:28-36 | source/Playnite.FullscreenApp/FullscreenDialogs.cs:27-35 \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":"source/Playnite.DesktopApp/DesktopDialogs.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d861d7b4ff1fcbb9f04460bb486eb3cabb5e9244973341805e2af75f54bd67d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): source/Playnite.DesktopApp/DesktopDialogs.cs:127-129 | source/Playnite.FullscreenApp/FullscreenDialogs.cs:126-128 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"source/Playnite.DesktopApp/DesktopDialogs.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c17364393ef719865e5ea938bb80b33f01a7719f4628fc470d7ad954cc7e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): source/Playnite.DesktopApp/ViewModels/AddonsViewModel.cs:427-435 | source/Playnite.DesktopApp/ViewModels/LibraryIntegrationsViewModel.cs:111-119 \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":"source/Playnite.DesktopApp/ViewModels/AddonsViewModel.cs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd3186840f9bb1c486d87698903bfbd80fc494a6d1749ee8df2c2f3ccbe9243"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): source/Playnite/App/Updater.cs:48-55 | source/Tools/PlayniteInstaller/App.xaml.cs:28-35 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"source/Playnite/App/Updater.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad136ffc50a9db09a7ae0f63149b10444582154f383fabbd07a0a588501fdcad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): source/Playnite/Converters/BooleanToVisibilityConverter.cs:19-26 | source/Tools/PlayniteInstaller/Converters.cs:34-41 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"source/Playnite/Converters/BooleanToVisibilityConverter.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"33298aea8c1376c8253fa10ce5002f9aa72a533d2bd10924e8c08a15aa2bf23d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): source/Playnite.DesktopApp/Controls/Menus/GroupSettingsMenu.cs:34-39 | source/Playnite.DesktopApp/Controls/Menus/SortSettingsMenu.cs:34-39 | source/Playnite.DesktopApp/Controls/Menus/ViewSelectionMenu.cs:34-39 | source/Playnite.DesktopApp/Controls/Menus/ViewSettingsMenu.cs:35-40 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 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":"source/Playnite.DesktopApp/Controls/Menus/GroupSettingsMenu.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0013e2e4c1bbe01812f3a219ae6c0afb7e7079152a957c2951c5ac43ddb5dd7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): source/Playnite/Common/Extensions/BitmapExtensions.cs:94-103 | source/Playnite/Database/OldModels/Ver2.cs:1790-1799 | source/PlayniteSDK/Models/GameAction.cs:312-321 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"source/Playnite/Common/Extensions/BitmapExtensions.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b6d08f02e89cdc98ca324a9fb07e0723803e1c8bb1c95749af73d845b9106e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2): source/Playnite.DesktopApp/ProgramEntry.cs:20-88 | source/Playnite.FullscreenApp/ProgramEntry.cs:20-88 \u2014 \u0060source/Playnite.DesktopApp/ProgramEntry.cs\u0060 and \u0060source/Playnite.FullscreenApp/ProgramEntry.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 69 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ProgramEntry.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5791f1e1358ccc99565bf7384895147e28af77d33feb6c4f22679b841244219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): source/Playnite/Database/OldModels/Ver2.cs:2231-2295 | source/PlayniteSDK/Models/ScoreGroup.cs:38-102 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/OldModels/Ver2.cs"},"region":{"startLine":2231}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeeae8bd9755e5dda0bc71bfd687fb35b743fbcb926c1104c978e625ea0c2b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201352 lines \u00D7 2): source/Playnite/API/PlayniteAPI.cs:28-36 | source/PlayniteSDK/IPlayniteAPI.cs:100-151 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060source/PlayniteSDK/IPlayniteAPI.cs:100\u0060 calls \u0060ExpandGameVariables\u0060 and \u0060source/Playnite/API/PlayniteAPI.cs:28\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/PlayniteAPI.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75bd27a2405b4c7b7a848c650195b2c4fec47edf833d5aa37febff9ebd399dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:604-632 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:115-143 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:604\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":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0a78aa76e96cdd12d0f2754f8ff4e29a0d8cc4afac7124a44cb60db2f6c7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs:308-350 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:233-275 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs:308\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":"source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a09aed80fc3e0b45681d180e9817fedb48c40141aa06f4ff5e7487e2c67420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): source/Playnite/Database/OldModels/Ver2.cs:2139-2179 | source/PlayniteSDK/Models/PlaytimeCategory.cs:15-55 \u2014 before extracting anything, compare \u0060source/Playnite/Database/OldModels/Ver2.cs\u0060 and \u0060source/PlayniteSDK/Models/PlaytimeCategory.cs\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/OldModels/Ver2.cs"},"region":{"startLine":2139}}}],"partialFingerprints":{"codehealthFindingId/v1":"392e0a11bb3a64c3b88e29fa3529a0a63e9579c8e072a149f9fd3e92e95d02d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): source/Playnite/Database/OldModels/Ver2.cs:1804-1837 | source/PlayniteSDK/Models/GameAction.cs:326-359 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Ver2_GameAction\u0060 in one and \u0060GameAction\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":"source/Playnite/Database/OldModels/Ver2.cs"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9458cd90a8236bb84e235927f2d24c0df857a97a66c0127ef33273f680ac4ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs:167-198 | source/Playnite.FullscreenApp/Controls/FilterEnumListSelection.cs:169-200 | source/Playnite.FullscreenApp/Controls/FilterStringListSelection.cs:152-183 \u2014 before extracting anything, compare \u0060source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs\u0060 and \u0060source/Playnite.FullscreenApp/Controls/FilterStringListSelection.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs:167\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":"source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2c0f7d289d11de244e8b3e78051dc102266dfa9ddcc7fefb86d168d93f515b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): source/Playnite/Database/OldModels/Ver2.cs:465-488 | source/PlayniteSDK/Models/Emulator.cs:584-607 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Ver2_EmulatorProfile\u0060 in one and \u0060CustomEmulatorProfile\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":"source/Playnite/Database/OldModels/Ver2.cs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12c18bba741beef575eeeeedcb2933cb405f4f8411f8dda9e80f14fc453be1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs:92-118 | source/Playnite.FullscreenApp/ViewModels/GameDetailsViewModel.cs:35-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b9897e66444aba3304abca931a05d3424cc65df605cfa4302a9fab1330f262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): source/Playnite/App/PlayniteApplication.cs:1635-1658 | source/Playnite/App/PlayniteApplication.cs:1679-1702 \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 \u0060source/Playnite/App/PlayniteApplication.cs:1635\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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"d971ca3c987d3426fec665a33f365572ad9f610de2d28d559b9016e7f2fc8501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201325 lines \u00D7 4): source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:613-637 | source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs:335-355 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:124-148 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:260-280 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:613\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"8027709c44bc8bdab34f555151789865823cf6306fe802757cc444150bca8c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:663-687 | source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:691-715 \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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"d308059c0e2c6b238a771c0fc9d9e8aed182ba4c44215582155839eb6fde1a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs:1678-1700 | source/Playnite.DesktopApp/ViewModels/SettingsViewModel.cs:711-733 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs:1678\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs:1702\u0060 calls \u0060CalculateInstallSizeWithDialog\u0060, \u0060UpdateGameSizeWithDialog\u0060 and \u0060source/Playnite.DesktopApp/ViewModels/SettingsViewModel.cs:734\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"21049f86abe028b47373ce35da3792dd260ebc1893e8278c126d9663b9cbe653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): source/Playnite/MenuHelpers.cs:42-58 | source/Playnite/SdkHelpers.cs:48-64 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite/MenuHelpers.cs:42\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":"source/Playnite/MenuHelpers.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"635267930616133e275e16559eaf99f20b29af958b602b1da9319f2f26390c13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): source/Playnite.DesktopApp/DesktopCollectionView.cs:570-590 | source/Playnite.FullscreenApp/FullscreenCollectionView.cs:81-101 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/DesktopCollectionView.cs:570\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":"source/Playnite.DesktopApp/DesktopCollectionView.cs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c244b9deeb50b1adb6d5eaff7a3a817833b4eb345b3ae52229b33e0d7b98068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): source/Playnite.DesktopApp/DesktopApplication.cs:387-400 | source/Playnite.FullscreenApp/FullscreenApplication.cs:291-304 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/DesktopApplication.cs:387\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":"source/Playnite.DesktopApp/DesktopApplication.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3f4185b0df78466ea95ec7610ea9794941eab29e0fd11a486dde47e6374822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:819-836 | source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:851-868 \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 \u0060source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:819\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":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d67d33fba11641e18b1768db8a8f1709286b0da187d449e76d42fb32ea81b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:403-420 | source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs:982-999 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f24b3d9cc1cfdc054a1a09e87cc86121893c939d3399a6060b4be4bd634ca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:158-177 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:293-313 \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 \u0060source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaaba757c6c0596dd747a75e5c6e9c0a47ce6aae0b6af9ae3c691f12280b5da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): source/Playnite/ViewModels/ProgressViewViewModel.cs:93-111 | source/Playnite/ViewModels/ProgressViewViewModel.cs:126-144 \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 \u0060source/Playnite/ViewModels/ProgressViewViewModel.cs:93\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":"source/Playnite/ViewModels/ProgressViewViewModel.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80533d7882bf240313d46690e58418c20d615c58f3d15b5abce2bde3629d98d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): source/PlayniteSDK/Models/Emulator.cs:382-395 | source/PlayniteSDK/Models/Emulator.cs:609-622 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060BuiltInEmulatorProfile\u0060 in one and \u0060CustomEmulatorProfile\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":"source/PlayniteSDK/Models/Emulator.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fcee511b6b83c9b4b996827c8ccd2d2c1aa1ba2bdbb00682f193ca6669d197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): source/Playnite.DesktopApp/DesktopCollectionView.cs:319-338 | source/Playnite.DesktopApp/DesktopCollectionView.cs:598-617 \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 \u0060source/Playnite.DesktopApp/DesktopCollectionView.cs:319\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060source/Playnite.DesktopApp/DesktopCollectionView.cs:317\u0060 calls \u0060AddRange\u0060, \u0060SelectMany\u0060 and \u0060source/Playnite.DesktopApp/DesktopCollectionView.cs:597\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/DesktopCollectionView.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abeb3970b727ed57e78ddd6f8e6d969c8bb51835a59b55316c57b6a728cf651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:844-862 | source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs:1088-1106 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:844\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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d1f6f6ac0f2e8773e1f9a7da9b57cb8c111683cf41b429d452090e78c03ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs:1611-1629 | source/Playnite.DesktopApp/ViewModels/MetadataComparisonViewModel.cs:416-434 \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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"42592468c48df31cc8fade1f4eb495566b07777a08526586d8fefdc3a3351947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): source/Playnite/ImageSourceManager.cs:61-77 | source/Playnite/ImageSourceManager.cs:219-235 \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 \u0060source/Playnite/ImageSourceManager.cs:61\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":"source/Playnite/ImageSourceManager.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fa2e5a3e09951da4646d27e78fc04b8cad4442b5f725a1547edb540d8022a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): source/Playnite/MenuItems.cs:141-159 | source/Playnite/MenuItems.cs:304-323 \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 \u0060source/Playnite/MenuItems.cs:141\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":"source/Playnite/MenuItems.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87486ea395ce8969c79fd19ce94de940ea48649478c7acdb464668036099c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): source/Tools/Playnite.Toolbox/Extensions.cs:90-108 | source/Tools/Playnite.Toolbox/Extensions.cs:139-157 \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 \u0060source/Tools/Playnite.Toolbox/Extensions.cs:90\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":"source/Tools/Playnite.Toolbox/Extensions.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"219574f8f86af82faa2e511b0e487768dfe8bdae95f1ada24d10560fe62e0868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:971-988 | source/Playnite.DesktopApp/ViewModels/ToolsConfigViewModel.cs:239-256 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd644460c3de64fce5def828202c2235d3998c197b69ea05d5e468e2d8d0b0bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): source/Playnite.DesktopApp/Windows/MessageBoxWindow.xaml.cs:206-223 | source/Playnite.FullscreenApp/Windows/TextInputWindow.xaml.cs:151-168 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/Windows/MessageBoxWindow.xaml.cs:206\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":"source/Playnite.DesktopApp/Windows/MessageBoxWindow.xaml.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b439403d6f91d9b8fdda7ac7c33df879b4b5e731c292494a95efaf9a8187cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): source/Playnite.DesktopApp/Windows/MessageBoxWindow.xaml.cs:352-369 | source/Playnite.FullscreenApp/Windows/MessageBoxWindow.xaml.cs:245-262 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"source/Playnite.DesktopApp/Windows/MessageBoxWindow.xaml.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95ccc1baa101a94e06f2ae01886669dbfbe3e9abf54081f00138e934e3fed8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): source/Playnite/Database/Collections/PlatformsCollection.cs:134-151 | source/Playnite/Database/Collections/PlatformsCollection.cs:187-204 \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 \u0060source/Playnite/Database/Collections/PlatformsCollection.cs:134\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":"source/Playnite/Database/Collections/PlatformsCollection.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9ec4bcef1e5c2eefe2267086518a79a80c463eb6ab0678a1c96f45a27c061a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): source/Playnite/Database/Collections/RegionsCollection.cs:61-78 | source/Playnite/Database/Collections/RegionsCollection.cs:114-131 \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 \u0060source/Playnite/Database/Collections/RegionsCollection.cs:61\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":"source/Playnite/Database/Collections/RegionsCollection.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caf4c4132b1146f303aae2d666db210d6d2c95a717c57a148e5b9e9eec6ca90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): source/Playnite/Emulators/Scanner.cs:800-817 | source/Playnite/Emulators/Scanner.cs:929-946 \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 \u0060source/Playnite/Emulators/Scanner.cs:800\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":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bddd3280df6c585b409af613684dfae3282c86ae8bc85cc36c26bdfef988a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs:153-170 | source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs:117-133 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs:170\u0060 calls \u0060UpdateTextStatus\u0060 and \u0060source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs:133\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5141e52ce746e5ea085b707a12ce39bfa55614b6bb4dca08492549001e70f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): source/Playnite/Common/FileSystem.cs:444-461 | source/Tools/Playnite.Toolbox/Themes.cs:114-131 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite/Common/FileSystem.cs:444\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":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0490a824b9942e5338008b5643b6e6b39b97656b18f158e5b1c6612464a3bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): source/Playnite/Database/OldModels/Ver2.cs:90-106 | source/PlayniteSDK/Models/DatabaseObject.cs:55-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite/Database/OldModels/Ver2.cs:90\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":"source/Playnite/Database/OldModels/Ver2.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0719d4e28a8746716c8bf66573da128a7c6189aad6808a8296c0cd17ba0fed27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): source/Playnite/Database/OldModels/Ver2.cs:2001-2017 | source/PlayniteSDK/Models/Link.cs:64-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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 \u0060other\u0060 to \u0060Ver2_Link\u0060 in one and \u0060Link\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":"source/Playnite/Database/OldModels/Ver2.cs"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9855511dfe61d9c40b4fdd340332f32f830c71429147a99963bb858cc630175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): source/Playnite/ObservablePowerStatus.cs:77-91 | source/Playnite/ObservableTime.cs:34-48 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite/ObservablePowerStatus.cs:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060source/Playnite/ObservablePowerStatus.cs:94\u0060 calls \u0060Post\u0060, \u0060OnPropertyChanged\u0060, \u0060nameof\u0060 and \u0060source/Playnite/ObservableTime.cs:51\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ObservablePowerStatus.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1ae3fcd4b32e96303a973eec7bbd203b36999ca9efe3404c1a14705b2e996f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): source/Playnite.DesktopApp/Controls/FilterEnumSelectionBox.cs:127-142 | source/Playnite.FullscreenApp/Controls/FilterEnumListSelection.cs:132-148 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/FilterEnumSelectionBox.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f830ccb93d19e73cea9ee8c817e2438bda057d880af692021aa094d4bc046b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/MetadataComparisonViewModel.cs:368-382 | source/Playnite.DesktopApp/ViewModels/MetadataComparisonViewModel.cs:392-406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/ViewModels/MetadataComparisonViewModel.cs:368\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":"source/Playnite.DesktopApp/ViewModels/MetadataComparisonViewModel.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c289fc9a6080f64d6c86eaee8c4054b4c633037b0ce34c57e7853d2f49762b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): source/Playnite/Converters/ListToStringConverter.cs:146-161 | source/Playnite/Converters/ListToStringConverter.cs:195-210 \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 \u0060source/Playnite/Converters/ListToStringConverter.cs:146\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":"source/Playnite/Converters/ListToStringConverter.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b596e83ef7ac94110dbd8cd4f01fe44a1255d4852e19d3571ee256f8175a8958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): source/Playnite/Database/DatabaseExplorer.cs:283-294 | source/Playnite/Database/DatabaseExplorer.cs:324-335 \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 \u0060source/Playnite/Database/DatabaseExplorer.cs:283\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":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c392bb9d58fc119f6814a9784ae80ff063d8145918a98e64cbf33ed4de4685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): source/Playnite/Plugins/ExtensionFactory.cs:335-345 | source/Playnite/Plugins/ExtensionFactory.cs:406-416 \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":"source/Playnite/Plugins/ExtensionFactory.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"30297e09699fc9f2b1093b60d599c7526ab8aeda23cb5e226b7e24185d465efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): source/Playnite.DesktopApp/Controls/FilterStringSelectionBox.cs:89-103 | source/Playnite.FullscreenApp/Controls/FilterStringListSelection.cs:117-131 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/FilterStringSelectionBox.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1de42dc9bdfb62571065db3af01d5fdd5c3dbffe1de528d40b70097064faab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:502-506 | source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:518-522 \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 \u0060source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:502\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":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d35dab1681c06c0828aab232c4bcf93dd1cf63ed78f8d23b362b17328142525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs:608-622 | source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs:651-665 \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 \u0060source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs:608\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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce10ce6cf9d5802b09447f5436b80e4fac8b1ab487ca68e822aea4c95a109e86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel_Commands.cs:268-280 | source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel_Commands.cs:290-302 \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 \u0060source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel_Commands.cs:268\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":"source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel_Commands.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e0825e56c360e0ae1f3e48fce405b8d02c53ca814e858fdca0fddb9a4f913f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:662-675 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:177-190 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:662\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:176\u0060 calls \u0060Close\u0060 and \u0060source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:661\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bbc2ae12b7c4e12eda387ffb0010ac9331e43d0f6bfb995e0fa4dd69550f46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:107-118 | source/Playnite/MenuItems.cs:284-295 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:107\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":"source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"06acec5f548f5aa927669a8f88eb540a9c3528982ed18edff2627516def79ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:102-114 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:238-250 \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 \u0060source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:102\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":"source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9524079d7e366744bc031be8966a17a99a78e0c8060f296637f74fd81e4ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:243-254 | source/Playnite/MenuItems.cs:111-122 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:243\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":"source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"db90b5e5ab13bf1dbecc763560a7b007f4e27d6f44c6d7bbe33d6e855cf774ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): source/Playnite/Controllers/GenericGameController.cs:551-563 | source/Playnite/Controllers/GenericGameController.cs:634-646 \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 \u0060source/Playnite/Controllers/GenericGameController.cs:551\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":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15a2431e8bc4793e64bba50839323a53f98e502e0a80eff0206617154c23d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): source/Playnite/Controllers/GenericGameController.cs:566-579 | source/Playnite/Controllers/GenericGameController.cs:600-613 \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":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bf19d4480def94f9f85824ebd038555e2ca410dddcb7d9e37aaafd16908029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): source/Playnite/Database/GameDatabase.cs:252-266 | source/Playnite/Database/InMemoryGameDatabase.cs:69-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2e2ade8ddbe5de88b7ae69bafc10d51cbc59896be6d9ed02f182065c5ace57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): source/PlayniteSDK/Extensions/ListExtensions.cs:119-131 | source/PlayniteSDK/Extensions/ListExtensions.cs:150-162 \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 \u0060source/PlayniteSDK/Extensions/ListExtensions.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":"source/PlayniteSDK/Extensions/ListExtensions.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"498ef913a676f699e07a0a2296ff88a5dd3159ad5f60a77c8b623be2ea918958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): source/PlayniteSDK/Extensions/ListExtensions.cs:201-214 | source/PlayniteSDK/Extensions/ListExtensions.cs:267-280 \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":"source/PlayniteSDK/Extensions/ListExtensions.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"e807fdc2ac8b7cb1e1970a99a008f81cf655458f85d5aee6eb4268a0c0b3ddf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): source/Tools/Playnite.Toolbox/Extensions.cs:80-93 | source/Tools/Playnite.Toolbox/Extensions.cs:122-136 \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 \u0060source/Tools/Playnite.Toolbox/Extensions.cs:80\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":"source/Tools/Playnite.Toolbox/Extensions.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5698c8e47f881bd7639507719cc523592cf98ee7185a2216d4aa6f30f6f7b622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): source/Tools/Playnite.Toolbox/Verify.cs:21-34 | source/Tools/Playnite.Toolbox/Verify.cs:87-100 \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":"source/Tools/Playnite.Toolbox/Verify.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec5af70a19ae881d104500e3172601be11cb1b56b7235a758852d5cd4002a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): source/Playnite/Controllers/GenericGameController.cs:551-563 | source/Playnite/Controllers/GenericGameController.cs:584-596 | source/Playnite/Controllers/GenericGameController.cs:634-646 \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 \u0060source/Playnite/Controllers/GenericGameController.cs:551\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":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cf076673e6784dc4c63976bdba451ce6f5f66e364f0904376bc207c190851d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): source/Playnite.DesktopApp/DesktopApplication.cs:211-224 | source/Playnite.FullscreenApp/FullscreenApplication.cs:176-186 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060source/Playnite.FullscreenApp/FullscreenApplication.cs:188\u0060 calls \u0060Close\u0060, \u0060TimeSpan\u0060 and \u0060source/Playnite.DesktopApp/DesktopApplication.cs:226\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/DesktopApplication.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2953ca5362ca6dd22ff3c77d12a2324b763c6f3dfebc906966d6b72205a636a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/DesignData/DesignMainViewModel.cs:66-78 | source/Playnite.FullscreenApp/ViewModels/DesignData/DesignMainViewModel.cs:74-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/DesignData/DesignMainViewModel.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"132c265a3adaefaacbfbc7fab18b179323f3c2c2dc8d6b7847280105611de9c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:1010-1022 | source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs:1211-1223 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:1010\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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8944bdd4d094a6b8b1fbe083c6b3e9f585f79e740a5d5e510609ef70d30561b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): source/Playnite.FullscreenApp/Controls/ItemsControlEx.cs:56-66 | source/Playnite.FullscreenApp/Controls/ItemsControlEx.cs:105-115 \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 \u0060source/Playnite.FullscreenApp/Controls/ItemsControlEx.cs:56\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":"source/Playnite.FullscreenApp/Controls/ItemsControlEx.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"70aaeb2d7209571fc261b557c2484f34ad8c55c88f7a5e12f56075f84a0b317d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): source/Playnite.FullscreenApp/Controls/ItemsControlEx.cs:74-84 | source/Playnite.FullscreenApp/Controls/ItemsControlEx.cs:123-133 \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 \u0060source/Playnite.FullscreenApp/Controls/ItemsControlEx.cs:74\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":"source/Playnite.FullscreenApp/Controls/ItemsControlEx.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6d81a952d92d7ad031d51eeaab6ea42919e6efa08886d45aec0dffd8965979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): source/Playnite/Database/Collections/GamesCollection.cs:152-161 | source/Playnite/Database/Collections/GamesCollection.cs:185-194 \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":"source/Playnite/Database/Collections/GamesCollection.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c7ca95ad30f89d99e653c17e0776d1d7d74a02f179f69a03d6dc85232c8248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): source/Playnite/GamesEditor.cs:1810-1822 | source/Playnite/GamesEditor.cs:1832-1844 \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 \u0060source/Playnite/GamesEditor.cs:1810\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 \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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"9694030953d8b7cb010acf9d76fb4f6dcf8de93b2ca90196ec75cf75e531ddfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): source/Playnite/Input/GameController.cs:462-475 | source/Playnite/Input/GameController.cs:499-512 \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 \u0060source/Playnite/Input/GameController.cs:499\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":"source/Playnite/Input/GameController.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e23ade6c50149681feeaa5a55840d4897f060bc43706891ca48b98191cbc7dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): source/Playnite/Themes.cs:248-256 | source/Playnite/Themes.cs:273-281 \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 \u0060source/Playnite/Themes.cs:248\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":"source/Playnite/Themes.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a393187a40a166e304e3584137f520be138deea6c56433fb87e46ad2db0a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:591-600 | source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs:313-322 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:102-111 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:238-247 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:591\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":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8b01bd0250757de7a0909fba90231b2d68096e1c12166e54ed0d9e1e62f7d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/GoogleImageDownloadViewModel.cs:282-294 | source/Playnite.DesktopApp/ViewModels/GoogleImageDownloadViewModel.cs:315-327 \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 \u0060source/Playnite.DesktopApp/ViewModels/GoogleImageDownloadViewModel.cs:282\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":"source/Playnite.DesktopApp/ViewModels/GoogleImageDownloadViewModel.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"64149bf2e4e6a49c26e6b5a99924b01a55b0b6ca13e4c151af7f0fb2485dac99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): source/Playnite/Common/SystemDialogs.cs:75-88 | source/Playnite/Common/SystemDialogs.cs:102-114 \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 \u0060source/Playnite/Common/SystemDialogs.cs:75\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/SystemDialogs.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9504d2a68d1581ae8231d6ddaa888c8421fe8de81a8a073492b939bdc55322b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): source/Playnite/Extensions/GameExtensions.cs:203-208 | source/Playnite/Extensions/GameExtensions.cs:258-263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060game\u0060 to \u0060this Game\u0060 in one and \u0060this GameMetadata\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":"source/Playnite/Extensions/GameExtensions.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e25ed05d3c89ffb921efadbbeca14dbc090bf00ca5053fa4c4c69fef561ed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:107-114 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:243-250 | source/Playnite/MenuItems.cs:111-118 | source/Playnite/MenuItems.cs:284-291 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:107\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":"source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd3031bfd49eb7e498a7e6211af4c77f51b3d65fab5f8c16399fa71d5b2ffaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/AddonsViewModel.cs:398-408 | source/Playnite.DesktopApp/ViewModels/LibraryIntegrationsViewModel.cs:134-144 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/AddonsViewModel.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18fded0e35507ea049218d776d74760fa2f8c882df965c3e66a293dc5fad0cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs:352-363 | source/Playnite.FullscreenApp/ViewModels/GameDetailsViewModel.cs:104-115 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs:352\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":"source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"738d5b91fe7180c6d9932b75742bc40bf5a7750cfa891d1e42ca0b350d465fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): source/Playnite/Backup.cs:283-293 | source/Playnite/Backup.cs:324-334 \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 \u0060source/Playnite/Backup.cs:283\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":"source/Playnite/Backup.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e789c9b01e97cf07e2b074d75286fef6ef999c5b5aa4fc5f8c215f8236ce9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): source/Playnite/Controllers/GenericGameController.cs:289-299 | source/Playnite/Controllers/GenericGameController.cs:305-315 \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 \u0060source/Playnite/Controllers/GenericGameController.cs:289\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":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f3f372ed06ae57d31f6a9701a3234b12f8c738b43dcd2a1f0eee93df296ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs:380-389 | source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:313-322 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs:380\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060source/Playnite.FullscreenApp/ViewModels/ExtensionsMenuViewModels.cs:312\u0060 calls \u0060Close\u0060 and \u0060source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs:379\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"535b0e69d4c413960ff2c27b60e2081c9da19f97dd6507ef23f43d3471db9f1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): source/Playnite/Database/Collections/PlatformsCollection.cs:195-205 | source/Playnite/Database/Collections/RegionsCollection.cs:122-132 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite/Database/Collections/PlatformsCollection.cs:195\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":"source/Playnite/Database/Collections/PlatformsCollection.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8755a12caebef2bfd428257d1d26df158e438a103e970ab0bc64efb277720c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): source/Playnite/SystemIntegration.cs:16-24 | source/Playnite/SystemIntegration.cs:78-86 \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 \u0060source/Playnite/SystemIntegration.cs:16\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":"source/Playnite/SystemIntegration.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01fff7c42725537a1da3d54610f574b2b0d7bd5f08c101a7e5b5dfb164e7a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): source/PlayniteSDK/Models/Emulator.cs:766-775 | source/PlayniteSDK/Models/Emulator.cs:790-799 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060source/PlayniteSDK/Models/Emulator.cs:777\u0060 calls \u0060Insert\u0060, \u0060GetString\u0060 and \u0060source/PlayniteSDK/Models/Emulator.cs:801\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Models/Emulator.cs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"627a2cfabebf8dfe633c01926571116cc2c154896a1a0b7363722f57fa100364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): source/Playnite.DesktopApp/Controls/ComboBoxList.cs:132-139 | source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs:38-45 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/Controls/ComboBoxList.cs:132\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":"source/Playnite.DesktopApp/Controls/ComboBoxList.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba6c1016d5b61e87ea8fdcfcda72070cf1831f4425d60f8e3ae3c49a866fb62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): source/Playnite/Database/Collections/PlatformsCollection.cs:91-99 | source/Playnite/Database/Collections/PlatformsCollection.cs:113-121 \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 \u0060source/Playnite/Database/Collections/PlatformsCollection.cs:91\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":"source/Playnite/Database/Collections/PlatformsCollection.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f502e3f9bca9b4dde0c8724e6f085b7e3d9d4b035b34b173b08aeb0c273707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): source/Playnite.DesktopApp/Controls/FilterEnumSelectionBox.cs:70-76 | source/Playnite.FullscreenApp/Controls/FilterEnumListSelection.cs:76-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/Controls/FilterEnumSelectionBox.cs:70\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":"source/Playnite.DesktopApp/Controls/FilterEnumSelectionBox.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a62da6356fa442feff52a8e96a75fae5c7802c0cc8961ac304a1bf4b92ab3c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:466-473 | source/Playnite/MenuItems.cs:39-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060source/Playnite/MenuItems.cs:37\u0060 calls \u0060Invoke\u0060 and \u0060source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs:464\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e7f600f26e3f6940d9f2b2986ba3a7a65b7fd2222765179ec389f2c8e76cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs:244-251 | source/Playnite.FullscreenApp/Controls/Views/FiltersAdditional.cs:97-104 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs:244\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":"source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b18c01b6d456ea89fa84185cc869b0fe2c4d335df56e0cffcb86ed731197c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): source/Playnite/MenuItems.cs:271-276 | source/Playnite/MenuItems.cs:299-304 \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":"source/Playnite/MenuItems.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00e8b1379e0d351eafe88da1f5c016ae5f0214d06eaea7d3e686c668077328f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): source/Playnite/Settings/PlayniteSettings.cs:2375-2383 | source/Playnite/Settings/PlayniteSettings.cs:2418-2426 \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":"source/Playnite/Settings/PlayniteSettings.cs"},"region":{"startLine":2375}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c4cfaae39582b3b75459f014814a3e55ea9d3bce78ad9cca6d974846384640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): source/Playnite.DesktopApp/Controls/ComboBoxList.cs:134-140 | source/Playnite.DesktopApp/Controls/ComboBoxListBase.cs:69-76 | source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs:40-46 \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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/Controls/ComboBoxList.cs:134\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060source/Playnite.DesktopApp/Controls/ComboBoxList.cs:140\u0060 calls \u0060XAttribute\u0060, \u0060nameof\u0060 and \u0060source/Playnite.DesktopApp/Controls/ComboBoxListBase.cs:76\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/ComboBoxList.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb8514155cdaca0d49240ad0f402814e283254463c8bf7125be96b260c7d509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20138 lines \u00D7 8): source/Playnite/Database/DatabaseExplorer.cs:768-775 | source/Playnite/Database/DatabaseExplorer.cs:779-786 | source/Playnite/Database/DatabaseExplorer.cs:790-794 | source/Playnite/Database/DatabaseExplorer.cs:801-805 | source/Playnite/Database/DatabaseExplorer.cs:812-816 | source/Playnite/Database/DatabaseExplorer.cs:823-827 | source/Playnite/Database/DatabaseExplorer.cs:834-838 | source/Playnite/Database/DatabaseExplorer.cs:845-849 \u2014 all 8 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 \u0060source/Playnite/Database/DatabaseExplorer.cs:768\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060source/Playnite/Database/DatabaseExplorer.cs:794\u0060 calls \u0060AddRange\u0060, \u0060OrderBy\u0060, \u0060Select\u0060 and \u0060source/Playnite/Database/DatabaseExplorer.cs:775\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"383df89c966dc39eb2f69dea6342650c478135138818869685d17c8ca0890265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): source/PlayniteSDK/Models/FilterPreset.cs:29-36 | source/PlayniteSDK/Models/FilterPreset.cs:68-75 \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":"source/PlayniteSDK/Models/FilterPreset.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acd99df9ed87fc195e05f35c4e6554b637e51ab349752fddcfecc8f31bf323b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): source/Playnite/Extensions/GameExtensions.cs:213-219 | source/Playnite/Extensions/GameExtensions.cs:221-227 | source/Playnite/Extensions/GameExtensions.cs:268-274 \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 \u0060source/Playnite/Extensions/GameExtensions.cs:221\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":"source/Playnite/Extensions/GameExtensions.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac9ee080245c14de345e4956a77a20987452a6e54f0dadeb48773601497719b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): source/Playnite.DesktopApp/Controls/ComboBoxList.cs:134-138 | source/Playnite.DesktopApp/Controls/DdItemListSelectionBox.cs:132-136 | source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs:40-44 \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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Playnite.DesktopApp/Controls/ComboBoxList.cs:134\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060source/Playnite.DesktopApp/Controls/DdItemListSelectionBox.cs:138\u0060 calls \u0060XAttribute\u0060, \u0060nameof\u0060 and \u0060source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs:46\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/ComboBoxList.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62e9e8ec18a4c6d488f40e76df50045c6d2a2bbc7bda7541e27e6bb06553f85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/AddonsViewModel.cs:235-239 | source/Playnite.DesktopApp/ViewModels/AddonsViewModel.cs:245-249 \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 \u0060source/Playnite.DesktopApp/ViewModels/AddonsViewModel.cs:235\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":"source/Playnite.DesktopApp/ViewModels/AddonsViewModel.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6647efe550e812f74ebafcacbf46d5a188ce7fd9501058912ac369cc167542b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs:24-28 | source/Playnite.FullscreenApp/Controls/FilterStringListSelection.cs:23-27 \u2014 before extracting anything, compare \u0060source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs\u0060 and \u0060source/Playnite.FullscreenApp/Controls/FilterStringListSelection.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8944efabf40694de2d6cf978cc793df04941420e242d65b82bac02d865d1d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): source/Playnite/Converters/InvertedBoolenConverter.cs:16-34 | source/Playnite/Converters/NegateConverter.cs:14-32 \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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060culture\u0060 to \u0060CultureInfo\u0060 in one and \u0060System.Globalization.CultureInfo\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":"source/Playnite/Converters/InvertedBoolenConverter.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcc2e85e3101c030912526c7b95771a120a25bd28e5f70d9dcb6dc68a95afa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): source/Playnite.DesktopApp/Api/MainViewAPI.cs:85-94 | source/Playnite.FullscreenApp/Api/MainViewAPI.cs:85-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"source/Playnite.DesktopApp/Api/MainViewAPI.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf111119449f8885db37a714219da582eb1931d4bd5536977b4ac24db361e5b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): source/Playnite.DesktopApp/Controls/GameListItem.cs:49-57 | source/Playnite.DesktopApp/Controls/Views/ExplorerPanel.cs:41-49 | source/Playnite.DesktopApp/Controls/Views/FilterPanel.cs:51-59 | source/Playnite.DesktopApp/Controls/Views/NotificationPanel.cs:41-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. 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":"source/Playnite.DesktopApp/Controls/GameListItem.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6662d916f22a84f6e101a058857dc67f1830dcc00abcf2db2fcd3e011d01f2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): source/Playnite.DesktopApp/Controls/GridViewPanel.cs:308-318 | source/Playnite.FullscreenApp/Controls/FullscreenTilePanel.cs:437-447 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"source/Playnite.DesktopApp/Controls/GridViewPanel.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f093d8ca0129af13f40cf1941462ca8d3ca6c958cfa1130c0287d6c70f5fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): source/Playnite.DesktopApp/Controls/Menus/GroupSettingsMenu.cs:35-39 | source/Playnite.DesktopApp/Controls/Menus/SortSettingsMenu.cs:35-39 | source/Playnite.DesktopApp/Controls/Menus/ViewSelectionMenu.cs:35-39 | source/Playnite.DesktopApp/Controls/Menus/ViewSettingsMenu.cs:36-40 \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 all 4 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":"source/Playnite.DesktopApp/Controls/Menus/GroupSettingsMenu.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05dab4d382d0902da59a582cbc4251e3674e69f1152343480527cef3676f575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): source/Playnite.DesktopApp/DesktopDialogs.cs:29-36 | source/Playnite.FullscreenApp/FullscreenDialogs.cs:28-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"source/Playnite.DesktopApp/DesktopDialogs.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fad8743c5f8c26840010a170ad80c6a45653d35f96f0756db5ec11afb89b4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/AddonsViewModel.cs:428-435 | source/Playnite.DesktopApp/ViewModels/LibraryIntegrationsViewModel.cs:112-119 \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":"source/Playnite.DesktopApp/ViewModels/AddonsViewModel.cs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8f883cd72f51570686d3f694eb607325b455d81729a77e7adcae67698bd85b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:742-751 | source/Playnite.DesktopApp/ViewModels/ToolsConfigViewModel.cs:129-138 \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. 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, \u0060source/Playnite.DesktopApp/ViewModels/ToolsConfigViewModel.cs:140\u0060 calls \u0060BeginBufferUpdate\u0060 and \u0060source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs:754\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":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"4428809608073e21f9fd0e8a99512c2dcaad0323ab1e3cd835a1bfa144fe0e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:1438-1449 | source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs:458-469 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ddb78b6a5359865caa888a18349ced8f0a976bb289be3e8cc9374e99c76302"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs:1453-1464 | source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs:473-484 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ba06042359667e750dd5307b5e38a4c9d162c50716308e8c1437b2cd2a577e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): source/Playnite.FullscreenApp/Controls/ButtonEx.cs:94-102 | source/Playnite.FullscreenApp/Controls/ToggleButtonEx.cs:28-36 \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":"source/Playnite.FullscreenApp/Controls/ButtonEx.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f6de09aaff5625f64c76b323285268cc64b47348b7a748d7b5be44571eacc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs:223-233 | source/Playnite.FullscreenApp/Controls/FilterStringListSelection.cs:208-218 \u2014 before extracting anything, compare \u0060source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs\u0060 and \u0060source/Playnite.FullscreenApp/Controls/FilterStringListSelection.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c250c2279664a8bd3b959b2e25b6d141c7816fea0bfb853c02c0afae92175e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): source/Playnite.FullscreenApp/Controls/Views/Filters.cs:39-47 | source/Playnite.FullscreenApp/Controls/Views/FiltersAdditional.cs:43-51 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060source/Playnite.FullscreenApp/Controls/Views/FiltersAdditional.cs:53\u0060 calls \u0060Dispose\u0060 and \u0060source/Playnite.FullscreenApp/Controls/Views/Filters.cs:49\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/Controls/Views/Filters.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"65efb393a0368a74799f2ec94d987365aac78b81b58a32853a824881d0a43e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): source/Playnite/App/Updater.cs:49-55 | source/Tools/PlayniteInstaller/App.xaml.cs:29-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"source/Playnite/App/Updater.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8838c3a9ff0391840896d6740e376923e7eb99d100cbeb28600031cdf8e27bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): source/Playnite/Common/FileSystem_Checksum.cs:54-58 | source/Tools/PlayniteInstaller/MainViewModel.cs:318-322 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"source/Playnite/Common/FileSystem_Checksum.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4301053b51039104a922f92bdb4b13802c66d9f07c9f7811fc6b0fcc0f93860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): source/Playnite/Converters/BooleanToVisibilityConverter.cs:20-26 | source/Tools/PlayniteInstaller/Converters.cs:35-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060source/Playnite/Converters/BooleanToVisibilityConverter.cs:16\u0060 calls \u0060BooleanToVisibilityConverter\u0060 and \u0060source/Tools/PlayniteInstaller/Converters.cs:32\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Converters/BooleanToVisibilityConverter.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"429229c85b8792af2a5fb76c57c25b5d702cb91771638d56e357d92345438bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): source/Playnite/WebView/OffscreenWebView.cs:70-77 | source/Playnite/WebView/WebView.cs:68-75 \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":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b867da93759534430bff25d203b6ec7268e611872d891f5cbea38b2c7322e689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (71 lines \u00D7 3): source/Tools/Playnite.Toolbox/Templates/Extensions/CustomLibraryPlugin/_name_Settings.cs:17-87 | source/Tools/Playnite.Toolbox/Templates/Extensions/CustomMetadataPlugin/_name_Settings.cs:17-87 | source/Tools/Playnite.Toolbox/Templates/Extensions/GenericPlugin/_name_Settings.cs:17-87 \u2014 \u0060source/Tools/Playnite.Toolbox/Templates/Extensions/CustomLibraryPlugin/_name_Settings.cs\u0060 and \u0060source/Tools/Playnite.Toolbox/Templates/Extensions/CustomMetadataPlugin/_name_Settings.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 71 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Tools/Playnite.Toolbox/Templates/Extensions/CustomLibraryPlugin/_name_Settings.cs:17\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":"source/Tools/Playnite.Toolbox/Templates/Extensions/CustomLibraryPlugin/_name_Settings.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ec70bbce0ba14f4f3f9dce70cafa30f2b536604641c17575feff5c490a6a0d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Plugin (LCOM4 8): Plugin\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Plugins/Plugin.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a2b31339292a4d93893bfd630947e40121db4dcc274d7433d800544bde80a8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DatabaseFieldsManagerViewModel (LCOM4 5): DatabaseFieldsManagerViewModel\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"532822646d548a447501258e229f431e51e2b96b47075721b30775e6e18ee95f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PlayniteApiRoot (LCOM4 4): PlayniteApiRoot\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/PlayniteAPI.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f160177f1b5770b384fb548bd9a1dc8b6256c4c9c4784d4e97fe69b9da6b6c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WindowBase (LCOM4 4): WindowBase\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controls/WindowBase.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7074972f7e2c362e1a45ac715b93b38d4e74c36c554118c439bd01b4630df8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExtensionFactory (LCOM4 4): ExtensionFactory\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Plugins/ExtensionFactory.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da8aafe898e31fe4ea023d761e0665071faf5adf1a32232237c904b5d2f37ee"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Game (LCOM4 4): Game\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Models/Game.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4248adaf07d36835ebabba11bba1ef1b7b7cc9b4bd4e2bcb4782c7cb6e2389"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): ViewSettingsTest: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/Playnite.DesktopApp.Tests/MainViewAPITests.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e74f7b1dcb151738ce6f0ec6e3d2345cc48091ddcff88b8b83f3429245eff32"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: LayoutTest: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/Playnite.FullscreenApp.Tests/Controls/FullscreenTilePanelTests.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d855b14c7ff3944ede2873a36641f92b15dd8cc9fd48c6df3d35f84185685faf"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): GetFileEntriesTest: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/Playnite.Tests/CueSheetTests.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5152b1e2fc97d071946b0f7c3b15b867329cc7f1a37c2e4101dcae7423e628dd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GetImportedRomFilesTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/Playnite.Tests/Database/GameDatabaseTests.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"0310b82700786bbea6c07233f6cac9ed3991eb2d7740c214f384090035d01ddb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GetImportedRomFilesVariableTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/Playnite.Tests/Database/GameDatabaseTests.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedc0eefc0b0360f8b455739638df1ce41845621f37cbffe7889245acd9b7083"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: Playnite.FullscreenApp.Tests: No conventional assertion call was detected in 1 of 1 tests in \u0060Playnite.FullscreenApp.Tests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/Playnite.FullscreenApp.Tests/Controls/FullscreenTilePanelTests.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3076a368f11f62948523f081a349c5b25725f25e4397a93bbd94fbc80ee95507"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: ReadFileAsStringSafeTest: This test starts a background task and then orders itself against it with \u0060Task.Delay(1000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/Playnite.Tests/FileSystemTests.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff026a8a0a154801f7bc5ce4e6177730bc607e8d1bfdb5603103daacfd599b8f"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: WriteStringToFileSafeTest: This test starts a background task and then orders itself against it with \u0060Task.Delay(1000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/Playnite.Tests/FileSystemTests.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a40aa7d51fdfa9be36e0296e1a2a5fd46b830fac048880f1fc76537162f3ecf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: source/Playnite/App/PlayniteApplication.cs: source/Playnite/App/PlayniteApplication.cs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in PlayniteApplication.CurrentDomain_UnhandledException at line 493. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 20:46:59 \u002B01:00\u0027 --until=\u00272026-11-08 20:46:59 \u002B01:00\u0027 --full-history --no-merges -- source/Playnite/App/PlayniteApplication.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"074b0c54b1cd2aa3a614fb07f4a21b9ac354fae5706d2128a0d19cf2fac69c3d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: source/Playnite/Diagnostic.cs: source/Playnite/Diagnostic.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Diagnostic.CreateDiagPackage at line 62. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 20:46:59 \u002B01:00\u0027 --until=\u00272026-11-08 20:46:59 \u002B01:00\u0027 --full-history --no-merges -- source/Playnite/Diagnostic.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Diagnostic.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"561840bbcb229f01947b6a676f031aa18f310b60d0e927a09df71f45a6fbe8d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: source/Playnite/Exceptions.cs: source/Playnite/Exceptions.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Exceptions.GetExceptionInfoImpl at line 71. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 20:46:59 \u002B01:00\u0027 --until=\u00272026-11-08 20:46:59 \u002B01:00\u0027 --full-history --no-merges -- source/Playnite/Exceptions.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Exceptions.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"066efbdec9ebbb5554ecd9d7937ce6bf0354ab5194d34a8c3b927630bab105ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: source/Playnite.FullscreenApp/FullscreenApplication.cs: source/Playnite.FullscreenApp/FullscreenApplication.cs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is FullscreenApplication.FullscreenApplication_PropertyChanged at line 142), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CVarious crash fixes and tweaks to diag package handling\u201D; \u201CFix: Fullscreen description focus behavior fixes (by @siegmour)\u201D; \u201CFix: Possible crash related to gamepad input handling (by @justin-delano)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 20:46:59 \u002B01:00\u0027 --until=\u00272026-11-08 20:46:59 \u002B01:00\u0027 --full-history --no-merges -- source/Playnite.FullscreenApp/FullscreenApplication.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/FullscreenApplication.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3a2d26f77f897049ab465e61372cf887339a23a070e7c32a9e6c00ea53de97"}},{"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":"source/Playnite.DesktopApp/Controls/GridViewPanel.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2a4cb949b2a79c781b63fbd5e74921c723f3ff971aa98e4fbdc20e8dcede3d"}},{"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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc91bfce79caf1eb1f022f523df9a96204c31b782d9cf02808a712d7f7f1f07a"}},{"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":"source/Playnite/Common/Paths.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"66df91fc8ec0d2f7b5a5d3c6209b7154ae199bbfd58909515b37a76afa646f79"}},{"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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23a46ade7efec0e3068ec8284f045aa8f9ff7dcefaf5997bf595fd720d55451"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.DesktopApp/Controls/Menus/TrayContextMenu.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1c25d25f533dd186830215cc316c0351c944b7616b8cf5841260e4a52f357b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.DesktopApp/ViewModels/ActionSelectionViewModel.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"853630241161fcb4b92afa95b4ad1ad26fd91050fddd68cdc42611f6b5a9a0fd"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7dc789f2625cb0300f6749a6a3220d963186a255b81645179b7cb56644384d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.DesktopApp/ViewModels/EmulatorImportViewModel.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a49b848f186a58d89156d017ecc7e65d173ee75663362848619374ad7b78e73"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.DesktopApp/ViewModels/GoogleImageDownloadViewModel.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f877b58667a0715b875460b696b661e308270d40622e03b44aa6b31d6ee6f368"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.DesktopApp/ViewModels/ImageSelectionViewModel.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d88b6267ad32285f3a38007aa1121d83732b448b652898cf2ee0a09048bb53"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.DesktopApp/ViewModels/LibraryIntegrationsViewModel.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4563e13d62dccccd9018cbac1ae2024bd9fa685e198de6079a1d363b22639e2"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.DesktopApp/ViewModels/MetadataDownloadViewModel.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abe2e3f1f8a163f08a6c8c28116e9e50aa94420cadb027193971852c85716ca"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.DesktopApp/ViewModels/ToolsConfigViewModel.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"087f743cf32c45d9a8d8d1cc5a31d1c127a4bc215c21ddb798299fd76b9edfa9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.FullscreenApp/ViewModels/AddonsViewModel.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd078e8798e21e592cbaba0759f5b3367a8d439d6aa0a5c3d0b052373866570"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.FullscreenApp/ViewModels/GameClientsMenuViewModel.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"55452bd8bcaae5d6371c560cf4de1ba09a3ce516201814d1402d52eb408cca71"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.FullscreenApp/ViewModels/GameMenuViewModel.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa20aaa3fb3a42bb202fd3cf89a8f13b5c70e1a7a76c4ae832407a40335d6fb5"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.FullscreenApp/ViewModels/HelpMenuViewModel.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0090c1675d6bdb2b6396c0edd2ae483ed4f41dfb31b4a6d237aa1f8982355000"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.FullscreenApp/ViewModels/MainMenuViewModel.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0190e5a470f25b5759e5f1b1d35c8dff23e00510783119bb65c531b96fe8ecd1"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.FullscreenApp/ViewModels/NotificationsViewModel.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cc875c73600434831828f5dbf90e72efa9e53ed1406a9d222256d34607956a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.FullscreenApp/ViewModels/SettingsViewModel.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeeb90ac043d63d5617540dee33d0a0d04e8570771821b95fe1c16bd10613e2"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite.FullscreenApp/ViewModels/SoftwareToolsMenuViewModel.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a83035d90b17fee9f24c386868fdb60ee58482fa9d09be0f6c21eb8f5ee26c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite/Database/DatabaseFilter.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1198d6222e086bd3a5c18b32754ecb39ed0e49c0d97a7a2274df9b104f6ce7"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite/Emulators/EmulationDatabase.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4236b9034237550a30e3f02d3aceeea23bf47e472524ff14485821abb19c95ef"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite/Scripting/PowerShell/PowerShellScript.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb7b1a4c715f165731f2ed121c8376141436ae5b1c4174a47b14f559949c1cc"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite/ViewModels/ItemSelectionViewModel.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e71cec0ec5d3c0ea20d88b0ce0bc2614ece64f1ad8bd96ae78807bdcffc543"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite/ViewModels/ItemSelectionViewModel.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c075c0e5a8d86a2507cd569f2e550f8a3188abecb25d36c457fe6b02742c571"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite/ViewModels/ProgressViewViewModel.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9099c2146d145fa5bc0177213d75a4aa4e6f1cdb267a88fbbbe9818de5b3861d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Playnite/ViewModels/RandomGameSelectViewModel.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c8f29201b56ea575e45865ef20b43aacfc42b8288a2fd3aa9627003df3add0"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Tools/Playnite.Toolbox/Templates/Extensions/CustomLibraryPlugin/_name_.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f851ea1e2e89a240d8ff6ef64133adf31c2535752d7058e784b91d04e40cb4"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Tools/Playnite.Toolbox/Templates/Extensions/CustomMetadataPlugin/_name_.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c00454d6b1ed25bc975370f7cf4e92588edd2cd7d1a8446533c7da4a63f682c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \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":"source/Tools/Playnite.Toolbox/Templates/Extensions/GenericPlugin/_name_.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ac43acb79f0e95cfe77b792a8aff2302ef4d4f529d9e660c8cca4bae60859c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/SliderWithPopup.xaml.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"505d9a98cc2eabc4d4a046d2789a8a22bcbe0b5829e2722c24370224ba945e58"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/SliderWithPopup.xaml.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d65fd32cf4aae67cbfbd6c56de2380a0045615ef475f282949bac79dfd58ed"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/LiteDBFileReaderV7.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"165f1d5c1e75649f1ab239c16af99bfedf2d4fcffeed4e56f18b4b9991a24c06"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/Playnite.FullscreenApp.Tests/Controls/FullscreenTilePanelTests.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e169c0cccbe0370db6ad255f535933430f351e0bb7d9e55be5e90ed72d5ba2e0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/TestPlugin/TestPluginSettings.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98edae02305910f8248c75f05a111d33f4c8b638b64e3386db6b08bcfbc8eff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO test db path recovery \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":"source/Playnite.DesktopApp/DesktopApplication.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cea1b7a65c7cf9b258759fc423ba8cce03957e59ead0b9a14c096e061db6ca8"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS4014 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/DesktopApplication.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae6cde0ac66bb2cbb01cf2bb944c41f411ecb141b1d2ba3b58e7ebfcdf04a77"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS4014 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel_Commands.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"54851ac8ee5ec69f8e7de108dd9fa1df51a5904b586c9eb6c23402db1082e15e"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS4014 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/InstalledGamesViewModel.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"113b4150f0dcbd0edcc21d41c344f22a327b8ca263d5a687d7d8e7ec117aa1a1"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Control view \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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel_Sidebar.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fea3ad233dab60eb470eab22a3da8f77e5e772bd23dfce6f7e23dfd221bed4"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private DesktopAppViewModel model \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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel_Sidebar.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"93acb3807642deffe61e8cf7ec1fd096b13cf412045493bdfa8aba09fd4dc099"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private DesktopAppViewModel model \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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel_Sidebar.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03c48b9f08e3330f0d3d0d8b654047208147670ab63e3a059d0a7373c33da82"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private DesktopAppViewModel model \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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel_TopPanel.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"881b01a0e85dbd88667543d2b0722036031284037e1abbbbb938be8de0d8b028"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private AppSoftware app \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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel_Sidebar.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"263b2077f2d45f8ca6ae14db8a53d1fb3175af74997e5f6a12ba9dba7d6480ab"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IResourceProvider resources \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":"source/Playnite.DesktopApp/ViewModels/EmulatorImportViewModel.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5aa4c3eed60cd4ecd5e940bb4304a35fdc30e4f23853f11166701837e16bc9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IResourceProvider resources \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":"source/Playnite.DesktopApp/ViewModels/GoogleImageDownloadViewModel.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb553f74e0bbd2cbe7f60e852004833b8707c1ba328f11d3aa0b52388036a93"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IResourceProvider resources \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":"source/Playnite.DesktopApp/ViewModels/LibraryIntegrationsViewModel.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9856540577ad860735791f7657c6f8705c461c12fdd7030a6e9c0368ce12034f"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IResourceProvider resources \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":"source/Playnite.DesktopApp/ViewModels/MetadataComparisonViewModel.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3688404101ddf27c2fe89f5610e4f3b6d2e4d7ccdeb25dfde7e3c4dbe9ea71fc"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IResourceProvider resources \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":"source/Playnite.DesktopApp/ViewModels/PluginSettingsViewModel.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef22cac6a642958de0dbdbe57e2f444ba49931c05c9b3d23346ae69d7507ea3"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IResourceProvider resources \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":"source/Playnite.DesktopApp/ViewModels/ToolsConfigViewModel.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"920bcc59949ecdd2a42255506abe8aa34091e8e95b005b0acea1d9ed2e90b808"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IResourceProvider resources \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":"source/Playnite/ViewModels/RandomGameSelectViewModel.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2ecaf689d5482f3de95f7278ab4f5cb967dd49a18a90169132ecb907d16c51"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IGameDatabaseMain database \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":"source/Playnite.DesktopApp/ViewModels/EmulatorImportViewModel.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"543c204cd0235e9d09c1190a097396492a58cc3f059231a07671a5c2e4c5aa5a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IGameDatabaseMain database \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":"source/Playnite/ViewModels/SearchViewModel.cs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"4613af3df7609e1e057bebaad9e45d133c686267e003c5c85a510fb27c0ff623"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO rewrite to something more sane \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":"source/Playnite.DesktopApp/ViewModels/EmulatorsViewModel.cs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"f867002d74c23c7cd0e6fa73f656963c83d02a6e62e54990b427ab0aab24d2ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement custom handling for default commands and solve this somehow globally. \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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b89f584d21a32ab91651de5962252b4fe889bee152d8ab8bde5d6534ed5b00f"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IDialogsFactory dialogs \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":"source/Playnite.DesktopApp/ViewModels/MetadataComparisonViewModel.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9407cb4fb6086b683b015baf3389026698d51f41d72b087bd07d168187e03471"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private PlayniteSettings settings \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":"source/Playnite.DesktopApp/ViewModels/StatisticsViewModel.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73b5f57706c76716c1012783d3a188047bbe4d11b34922da135262629242b6f"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private PlayniteSettings settings \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":"source/Playnite.FullscreenApp/ViewModels/AddonsViewModel.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"531716ff0810976b0fc1565ad13ddfba24c90a8768e44419d440366c19598d2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix the desync. \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":"source/Playnite.FullscreenApp/Controls/FullscreenTilePanel.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b88b76df5aede4f13bc72464464a15e4b2f1fe4835e288b0c44625d11325f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle properly in future via TODO from SelectedGame property"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/Controls/Views/GameDetails.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6d110791832d2188f31527db0a3fd0b11f5daffe4b57939cca35de35b1182b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ServicesClient serviceClient \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":"source/Playnite.FullscreenApp/ViewModels/AddonsViewModel.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8e5f469f8f9e687759f2ca6d615557fc9fd5919284cc6f55edda68fc417d93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO completely rework and decouple selected game from main view and game details \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":"source/Playnite.FullscreenApp/ViewModels/FullscreenAppViewModel.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62f697915d87ff76d95bd909f39456319a2a22ce281f73262b454247a043c6d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private FullscreenAppViewModel mainModel \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":"source/Playnite.FullscreenApp/ViewModels/GameDetailsViewModel.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a2b601dd86f87ab4bde6af290702e002a9feaf12987a489d264d500b81b0cf"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS0067 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DatabaseAPI.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c081e702fda8b1b4ff508f257daf53656b951e31cad729457372e8c2e60d6970"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS0067 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0a752df9c8df25b600f274d84045a7961c03cec37d6f4c0f784e86305c890a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove after switch to .NET 5 \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":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e912ebc9bd21e30a40b270b15f023e567d3b864901e441a80a4b2b496c46da29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Modify scaling to scale by both axies. \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":"source/Playnite/Common/Extensions/BitmapExtensions.cs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"3596a19cf55ef8880fbd49c189d249037f80aaca8b621bdf4975ab02e6f3415a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add support for lists \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":"source/Playnite/Common/Extensions/CloneObject.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab80e780949812e02f7475ef007fe3c2e1a76b9cbe238bc315c48907c8eeb854"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Rework with proper symlinks handling with FileSystemInfo.ResolveLinkTarget \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":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f37148b0581fe16d839bf046eaf455de1c8fc39b8ccbb961d0fcc05979dd4a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private GameDatabase database \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":"source/Playnite/Controllers/GameControllerFactory.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b99ddac3ed06a819749d55b51e2faee764b9adb34d0b69e0f1bcd5e4db827b4"}},{"ruleId":"D17","level":"error","message":{"text":"DeadLoopAccumulator: failCount = 0; \u2026 if (failCount \u003E= maxFailCount) \u2014 this reset runs at the top of every pass, so the value is back to its starting constant before the test below it is reached: the test is decided the same way on every iteration, and whatever the loop adds to this variable further down is wiped out before anything can read it. The threshold it is guarding can therefore never be crossed, however many times the loop goes round, which is why nothing has ever been seen to trip. Move the reset ABOVE the loop, so the count accumulates across iterations the way the test below assumes; if it really is meant to be per-iteration state, then the test belongs with it and the accumulation does not."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7f4f7c5f630cf7b6320ca4e18f8bc2bd0b249dc2c42033ddc576332686ca80"}},{"ruleId":"D17","level":"error","message":{"text":"InvertedNullGuard: if (plat != null) \u2026 else \u2026 plat.Id \u2014 the guard has already decided this variable is null on the way into this branch, and nothing here gives it another value, so this dereference cannot run without throwing a NullReferenceException. It survives because the branch is the uncommon one: the code is correct on every input where the variable is set, and crashes on exactly the case the branch was written to handle. Decide which the line meant \u2014 if it is reporting the absence, it must not read through the missing value (use the other variable that identifies it, or a literal); if it is meant to work on a value, it belongs in the other branch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/PlatformsCollection.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8e0b8f8c114e8f86186d9bc9b4a866478c0e4ced18f49a972bf748b86fb6a6"}},{"ruleId":"D17","level":"error","message":{"text":"InvertedNullGuard: if (reg != null) \u2026 else \u2026 reg.Id \u2014 the guard has already decided this variable is null on the way into this branch, and nothing here gives it another value, so this dereference cannot run without throwing a NullReferenceException. It survives because the branch is the uncommon one: the code is correct on every input where the variable is set, and crashes on exactly the case the branch was written to handle. Decide which the line meant \u2014 if it is reporting the absence, it must not read through the missing value (use the other variable that identifies it, or a literal); if it is meant to work on a value, it belongs in the other branch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/RegionsCollection.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7e971c574e1493d959bea7128414c3cdb6240e30154edc5d7e0085b3c15c24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Rewrite this mess. \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":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0e5ab181a71b23e9517dba53e0eca4bbbd28f51ccb3e0ddb320b4fc6ee5e54"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private SelectionObject noneObject \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":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"1307ab0fb0caeeacc5a9ba317ac78d5fd09d01c38e75d79ada81a5b1181b8722"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this, we should only allow path to be set during instantiation. \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":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e5e7697ecc38ff4426b5257274e6d2d22df609cc777ec353f3422277838de0"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Guid id \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":"source/Playnite/Database/OldModels/Ver2.cs"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd42bde533f6ecf652418b8bbf2b6bb2cf02d8d4a02dd9a9e0056eb55fc68de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle properly \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":"source/Playnite/DateTimes.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"94944a2d9b3c4996b85766f97617c05629558cdcbc8975929ba4bde6f2298ae1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO rework this whole mess into something better and more maintainable :| \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":"source/Playnite/Extensions/GameExtensions.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"511edb3dc6e2059f69a18d33b47428883b42356164287364de166ead965acd57"}},{"ruleId":"D17","level":"error","message":{"text":"InvertedNullGuard: if (game == null) \u2026 game.Id \u2014 the guard has already decided this variable is null on the way into this branch, and nothing here gives it another value, so this dereference cannot run without throwing a NullReferenceException. It survives because the branch is the uncommon one: the code is correct on every input where the variable is set, and crashes on exactly the case the branch was written to handle. Decide which the line meant \u2014 if it is reporting the absence, it must not read through the missing value (use the other variable that identifies it, or a literal); if it is meant to work on a value, it belongs in the other branch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Metadata/MetadataDownloader.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37193790a12c3720e2f5987d2b1160e00c225202596025fd00e0b58706d4aef"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage repeated 10 times in one file: The identical BareSuppressMessage (\u0060SuppressMessage\u0060) appears 10 times in one file \u2014 one decision applied repeatedly (e.g. the same rule silenced on every overload of a fluent API), not 10 independent debts. Decide it once \u2014 at the type or project level, or by fixing the underlying pattern \u2014 rather than occurrence-by-occurrence. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Native/Windef.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"015d5b0018526566f4899e8f39379d961398577a41dac773441a90b66767e313"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IntPtr pwszURLReference \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":"source/Playnite/Native/Wintrust.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0958cfda21e6d2015ddd3a078fef6d5447e4ec657d54c4f09fc24ee2fc868e15"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Unload assembly once Playnite switches to .NET Core \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":"source/Playnite/Plugins/ExtensionFactory.cs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e852580e642009c895a464b2d170ca3619b6c13ca20a32151db34681018fb3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /* TODO: This #ifdef is only here because the equivalent \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":"source/Playnite/SDL2.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8cc2f204ddefa66e9b45b8e288a26e5a7371a7e6760427ce81d601df0d78b0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: I\u0027d rather this somehow be private... \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":"source/Playnite/SDL2.cs"},"region":{"startLine":7018}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e83732ca99c0b763fd79f3520f1f3d24c05655780f6b08c03636b1c43181a7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: I\u0027d rather this somehow be private... \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":"source/Playnite/SDL2.cs"},"region":{"startLine":7026}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db62bbdfb1faa13b01fac9de70ede74eb67bef71469168e105ab5340df05152"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: I wish these weren\u0027t public... \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":"source/Playnite/SDL2.cs"},"region":{"startLine":8666}}}],"partialFingerprints":{"codehealthFindingId/v1":"b679f2651cb96512814e90cffda316290ed0ae1f9e091c0cb5ae02450687f4fa"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable repeated 12 times in one file: The identical BarePragmaDisable (\u0060#pragma warning disable 0169\u0060) appears 12 times in one file \u2014 one decision applied repeatedly (e.g. the same rule silenced on every overload of a fluent API), not 12 independent debts. Decide it once \u2014 at the type or project level, or by fixing the underlying pattern \u2014 rather than occurrence-by-occurrence. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SDL2.cs"},"region":{"startLine":4998}}}],"partialFingerprints":{"codehealthFindingId/v1":"e002878e221df2206ed6bdb163aaed7d2ee60fbf504952357274895e35d9dd6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor this and merge it with NamedObject and SelectableItem \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":"source/Playnite/SelectableItem.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25448c7216ec7a710e19a60844cef7715bbe743b74346fbb530fa3978f15124"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor this and merge it with NamedObject and SelectableNamedObject \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":"source/Playnite/SelectableItem.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0265e17f0822704771923a5a62f5bca95fe2ef3e3b47559d84b8d02377e44326"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IResourceProvider resources \u2014 assigned 2 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":"source/Playnite/ViewModels/CrashHandlerViewModel.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a34499a4c5a723503037bd65830d92724cad6f99f37a836524ca129835bf05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO replace this in future by exposing GamesCollectionViewEntry to SDK and let plugins create them directly. \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":"source/Playnite/ViewModels/SearchViewModel.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"20892d49ad2603510698027a7f8b9817196219e3cdc72963aa91bac4c1f0c9b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO definitely could use some improvements for better fuzzy results. \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":"source/Playnite/ViewModels/SearchViewModel.cs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb69260db3bcad5de5e445fbf8050c7a15e4e4e3e01eba6b51f4eea2732cece9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this needs complete rework when per display DPI support is enabled in P11. \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":"source/Playnite/Windows/WindowPositionHandler.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8e7358710ab4d1f64ad222e5f7cf6f36ff58ef131a4cd61394a65a5ba2865d"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Events/ApplicationEvents.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bdb69cc2ddc8e14d9f09dbe9702c3c3fb7eb7d4167862c2ef8e1999b6db5bd"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/IDialogsFactory.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cf0c8c1604f6df6b35f5421eb6905604d7504e306e9427a2516102d6034aa5"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/IWebView.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4063a4419d0484cb1e7b148739d84cff9668c0814a00206f9027273b00606e7"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/WebViewModels.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b287fb14c0a30245b8f0ce1c5c133cd52d8b4a0afd917ce197303094a81b68"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Models/FilterPreset.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1a4660e8c74eada5113dbd67732f1e7c4d2f62bf027afc34c35c01fd8dc508"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add file test \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":"source/Tests/Playnite.DesktopApp.Tests/ViewModels/DatabaseFieldsManagerViewModelTests.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efc9ca92807352875c7a64be199e0d557c6a98b4a09bf3a196f5dc4402277a2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/Playnite.Tests/Emulators/EmulationTests.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8d9807882385dec88caa958a13456b91909cfb9584759019acc066b0c1a5b6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 16 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/Playnite.Tests/LocalizationTests.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40297026b56882c1bff2d10a814bbcebef6235188d3ed26b28e8577469ec420"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tests/TestPlugin/TestPlugin.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8544366f60564e577ca652bb43882c89ca3ed5f59319419d01c354df88944e6"}},{"ruleId":"D17","level":"error","message":{"text":"DeadLoopAccumulator: var romAdded = false; \u2026 if (prop.Name == \u0022rom\u0022 \u0026\u0026 !romAdded) \u2014 this reset runs at the top of every pass, so the value is back to its starting constant before the test below it is reached: the test is decided the same way on every iteration, and whatever the loop adds to this variable further down is wiped out before anything can read it. The threshold it is guarding can therefore never be crossed, however many times the loop goes round, which is why nothing has ever been seen to trip. Move the reset ABOVE the loop, so the count accumulates across iterations the way the test below assumes; if it really is meant to be per-iteration state, then the test belongs with it and the accumulation does not."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tools/Playnite.Utilities/DatParser.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcbd3d014bc5f4124698910a630332421cfb7b74c332118acbc1ac06b24152c"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: \u003C!--Hack to make the last empty column being able to slect a row--\u003E \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Windows/EmulatedGameImportWindow.xaml"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f28b5a894a10716c68ef5e229a300fdeba0e86328b90e7c1f329223a0a1ac55"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: \u003C!--Hack to make the last empty column being able to slect a row--\u003E \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Windows/EmulatorImportWindow.xaml"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f340a8a6d24c6bc15325ece0a9dbb6383cd9ff25ef155c37c2b16c3133c4beb"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: IDE0058 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/.editorconfig"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb83fda966b59b081c7ec2ef57a51baba8a655b55fad12f793355ad4a2154c82"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: IDE0036 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/.editorconfig"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d818c208ddd67cff528a6a7d7e7d8c1e2b1743d94cd5059593c8c26975d0e9b"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: IDE0025 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/.editorconfig"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b51d0c1b211600284c0e73a0b9fdc4dd8b2f28dcce3214df34719bee6142d0d"}},{"ruleId":"D18","level":"warning","message":{"text":"Build failed: The target solution did not build cleanly (errors: 2), which caps Solution Shape at 3/10 \u2014 the most basic shape signal is that it compiles. First errors: CS5001: Program does not contain a static \u0027Main\u0027 method suitable for an entry point."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"24ff41d1fc14d3a19b969001a7e9697d13d34fc0453d84646f56c980eff97f2b"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Playnite.Deps: \u0060Playnite.Deps\u0060 contributes only 0 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.Deps/Playnite.Deps.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf139597a3287ed7a94352c8e0152a4e43ad99eae4360b42bfe2857a0a77cf44"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060PlayniteSDK\u0060 is a package (\u0060PackageId\u0060) and neither \u0060source/PlayniteSDK/readme.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/readme.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c96252166a2113b189aff4bce28122d147c7334bd98ea25706c72594aa6efb9"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060AllFromDB\u0060 spells \u0060DB\u0060 where 30 names in the project spell it \u0060Db\u0060: 30 of 31 names in project Playnite spell the token \u0060Db\u0060 (30 of 31; unit: names in project Playnite containing \u0060Db\u0060). Peers: AgeRatingsCollection.MapLiteDbEntities (source/Playnite/Database/Collections/AgeRatingsCollection.cs:20); AppSoftwareCollection.MapLiteDbEntities (source/Playnite/Database/Collections/AppSoftwareCollection.cs:20); CategoriesCollection.MapLiteDbEntities (source/Playnite/Database/Collections/CategoriesCollection.cs:20); CompaniesCollection.MapLiteDbEntities (source/Playnite/Database/Collections/CompaniesCollection.cs:20); CompletionStatusesCollection.MapLiteDbEntities (source/Playnite/Database/Collections/CompletionStatusesCollection.cs:63). Rename to \u0060AllFromDb\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Metadata/MetadataDownloaderSettings.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d7a65f824c8dc6d1787219ff749b448ec50c01e84e08509ad9b07f9bb863f8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Random game select\u0022 repeats the code it sits on: 3 of its 3 words (random, game, select) are already in \u0060AddMenuChild(Items, \u0022LOCMenuSelectRandomGame\u0022, mainModel.SelectRandomGameCommand, null, \u0022DiceIcon\u0022);\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":"source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"52274111f74f26ee057e2047ee7a4a396b11b9c2430ba739c4fca009dfca59f6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 8, 13, 24, 25, 27, 28), for example \u0022Setting ComVisible to false makes the types in this assembly not visible to COM components. If you need to access a type in this assembly from COM, set the ComV \u2026\u0022. 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":"source/Playnite.DesktopApp/Properties/AssemblyInfo.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8dfc00f91ec694ab7d4bfe3cb2595369ef44131a461e26ee7d1a37cc9f6d22"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extensions main menu items\u0022 repeats the code it sits on: 4 of its 4 words (extensions, main, menu, items) are already in \u0060foreach (var item in MenuItems.GetSearchExtensionsMainMenuItem(this))\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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"284238e71bc1bdc553edcbd1f9ffa1b885ce0cced39bf0290a64537037f0472c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 8, 13, 24, 25, 27, 28), for example \u0022Setting ComVisible to false makes the types in this assembly not visible to COM components. If you need to access a type in this assembly from COM, set the ComV \u2026\u0022. 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":"source/Playnite.FullscreenApp/Properties/AssemblyInfo.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aee93f51957ea91c7bb36867782c0265f2242f3ce8e003dc0db64f358a16df"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022read dataPage and data block\u0022 repeats the code it sits on: 4 of its 4 words (read, data, page, block) are already in \u0060var dataPage = this.ReadPage((uint)dataBlock.Index(\u0022pageID\u0022).AsInt32);\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":"source/Playnite/Database/Collections/LiteDBFileReaderV7.cs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdd3b3ae01bb92a771ca59ac1de581839a64da68dde6e8cdab5efd007526c03"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022User actions description\u0022 repeats the code it sits on: 3 of its 3 words (user, actions, description) are already in \u0060if (!string.IsNullOrWhiteSpace(userActionsDescription))\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":"source/Playnite/Diagnostic.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cb1b6c017197f60fe7980b985b4c5f95e80c1b0efe58d46e21bc4bfde6362f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create Desktop Shortcut\u0022 repeats the code it sits on: 3 of its 3 words (create, desktop, shortcut) are already in \u0060items.Add(new SearchItem(LOC.CreateDesktopShortcut, LOC.Activate, () =\u003E model.App.GamesEditor.CreateDesktopShortcut(game \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/MenuItems.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f656fa22f3627967098a9c9e593906bf2f92c8d943922f755b352c3f644eb606"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setting ComVisible to false makes the types in this assembly not visible to COM components. If you need to access a type in this assembly from COM, set the ComV \u2026\u0022 is Visual Studio AssemblyInfo template text, left in place. 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":"source/Playnite/Properties/AssemblyInfo.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e2d77159ba0987ee2e2a6eadc0d09bc109baa3e10c755624ca0f7ac61280da"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The following GUID is for the ID of the typelib if this project is exposed to COM\u0022 is Visual Studio AssemblyInfo template text, left in place. 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":"source/Playnite/Properties/AssemblyInfo.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35fe67173bf111c1af76ca0bf524f613a312b1bb39da0176ddbd93a5810e764"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 45 comments in this file only repeat the code they sit on (lines 1617, 1842, 1916, 1940, 2003, 2010, 2014, 2082, 2556, 2564, 2568, 2578, 2656, 4069, 4073, 4171, 4404, 4539, 4547, 4710, 4826, 5600, 6241, 6265, 6313, 6395, 6438, 6715, 6823, 7111, 7156, 7160, 7212, 7218, 7260, 7282, 7315, 7337, 7366, 7834, 7841, 7847, 7969, 7973, 8538), for example \u0022IntPtr refers to an SDL_Window\u0022. 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":"source/Playnite/SDL2.cs"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a85b739cf9ca59bf6bd3566b466c76808e6cf671f071f8dde34ce3729d18709"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022IntPtr refers to a Mix_Chunk\u0022 repeats the code it sits on: 4 of its 5 words (int, ptr, mix, chunk) are already in \u0060[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]\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":"source/Playnite/SDL2_mixer.cs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8099fa86c5ae50d6a06505f5b85fce133a6700688af4f1cec17ecadc3565b0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setting ComVisible to false makes the types in this assembly not visible to COM components. If you need to access a type in this assembly from COM, set the ComV \u2026\u0022 is Visual Studio AssemblyInfo template text, left in place. 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":"source/PlayniteSDK/Properties/AssemblyInfo.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cbc0bffdbde40f95a0a29a1fce232c566004a0e5dbb98a639d386f4a8bbd86"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The following GUID is for the ID of the typelib if this project is exposed to COM\u0022 is Visual Studio AssemblyInfo template text, left in place. 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":"source/PlayniteSDK/Properties/AssemblyInfo.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"606c60165b935d56b738cad1990bf58246f51d42e67a35f76b08f0cf7d2b7905"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Http exe no icon file\u0022 repeats the code it sits on: 4 of its 5 words (http, exe, no, icon) are already in \u0060testImage(@\u0022https://playnite.link/NoIcon.exe\u0022);\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":"source/Tests/Playnite.Tests/Database/GameDatabaseFileTests.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a1654a005337110694cf52a0031d00aee3b79e5879c780e8fbd19334757196"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 57, 79, 110, 132, 167, 193), for example \u0022Once a week check\u0022. 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":"source/Tests/Playnite.Tests/SettingsTests.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0052dd0330c479c43324f09cca161522198a0eb11e8154eb8299a68d1c9ca3c3"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060Playnite\u0060 overshoots its size bounds (69158 LoC, 762 public types across 39 namespaces). 3 of 22 project(s) overshoot their size bounds, lowering Project Cohesion to 7.3/10. Size alone is no reason to split a project: where its type references show a separable part, a Split row names it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Playnite.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5231d7ac7c1a499347e82356326c91debf7064058b7e6a6f80a1e992e77986ff"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060Playnite.DesktopApp\u0060 overshoots its size bounds (24974 LoC, 209 public types across 9 namespaces). 3 of 22 project(s) overshoot their size bounds, lowering Project Cohesion to 7.3/10. Size alone is no reason to split a project: where its type references show a separable part, a Split row names it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Playnite.DesktopApp.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"876a3544a0384ff1725d08ae5a5836b5a967efa33d329ebf3aa0eba93e30b905"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060Playnite.SDK\u0060 overshoots its size bounds (13354 LoC, 227 public types across 12 namespaces). 3 of 22 project(s) overshoot their size bounds, lowering Project Cohesion to 7.3/10. Size alone is no reason to split a project: where its type references show a separable part, a Split row names it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Playnite.SDK.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"743d52a063e9ed67db50b420eb3093f716fe39d5934e93040a0b875627fb1bc9"}},{"ruleId":"D27","level":"note","message":{"text":"Pass-through layer: PlayniteAPI: all 11 public methods forward their arguments unchanged to RootApi and add no behaviour \u2014 an extra hop (and usually an extra interface) to trace through. Call RootApi directly, or give the layer a job."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/PlayniteAPI.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0843468a1137f1e95dcac0bcb2029d23c9d4b340e3ba4fe938e204a3e753cfd6"}},{"ruleId":"D27","level":"note","message":{"text":"Pass-through layer: GlobalRandom: all 5 public methods forward their arguments unchanged to generator and add no behaviour \u2014 an extra hop (and usually an extra interface) to trace through. Call generator directly, or give the layer a job."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/GlobalRandom.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"815347d62bd420f725d2a444e3568e25601ab91ab66b06127e6ad1244fdb01d5"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ba594b1ba665cb652ede9a8306809893105c566b0a2fa40bb3ccf73c8408cae"},"properties":{"commitSha":"256c7524cecc6320af2af163a9d97b116f49fc81"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1edc4f9288c4d81aab38fc41bb0bf2693c1a0855f87ca22a7871e7496e743b00"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ef91953679e956dae64fdd37c4560c726919ec53884f1ff98559b320e4ca37b"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d704900f562f200f3d343da876b5e249b78b855b9de6be605a35d77cbcb99f5"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"efbf3e0a83bc4a259026bd9b91433cf2b6151311cedadaa22637ca39f0d68e28"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54e256552332141cbf9abf13da5edff7efaf2a0bb6f3de75cbd746e95aff3185"},"taxa":[{"id":"CWE-776","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7cb22712acb9dca8f5a84a63791b669b7973a1ff1710a08844cb5cd492147e5"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea7212600964332ff285c78da969c0b65617803b429726af01f28e2ebeb669fc"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54622154e5093cf423a8472d634a4fc22c64cf0f30ced5dce9f6f0acb563c946"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdbc62f7a97f7fb5a7ed39cdadbdb48f09d4d0372c2d4447b6a07dcea88a7de3"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4232527876a77fc80115004fff3506cc62305ffe5d2fbe2fbe67a8d33cd920f8"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 3 of 297 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 297 of the 592 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: source/Playnite/SortableNameConverter.cs, source/Playnite/HdrUtilities.cs, source/Playnite.DesktopApp/Controls/SliderWithPopup.xaml.cs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SortableNameConverter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f53c386601192f9a8b19bfc4aa5e69d9ed06126f9b3eaeb5d5266c197b3c5b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/HdrUtilities.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d255d778a7e26da9a5fa64e9b1057c9ad5bb6d9b35db53baa5aef07950b36c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/SliderWithPopup.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bcd17d6de7c53d4aec5273e56fa2c6fabd1ea3fb33431e0fc19e4e2303a8b8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ExtensionFactory.cs \u2194 PowerShellScript.cs: \u0060source/Playnite/Plugins/ExtensionFactory.cs\u0060 and \u0060source/Playnite/Scripting/PowerShell/PowerShellScript.cs\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006067f57e18\u0060 SDK: Added support for cancelling installation process from within In\u2026; \u006078be2d30\u0060 SDK: Added OnGameStartupCancelled application event; \u00607ec2208a\u0060 Script extensions don\u0027t log into extension log file \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Plugins/ExtensionFactory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8843d2ebf87ab86b4b965f4e9f8f404ba6394d2f0d2cb517fab68c36618da5c7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: StatisticsViewModel: \u0060StatisticsViewModel\u0060 keeps one instance of itself in the static \u0060designIntance\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 (selectedFilter, selectedFilterObject, filterObjects, globalStats, filteredStats, includeHidden; e.g. \u0060selectedFilter\u0060 at line 131)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/StatisticsViewModel.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b6c3ca86b2804e2c1a1265b1cfcfc9e0508f4eeb2d40ae3c4293cd9b1a841a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: AudioEngine: \u0060AudioEngine\u0060 is not registered, but \u0060FullscreenApplication\u0060 creates it and keeps it in the static \u0060Audio\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 (AudioInitialized, AudioClosed, LastAudioEvent; e.g. \u0060AudioInitialized\u0060 at line 35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Audio.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"97642a86c8b3b2b8ec09501122670057d1dea0efeee0c00bdd3cad8628e99778"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: MemoryCache: \u0060MemoryCache\u0060 is not registered, but \u0060ImageSourceManager\u0060 creates it and keeps it in the static \u0060Cache\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 (currentSize; e.g. \u0060currentSize\u0060 at line 73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/MemoryCache.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b78d86f3ca9dad8e952e6e6cfa4d00756f25ab46dcb93d6bc9991dbd39ecf6"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: Ver2_Platform: \u0060Ver2_Platform\u0060 keeps one instance of itself in the static \u0060Empty\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 (icon, cover, background; e.g. \u0060icon\u0060 at line 2076)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/OldModels/Ver2.cs"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71d00db418d6cc0565f99c66c226485d145ecec1849a6493949f22324d9c668"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: PowerShellRuntime: \u0060PowerShellRuntime\u0060 keeps one instance of itself in the static \u0060interactiveRuntime\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 (module; e.g. \u0060module\u0060 at line 169)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Scripting/PowerShell/PowerShell.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"50443916831b4580bdb276e212f37f9eee5b944ad2d21d3c6dba8d9f0e923a8c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: TgaFraction: \u0060TgaFraction\u0060 keeps one instance of itself in the static \u0060Empty\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 (numerator, denominator; e.g. \u0060numerator\u0060 at line 1878)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"139ed733f4aed7502ba0ee78021c572df060de44da3c88f266983c52468433a1"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: TgaString: \u0060TgaString\u0060 keeps one instance of itself in the static \u0060Empty\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 (origString, length, blankSpaceChar, useEnding; e.g. \u0060origString\u0060 at line 2676)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":2618}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61a57c2bd7c108967f8fb36ebc1c1d2339644b14b440120f54ecf7b7a3f74c5"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: Platform: \u0060Platform\u0060 keeps one instance of itself in the static \u0060Empty\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 (specificationId, icon, cover, background; e.g. \u0060specificationId\u0060 at line 24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Models/Platform.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1236a90b5b4f8620a7bd0d5bc843510544f3bbcea67409f4daff97b28e8b023f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: Region: \u0060Region\u0060 keeps one instance of itself in the static \u0060Empty\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 (specificationId; e.g. \u0060specificationId\u0060 at line 23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Models/Region.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4a11f3d5c02028c0b8988a10a97aa7ac21150853611088824e4626c7f52317"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: GameMenu: \u0060GameMenu\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 (startIcon, removeIcon, linksIcon, favoriteIcon, unFavoriteIcon, hideIcon; e.g. \u0060startIcon\u0060 at line 466). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/Menus/GameMenu.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f75ec97accbe2dc83ea78c4b8a5733357f4b668063a6c128cf164203732ebf7"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: DesignMainViewModel: \u0060DesignMainViewModel\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 (designIntance; e.g. \u0060designIntance\u0060 at line 32). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/DesignData/DesignMainViewModel.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11c6947e928cae0ddfdc3f834781d1e2f5864f5dc7c1b6ca24c3c4751b3bd2f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: FullscreenApplication: \u0060FullscreenApplication\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 (Audio, NavigateSound, ActivateSound, BackgroundMusic; e.g. \u0060Audio\u0060 at line 391). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/FullscreenApplication.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed673bd951b5fc58d7a9e6c2348b32b91496cc655fb7ac67c5490b74de0655b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: DesignMainViewModel: \u0060DesignMainViewModel\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 (designIntance; e.g. \u0060designIntance\u0060 at line 37). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/ViewModels/DesignData/DesignMainViewModel.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec0db750bd14a567bee0245b34d947d2a3324dac3c05a2468e727a4fe66d55f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Updater: \u0060Updater\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 (currentVersion; e.g. \u0060currentVersion\u0060 at line 51). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/App/Updater.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd688ade9497202e7bf7b8f496ac90fa28b1b22334d0fd6d44b7a0fb0c259cbc"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: CefTools: \u0060CefTools\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 (IsInitialized; e.g. \u0060IsInitialized\u0060 at line 50). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/CefTools.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85530ae67a523a2c6b07a7b96a4816e76a5d2b1fb7093885c5e5644b788067d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: DateTimes: \u0060DateTimes\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 (dateProvider; e.g. \u0060dateProvider\u0060 at line 33). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/DateTimes.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b65b2a92a9a814e280ca5b7c535e4f6982dcfe9686dd6ffeb6ac21e3360c95a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Dialogs: \u0060Dialogs\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 (DialogsHandler; e.g. \u0060DialogsHandler\u0060 at line 20). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/DialogsFactory.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0cc5630551cd7280c14aeac4d239a81deef1d304e311b38675e5669e43d8f2"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: GamesCollectionViewEntry: \u0060GamesCollectionViewEntry\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 (DetailsListIconProperties, GridViewCoverProperties, FullscreenListCoverProperties, BackgroundImageProperties; e.g. \u0060DetailsListIconProperties\u0060 at line 228). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/GamesCollectionViewEntry.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b0eab4fb11929809437d729591737af335e1e5c4470211b94cbffdf1984b39"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: GamesEditor: \u0060GamesEditor\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 (showedPowerShellError; e.g. \u0060showedPowerShellError\u0060 at line 260). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/GamesEditor.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"979d42045cbb7ebc38aa9bc59285445c7004cb2fc68b655df9729589379dc27d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: GlobalTaskHandler: \u0060GlobalTaskHandler\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 (cancelToken; e.g. \u0060cancelToken\u0060 at line 19). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/GlobalTaskHandler.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7deaff8308829624d9dead6bf35e5f864f313fffdc3259692c61eff231f9a728"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ImageSourceManager: \u0060ImageSourceManager\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 (database; e.g. \u0060database\u0060 at line 30). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ImageSourceManager.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4720a4938749f793875544dad31ebd0a9c4db7084ff233de5b26dc3a657c9773"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Localization: \u0060Localization\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 (ApplicationLanguageCultureInfo, CurrentLanguage; e.g. \u0060ApplicationLanguageCultureInfo\u0060 at line 182). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Localization.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3160c03ae0ab2a7a3bd1c2c3ea9fc15460dee1790a9026056139cf7dd499967b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: MenuItems: \u0060MenuItems\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 (startIcon, removeIcon, linksIcon, favoriteIcon, unFavoriteIcon, hideIcon; e.g. \u0060startIcon\u0060 at line 39). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/MenuItems.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fd46e5b8beb868854e41828b148589c106a6d95e9638767b3af7721d9f25cc"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: PlaynitePaths: \u0060PlaynitePaths\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 (ConfigRootPath, DataCachePath, ThemesUserDataPath, ExtensionsDataPath, ExtensionQueueFilePath, AddonLicenseAgreementsFilePath; e.g. \u0060ConfigRootPath\u0060 at line 94). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Settings/PlaynitePaths.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c3de9980bc82202bedb27a34c74217746df2116dc92e9478b53c3958e6e3a6"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: PlayniteSettings: \u0060PlayniteSettings\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 (logger; e.g. \u0060logger\u0060 at line 2636). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Settings/PlayniteSettings.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3443f690f0066d326d1a604657068d881ca8b0aabc7ec611c10dac75b949bcda"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ThemeManager: \u0060ThemeManager\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 (CurrentTheme, DefaultTheme, ForceLTRLayout; e.g. \u0060CurrentTheme\u0060 at line 46). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Themes.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcb7186a04acefc0104fdc6b9967c068b81fbf2b7ccdc0e795c4d64fef1face"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: WindowBase: \u0060WindowBase\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 (TextFormattingMode, TextRenderingMode; e.g. \u0060TextFormattingMode\u0060 at line 300). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controls/WindowBase.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"810b5ae41227dcf0e2bb5c169ad4986b0cef4308d6a6f08214ffd20f056c0cf5"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: PlayTimeToStringConverter: \u0060PlayTimeToStringConverter\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 (LOCPlayedNoneString, LOCPlayedNone, LOCPlayedSeconds, LOCPlayedMinutes, LOCPlayedHours, LOCPlayedDays; e.g. \u0060LOCPlayedNoneString\u0060 at line 31). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Converters/PlayTimeToStringConverter.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb0108812e7a74447fcb87421d98adeb9d3e8575ab358248b61446ad0c195f8"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: GameDatabase: \u0060GameDatabase\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. \u0060Instance\u0060 at line 1517). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40b6b2d617fae47ae550b0a011ef1558ed85226d47ebe42eb048a5d3be18fd0"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Emulation: \u0060Emulation\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 (platforms, regions, definitions; e.g. \u0060platforms\u0060 at line 61). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Emulators/Emulation.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fd8c3e611b04af056c1aaf08eb7fa4d9f73e10c607c8fa0572835d2f95e00c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Settings: \u0060Settings\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 (directValuePropCache; e.g. \u0060directValuePropCache\u0060 at line 88). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Extensions/Markup/Settings.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"887ba8e463f4ad9bf1658d5a4fe9ae4394d88fa3841150d959a3c8f91e2bb3af"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ThemeFile: \u0060ThemeFile\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 (lastUserTheme, lastUserThemeFound; e.g. \u0060lastUserTheme\u0060 at line 67). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Extensions/Markup/ThemeFile.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb636c0520877c02c84aa4bcfae7f254fecaf43deaa508d46b63cc498bef3d0"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: GameControllerGesture: \u0060GameControllerGesture\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 (confirmationBinding, cancellationBinding; e.g. \u0060confirmationBinding\u0060 at line 32). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Input/GameController.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c24b438f18683ad4a08e67a7b0843069bb7c8cc930a7c97d67d4ae796a1510"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ExtensionInstaller: \u0060ExtensionInstaller\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 (agreedLicenses, currentQueue; e.g. \u0060agreedLicenses\u0060 at line 83). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Plugins/ExtensionInstaller.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b243ad45569b9cf2da0f927c5057da6a54619b001a142339b3fe078562390a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: CrashHandlerWindowFactory: \u0060CrashHandlerWindowFactory\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 (WindowType; e.g. \u0060WindowType\u0060 at line 16). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Windows/CrashHandlerWindowFactory.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28b54f6a32153f34ccff0d0ea7fdc3665fbbdcf87eae92d3c049a5bbdc0f23b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ExtensionCrashHandlerWindowFactory: \u0060ExtensionCrashHandlerWindowFactory\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 (WindowType; e.g. \u0060WindowType\u0060 at line 16). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Windows/ExtensionCrashHandlerWindowFactory.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cb0d4619c102e8d183fb397248281da2fc79c71ac3f3efda6520daec8b8155"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: SingleItemSelectionWindowFactory: \u0060SingleItemSelectionWindowFactory\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 (WindowType; e.g. \u0060WindowType\u0060 at line 16). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Windows/ItemSelectorWindowFactory.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ea6d9fb47460c9ac97662e1ee32200d274294670c2b601416fb2c1701e73f7"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: MultiItemSelectionWindowFactory: \u0060MultiItemSelectionWindowFactory\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 (WindowType; e.g. \u0060WindowType\u0060 at line 31). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Windows/ItemSelectorWindowFactory.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c205c92c68a753e4c7c3216e8c52f97926accb4a4d86c29fd382451d1f4fa7d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: LicenseAgreementWindowFactory: \u0060LicenseAgreementWindowFactory\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 (WindowType; e.g. \u0060WindowType\u0060 at line 16). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Windows/LicenseAgreementWindowFactory.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b108e2fe6208760b2bbd583d0d9a6658e4b5eed54abe2cbb2873863dd274376d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ProgressWindowFactory: \u0060ProgressWindowFactory\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 (WindowType; e.g. \u0060WindowType\u0060 at line 16). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Windows/ProgressWindowFactory.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72865f0922f34fd15b5a980177757c03cac8281c365acc0179b2c7c889078ed"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: UpdateWindowFactory: \u0060UpdateWindowFactory\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 (WindowType; e.g. \u0060WindowType\u0060 at line 16). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Windows/UpdateWindowFactory.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c8f21a56cd895caa17c1dbab002e3f421271e5bbe0a27e98371b53049741f3"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: WindowManager: \u0060WindowManager\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 (LastActiveWindow; e.g. \u0060LastActiveWindow\u0060 at line 21). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Windows/WindowManager.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e61085ba7e8030026ddf9a115f7b8f9d542442146b81888543cb6c0ce95e838"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: DesignerTools: \u0060DesignerTools\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 (inDesignMode; e.g. \u0060inDesignMode\u0060 at line 20). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/DesignerTools.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7573d67c2bf40a95b506ddfb1a8b527a80a6e4f7846634c44ec0c87a5af50cd"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: LogManager: \u0060LogManager\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 (logManager; e.g. \u0060logManager\u0060 at line 94). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/LogManager.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"23179245082890c66ede5f722ce8876350c333dc1c0943dbee27c85b4356a562"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ResourceProvider: \u0060ResourceProvider\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 (staticProvider; e.g. \u0060staticProvider\u0060 at line 102). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/ResourceProvider.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9705261fb424ca322a9f35a42b086edf5fe85146e7a600cd89d4adbe922399fe"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Serialization: \u0060Serialization\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 (serializer; e.g. \u0060serializer\u0060 at line 291). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Data/DataSerialization.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ba7dc74fba6a95bee5a2a88e0671a2a4142ef2045971c23a60e517fa4aac6d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Markup: \u0060Markup\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 (converter; e.g. \u0060converter\u0060 at line 31). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Data/MarkupConverter.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9a3232fe111b14082784091a430f2b3c46a6647eb5e2ef61fa38ee75be6e05"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: SQLite: \u0060SQLite\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 (generatorFunc; e.g. \u0060generatorFunc\u0060 at line 85). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Data/SQLite.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6f3b54d694519c71e2cc5f72e65d6ec25f88e133a247319122768115128e0f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: LogManager: \u0060LogManager\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 (logStream, logWriter; e.g. \u0060logStream\u0060 at line 92). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tools/PlayniteInstaller/Logger.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d396ac522630e6dd04a341cb65ff9170e853ee985541c605bea7e78844c0e1f2"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces Playnite \u2194 Playnite.API \u2194 Playnite.Common \u2194 Playnite.Common.Web \u2194 Playnite.Controllers \u2194 Playnite.Controls \u2194 Playnite.Database \u2194 Playnite.Input \u2194 Playnite.Metadata \u2194 Playnite.Plugins \u2194 Playnite.SDK \u2194 Playnite.SDK.Events \u2194 Playnite.SDK.Models \u2194 Playnite.SDK.Plugins \u2194 Playnite.Scripting \u2194 Playnite.Scripting.PowerShell \u2194 Playnite.Services \u2194 Playnite.ViewModels \u2194 Playnite.WebView \u2194 Playnite.Windows \u2194 System \u2194 System.Drawing.Imaging depend on each other. The lightest dependency in the cycle is Playnite \u2192 Playnite.Common.Web (Playnite.Updater \u2192 Playnite.Common.Web.IDownloader, 1 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":"source/Playnite/App/Updater.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"016e864d70f4555e0dc5be1c21008b85e45c6412534ec077088a21821817038a"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces Playnite.DesktopApp \u2194 Playnite.DesktopApp.Controls \u2194 Playnite.DesktopApp.Controls.Views \u2194 Playnite.DesktopApp.ViewModels depend on each other. The lightest dependency in the cycle is Playnite.DesktopApp \u2192 Playnite.DesktopApp.ViewModels (Playnite.DesktopApp.DesktopApplication \u2192 Playnite.DesktopApp.ViewModels.DesktopAppViewModel, 1 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":"source/Playnite.DesktopApp/DesktopApplication.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"048e9dbb76f5ed5c0af1a46d367a90a3f20102215471981eb58bc24b4bc4d0cd"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces Playnite.FullscreenApp \u2194 Playnite.FullscreenApp.Controls.SettingsSections \u2194 Playnite.FullscreenApp.ViewModels depend on each other. The lightest dependency in the cycle is Playnite.FullscreenApp \u2192 Playnite.FullscreenApp.ViewModels (Playnite.FullscreenApp.FullscreenApplication \u2192 Playnite.FullscreenApp.ViewModels.FullscreenAppViewModel, 1 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":"source/Playnite.FullscreenApp/FullscreenApplication.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5b25be0c3632380dc6b350d2ca8c2d76d2c14d57ece4a7008391ff5ceb2f6c"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IGameDatabaseMain (50 members): \u0060IGameDatabaseMain\u0060 declares 50 members: \u0060UsedPlatforms\u0060, \u0060UsedGenres\u0060, \u0060UsedDevelopers\u0060, \u0060UsedPublishers\u0060, \u0060UsedTags\u0060, \u0060UsedCategories\u0060, \u0060UsedSeries\u0060, \u0060UsedAgeRatings\u0060, \u0060UsedRegions\u0060, \u0060UsedSources\u0060, \u0060UsedFeastures\u0060, \u0060UsedCompletionStatuses\u0060, \u0060SoftwareApps\u0060, \u0060DatabaseFileChanged\u0060, \u0060PlatformsInUseUpdated\u0060, \u0060GenresInUseUpdated\u0060, \u0060DevelopersInUseUpdated\u0060, \u0060PublishersInUseUpdated\u0060, \u0060TagsInUseUpdated\u0060, \u0060CategoriesInUseUpdated\u0060, \u0060AgeRatingsInUseUpdated\u0060, \u0060SeriesInUseUpdated\u0060, \u0060RegionsInUseUpdated\u0060, \u0060SourcesInUseUpdated\u0060, \u0060FeaturesInUseUpdated\u0060, \u0060CompletionStatusesInUseUpdated\u0060, \u0060SetDatabasePath\u0060, \u0060OpenDatabase\u0060, \u0060GetFileStoragePath\u0060, \u0060GetFullFilePath\u0060, \u0060AddFile\u0060, \u0060AddFile\u0060, \u0060RemoveFile\u0060, \u0060GetFileAsImage\u0060, \u0060CopyFile\u0060, \u0060BeginBufferUpdate\u0060, \u0060EndBufferUpdate\u0060, \u0060BufferedUpdate\u0060, \u0060ImportGames\u0060, \u0060GetCompletionStatusSettings\u0060, and 10 more. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 50 declarations carry 49 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 49 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/GameDatabase.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45725ad611c3890d24c0cb9c8c5987b182157b655ce277e802e8631b3f25e19"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IGameDatabase (24 members): \u0060IGameDatabase\u0060 declares 24 members: \u0060Games\u0060, \u0060Platforms\u0060, \u0060Emulators\u0060, \u0060Genres\u0060, \u0060Companies\u0060, \u0060Tags\u0060, \u0060Categories\u0060, \u0060Series\u0060, \u0060AgeRatings\u0060, \u0060Regions\u0060, \u0060Sources\u0060, \u0060Features\u0060, \u0060GameScanners\u0060, \u0060CompletionStatuses\u0060, \u0060ImportExclusions\u0060, \u0060FilterPresets\u0060, \u0060IsOpen\u0060, \u0060DatabaseOpened\u0060, \u0060ImportGame\u0060, \u0060ImportGame\u0060, \u0060GetGameMatchesFilter\u0060, \u0060GetFilteredGames\u0060, \u0060GetGameMatchesFilter\u0060, \u0060GetFilteredGames\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 24 declarations carry 21 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 21 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Database/IGameDatabase.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"021c4e64f01b22364a64637cef9cf1c87cec81ac8676250211b8c828c451d7d0"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IItemCollection\u003CTItem\u003E (20 members): \u0060IItemCollection\u003CTItem\u003E\u0060 declares 20 members under just 11 distinct name(s): \u0060this[]\u0060, \u0060Get\u0060, \u0060Get\u0060, \u0060Add\u0060, \u0060Add\u0060, \u0060Add\u0060, \u0060Add\u0060, \u0060Add\u0060, \u0060Add\u0060, \u0060Add\u0060, \u0060Remove\u0060, \u0060Remove\u0060, \u0060Update\u0060, \u0060Update\u0060, \u0060BufferedUpdate\u0060, \u0060BeginBufferUpdate\u0060, \u0060EndBufferUpdate\u0060, \u0060GetClone\u0060, \u0060ItemCollectionChanged\u0060, \u0060ItemUpdated\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. That is an OVERLOAD SET, not 20 separate responsibilities: a caller binds to 11 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 20 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Database/IItemCollection.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f818d96e1fa56e8569e9c914856160bb6e7a89505408de353cb4661bf74bdb"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IDialogsFactory (30 members): \u0060IDialogsFactory\u0060 declares 30 members under just 15 distinct name(s): \u0060ShowErrorMessage\u0060, \u0060ShowErrorMessage\u0060, \u0060ShowMessage\u0060, \u0060ShowMessage\u0060, \u0060ShowMessage\u0060, \u0060ShowMessage\u0060, \u0060ShowMessage\u0060, \u0060SelectFolder\u0060, \u0060SelectFolder\u0060, \u0060SelectFile\u0060, \u0060SelectFile\u0060, \u0060SelectFiles\u0060, \u0060SelectFiles\u0060, \u0060SelectIconFile\u0060, \u0060SelectIconFile\u0060, \u0060SelectImagefile\u0060, \u0060SelectImagefile\u0060, \u0060SaveFile\u0060, \u0060SaveFile\u0060, \u0060SaveFile\u0060, \u0060SaveFile\u0060, \u0060SelectString\u0060, \u0060SelectString\u0060, \u0060ShowSelectableString\u0060, \u0060ChooseImageFile\u0060, \u0060ChooseItemWithSearch\u0060, \u0060ActivateGlobalProgress\u0060, \u0060ActivateGlobalProgress\u0060, \u0060CreateWindow\u0060, \u0060GetCurrentAppWindow\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. That is an OVERLOAD SET, not 30 separate responsibilities: a caller binds to 15 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 30 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/IDialogsFactory.cs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cc7d8ccb26d651aef669dd635a48be66af33dfa2d33c3883ef49872535a8cb"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMainViewAPI (23 members): \u0060IMainViewAPI\u0060 declares 23 members: \u0060ActiveDesktopView\u0060, \u0060ActiveFullscreenView\u0060, \u0060SortOrder\u0060, \u0060SortOrderDirection\u0060, \u0060Grouping\u0060, \u0060UIDispatcher\u0060, \u0060SelectedGames\u0060, \u0060FilteredGames\u0060, \u0060OpenPluginSettings\u0060, \u0060SwitchToLibraryView\u0060, \u0060SelectGame\u0060, \u0060SelectGames\u0060, \u0060ApplyFilterPreset\u0060, \u0060ApplyFilterPreset\u0060, \u0060GetActiveFilterPreset\u0060, \u0060GetCurrentFilterSettings\u0060, \u0060OpenSearch\u0060, \u0060OpenSearch\u0060, \u0060OpenEditDialog\u0060, \u0060OpenEditDialog\u0060, \u0060GetSortedFilterPresets\u0060, \u0060GetSortedFilterFullscreenPresets\u0060, \u0060ToggleFullscreenView\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 23 declarations carry 20 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 20 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/IMainViewAPI.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e386284d379122dc5b7aada21ca68bd0f72923bab61dfac2fb7201aaca1ff5a7"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IPlayniteAPI (23 members): \u0060IPlayniteAPI\u0060 declares 23 members: \u0060MainView\u0060, \u0060Database\u0060, \u0060Dialogs\u0060, \u0060Paths\u0060, \u0060Notifications\u0060, \u0060ApplicationInfo\u0060, \u0060WebViews\u0060, \u0060Resources\u0060, \u0060UriHandler\u0060, \u0060ApplicationSettings\u0060, \u0060Addons\u0060, \u0060Emulation\u0060, \u0060ExpandGameVariables\u0060, \u0060ExpandGameVariables\u0060, \u0060ExpandGameVariables\u0060, \u0060StartGame\u0060, \u0060InstallGame\u0060, \u0060UninstallGame\u0060, \u0060AddCustomElementSupport\u0060, \u0060AddSettingsSupport\u0060, \u0060AddConvertersSupport\u0060, \u0060GetConnectedControllers\u0060, \u0060GetConnectedControllers2\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 23 declarations carry 21 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 21 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/IPlayniteAPI.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e76f1db63b361fc686346a7d4deaab09560d16b2a00fce7dfb26ce3c81a2ddc"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IPlayniteSettingsAPI (28 members): \u0060IPlayniteSettingsAPI\u0060 declares 28 members: \u0060Version\u0060, \u0060GridItemWidthRatio\u0060, \u0060GridItemHeightRatio\u0060, \u0060FirstTimeWizardComplete\u0060, \u0060DisableHwAcceleration\u0060, \u0060AsyncImageLoading\u0060, \u0060DownloadMetadataOnImport\u0060, \u0060StartInFullscreen\u0060, \u0060DatabasePath\u0060, \u0060MinimizeToTray\u0060, \u0060CloseToTray\u0060, \u0060EnableTray\u0060, \u0060Language\u0060, \u0060UpdateLibStartup\u0060, \u0060DesktopTheme\u0060, \u0060FullscreenTheme\u0060, \u0060StartMinimized\u0060, \u0060StartOnBoot\u0060, \u0060ForcePlayTimeSync\u0060, \u0060PlaytimeImportMode\u0060, \u0060FontFamilyName\u0060, \u0060DiscordPresenceEnabled\u0060, \u0060AgeRatingOrgPriority\u0060, \u0060SidebarVisible\u0060, \u0060SidebarPosition\u0060, \u0060Fullscreen\u0060, \u0060CompletionStatus\u0060, \u0060GetGameExcludedFromImport\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/IPlayniteSettingsAPI.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ec70a9688f7cc34de0038e164c156f37c5acb90fc77aa8db036e91ff19b7aa"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IWebView (20 members): \u0060IWebView\u0060 declares 20 members: \u0060CanExecuteJavascriptInMainFrame\u0060, \u0060Open\u0060, \u0060OpenDialog\u0060, \u0060NavigateAndWait\u0060, \u0060Navigate\u0060, \u0060GetPageText\u0060, \u0060GetPageTextAsync\u0060, \u0060GetPageSource\u0060, \u0060GetPageSourceAsync\u0060, \u0060GetCurrentAddress\u0060, \u0060DeleteDomainCookies\u0060, \u0060DeleteDomainCookiesRegex\u0060, \u0060DeleteCookies\u0060, \u0060GetCookies\u0060, \u0060SetCookies\u0060, \u0060SetCookies\u0060, \u0060Close\u0060, \u0060LoadingChanged\u0060, \u0060EvaluateScriptAsync\u0060, \u0060WindowHost\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 20 declarations carry 19 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 19 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/IWebView.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b23b5b4d881be7acb25a40092332be9eb7bb2cdb5efec2c4fd16661c2f540a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IDataSerializer (27 members): \u0060IDataSerializer\u0060 declares 27 members: \u0060ToYaml\u0060, \u0060FromYaml\u0060, \u0060TryFromYaml\u0060, \u0060TryFromYaml\u0060, \u0060FromYamlFile\u0060, \u0060TryFromYamlFile\u0060, \u0060TryFromYamlFile\u0060, \u0060ToJson\u0060, \u0060ToJsonStream\u0060, \u0060FromJson\u0060, \u0060TryFromJson\u0060, \u0060TryFromJson\u0060, \u0060FromJsonStream\u0060, \u0060TryFromJsonStream\u0060, \u0060TryFromJsonStream\u0060, \u0060FromJsonFile\u0060, \u0060TryFromJsonFile\u0060, \u0060TryFromJsonFile\u0060, \u0060FromToml\u0060, \u0060TryFromToml\u0060, \u0060TryFromToml\u0060, \u0060FromTomlFile\u0060, \u0060TryFromTomlFile\u0060, \u0060TryFromTomlFile\u0060, \u0060GetClone\u0060, \u0060GetClone\u0060, \u0060AreObjectsEqual\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 27 declarations carry 19 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 19 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Data/DataSerialization.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"49050bf247b8e43bea1104bb1b34a34c5fe94c9631eaab01abcc4611366dcb76"}},{"ruleId":"C2","level":"warning","message":{"text":"Unauthorized service host: Service contract \u0027IPipeService\u0027 is hosted over NetNamedPipeBinding by a ServiceHost this repository opens itself \u2014 every operation on it is reachable by any caller that can connect. (source/Playnite/PipeServer.cs:93) Nothing in the source decides WHO may invoke those operations \u2014 no [PrincipalPermission], no ServiceAuthorizationManager, and no guard method that refuses the caller. A local IPC transport is not an access control: it authenticates the connection, it does not authorize the command."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b9713c0660354a5ce09bdf6b412f0f5b8e966591cfeba70d720292b10d28cf03"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/FullscreenDialogs.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3005a4895d528f4b4181160b9d0c4db26e73f50867c775be83372b5dd86d1752"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/FullscreenDialogs.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df2f11eb60d4abca5f346d556de10b1791d87eae90f7b65c873237a0af7c621"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignNotificationsAPI.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cd740e7e6e509d50ca6601685c04478dec7161cd5bdb4f072ca2cf7f14f5dc"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignNotificationsAPI.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c352fd4ec66e9966c6f49ab11d8a28e45037a00677557003775a7b29492031"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignNotificationsAPI.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ce9e81d07f650fc66cf2b92741ef494022976b95989aaa13e75bb39fc059cd"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"073210c4088fd9e38ac2ad7bade3eef01502d57d6ec271629a9cda3d21348ee4"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3997beed9aa5cf11a46926b3b88f3caca55a07bb840ecf49795d7235849bc521"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23f1d67481c3c2b17ca4f28e59f5bf7cf0fc429d4dc4d539bc679d32419911b"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3337882228d4130c86ec866600895000af144a9acdbaa6cfce492fcee0bdca0"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e571a8ce6f57edda675beb67fa09b1e977183b892a97c5ffd5e2d6cab8e07a1a"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9a5aca912bd21326e9c7bd029ccfd5d2a77639147995d9a08f49ff8b00cad8"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d63e1bc1e1b821731360bb6fda9b50271b9fb70947b0be619703b752943fbca"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db4010cd7d235a9e5104e0d52ebdc417f3f863c1c53e956e308708a7246cba1"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1516a9768f453f7253d8e2d6a52e5bd427342c4b4d9c57aaa41cbacc03c93924"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cd878c9063ba33218549b52299c29549debf382eff6ed064910cfac014e7e9"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"501c662170cafb544565124e3323d9826b7cce7ec5ba1f38b60e6913c0bc1e25"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cee50b9a71ba13ac54b7f472ab50662f6c53c3f11750a3aa7ecae918b15c82"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"147e75757d10f195f935580f0bdde9c3ba5112b4e7ca8f5272b2fd63e825f5a9"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3ebc66055c464be6f13978450d4aa0bc3d52001a95d533abd3b47b9a70a597"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2116c90cba20d66b792377edb146f08f2fbf9d20c4b7f09a5020ede47ee431b7"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed4372671905c2c6e09c7ebbf7609f9c7524b1c375cc7748766e54630a6f05c"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3b7556fe5c3a6886416cf31765c2ab774f1af4545d62961727326f7c1ab258"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d60526712dd8d06b4904399c5f171abd41b6e213f2bf974c833f44851ead8b7"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f34eb2546642157e26353ad83a6d3cc6678df504dd858c72aa54ca0d700c1d"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"55016b2b8053536e94de0c5f1ef172e928b519285115a99c626aa91d2dfc8c3e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2fb3959df9ca4d403aa88dccea947376a714d48b44e3edd8ab088482bece7a"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb1dbf1a6f2900bc031d47a86e5ec2178638cd4a80c74bd1866365226544de9"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f222dafd2da799c7846df20b416a3a2545166d083e7096b99053a95498fac298"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d4121a03d0b8908eaf5659fd5f48a9a1453e2220bbe93e98029f00b9b687f1"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Converters/ICollectionNullOrEmptyToVisibilityConverter.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"444fa0197cf9d1b76b309c294564da2ee29c31b74ef730f80a3665a3c568eadf"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Converters/NullToVisibilityConverter.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"65040b33cae644a0e44691e5832d00f6afd713222aa6d417b265fa102b02e02e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Converters/NullToVisibilityConverter.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebde2c1269d9d51f84309c7893f0eb02f6f57f4604e042779962ec41c8b0e8bc"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Converters/WidthToFontSizeConverter.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f036635818a66ce2c81d7185330ef5d9763c3dfd5447eb0198b9c59febd636c"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcde0475a2f08d4346ed688ae64fc51fd22762501ec3b659ea025a722fac6801"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2fff8452e1e8e8453cb909e8f8e935010dc19ceb2ce25442333f4d4bde196a"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8575e54095007e120208e5900763212a25fa29cca2efe439e9c80174eeba3f7"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e187cf16b4d91db2b45122fe3f8e03a632215784cce0f7f17c1f5833df0ee1ce"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1deadf4c85ae347ae56f1bc645a4311d761c7a851bc172576bd6b7d5b3b92e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64a839e8150c2bd14f9ab79121f21fedebfb618422c7541b459bd43f3f9f136"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"da27a2f52f07b37d089b819ed494e08a6cd56e3688d2b6eafadb0217d96d7935"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48c4fe04136c53d1a83689f3501c4eda84a4fd816a93431575851c38a93a3f7"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9a3bdfc2258decf24cba01699f2395d4971f3a8064c131e932a429b1318e4a"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1be2367968737ddc3322fdad9690f0b04f7eafa0aab3837092fd7d1103d8625"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1c30f5f5fb74605a9a0385652291aae6f5bb8076f05906648a96d3b75a706c"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a13623726287f49f572381b94eb74bf7953730284c21bc8164f0553bc95381"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5b3e57ce7a2a7c7427ccebe1769ade2c89f53f86fd50dbbb5ec361489a20b5"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"90157559dd441a05370272e256dfcbfd009299d4f98e2a039b9f30030937961c"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f19b1219c108fe0ac0e977f3c36a7c159f8df9f447185643be1f5b02b8f6c0e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e760d611609190162cf9b145966d97b8ec3e1abb3cfcf981734905994c61ca"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21adc13c74ad83e10b1782ece43266f55bd128950fe43b956be50d0041b75f6"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5accb429aa0d3b19d450aed8c57594b54244ec15f60a171e857ea631652b40"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e99282c45711d3a2b48f9f0ff18ccfcf5a4b9244a436937d733169365e1a70"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"776f31d4cc92fb4310a13f05730a4c995967e5cce58595bf0d14e815ed3c2084"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8608d57425c9a4363518928f2e6d116c16e79ceb0c32b2fe8681fccc45a4fb9"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d017871f0dc0524d1d8e4e5d1bb0417bd1f52da928358e6006b706dfca6a02a8"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"17723df0c04750a48f46fee4803d29b2476d4468e8401ca36bebd30581d9dc8e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddbbcb48e5b6f2e44b428663fcc0a133edb7bdfa66bf6a764288c84004f2f56"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bae3cfca074e9661d86c914a066b21ef55ce9969e6380ba171728d59ccdb57c"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"35292cbe7d5631613735b337df7be673e264c765e18d867e1e7afdd0d8080c16"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"769a3755b1d0c1e7f2eb0d84acc0df2a8801974c19b930193d2b547823443e27"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16d30db76a6c2f83ed82850f4d5d5cf3ab137cb3594a008777fd8543b5cbb51"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce12b7496e147b44b4f451d87295c1c0dd9468bb090e64fa6261199067449645"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"69397fb59ab2ced4d3ad2b489a149e07b2004c441d40188b53be7eeefecd4e57"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e912cbd0ef1e233e385542c6bad93a3d92bc64336953ba6f368308e814425ccc"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ba2b3cb3b525dd33564a11547e0d57032e14b83a51735b09ac85a51893a6d9"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acefc3ffdac8c6e46af6c3fa9e8e8b38d3999536dd19a4f827a6559b04ceac5"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c342c7a0ddcc45da4444f273ba0f6d2c9cea68e3afe795693243b758f00bcf"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cb4860662817a939977bfb4bed3550d848a630f4cca3749ff280fcacaf5a1b"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"184da9669daa83c30ac4ab557b04d99eb36599f138f5406f7b8cc26d43a1cce5"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/FakePlayniteLibraryPlugin.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3f8393f028c44a2cb97df17b3565dedce42763083ddb2694bd25138636d6ae"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Scripting/PowerShell/PowerShell.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8186b945d1d14c951dd04ecadfda1ed9a34c56eccd21fb3e523da3661ba5ccf0"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Scripting/PowerShell/PowerShell.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12719771c52f8ef178159a35c3f47dd7b71106c9a6441ad97500264b9c93f56"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SelectableItem.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"34997f43017b164b2f6bfb1446e17be3c9145d607015b985426f983e17d50255"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SelectableItem.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f944f2c59702c56b9889a8b7c510565a7396ebff1686404959f190499f54df"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SelectableItem.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fad15b387345488890e173fd009661b29efd5f1436870f4b5de5193bce33307"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SelectableItem.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"375337deea6380b0ce202d984eae509c178372668817d25efcf5fd0102cfee87"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SelectableItem.cs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"9feafd9f80497148352092d22890b5a80bf26de837128fecbc1c6fdaed78aab5"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SelectableItem.cs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"377a9091ed335cc2ab7ee223676f40db56388eb9b066e0ba2925d90c2f75a7ab"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SelectableItem.cs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82762e07273888df26b2f26ce26100f3300158438f77e6e463edd9c6c86cff5"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"04852eded65ba41c86e3e0a851c4ca93662c797a700f2305fb719e55ab2534ba"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"204d2c6f473ef99786713e7cf0b1a6c8483195dbfddae37cd9b5bb38aa2dd050"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tools/Playnite.Toolbox/Templates/Extensions/CustomLibraryPlugin/_name_Client.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"82158b27e4ef866b596a0cab27b458d89b407de394d1a4337a3cce4585f0a934"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tools/Playnite.Toolbox/Templates/Extensions/CustomMetadataPlugin/_name_Provider.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc9f110dacb8b56bb51d874fa974c3d4fb0f251a546619d8564f7ac9eb1e845"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060SliderWithPopup.xaml\u0060 wires an event to \u0060Slider_MouseMove\u0060, whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/SliderWithPopup.xaml.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a675f2cc7599f55a2b928bd2688f279b18a33027359c7b6a0d8954239aa28ae"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060SliderWithPopup.xaml\u0060 wires an event to \u0060Slider_MouseLeave\u0060, whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/Controls/SliderWithPopup.xaml.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"276dfc3a240f159eed51c442ec50220a4b673962709799646eef4b89c8c4501e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ChooseImageFile\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/FullscreenDialogs.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"216f503130a379875c8f217c5318e655e5d73e88da749eb67c9b02e1e5fab0c4"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ChooseItemWithSearch\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/FullscreenDialogs.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bbb76f9eba2c4c2aefbd63c097931ae26416406cec3a7c71f4f7b7add53d22"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Add\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignNotificationsAPI.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89ae04313deff5317ce6ceafb4c68eb7e21c7901de83f2df05b24d5256e1039"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Add\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignNotificationsAPI.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"565421757f4b5dbb616c1f7c7b634fcbf529000ae1d341a198fea21d4791d4a1"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Remove\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignNotificationsAPI.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea50d860a5dad64b89d7a0a233bf64d726978f9020f2cc788eec0f8b5527dfb"}},{"ruleId":"IC1","level":"warning","message":{"text":"Skeleton type \u2014 most members are unfinished: \u0060DesignPlayniteAPI\u0060 has 24 unfinished members out of 25 declared members (methods, properties, indexers and events, whether or not each carries a body) \u2014 a scaffolded type that was never implemented."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2705f2989d2240a622dbf7e346653d2cae88b0682558c046444a447dc7bb0ae5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060MainView\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b32dc857370c38a473f6e14d3d9bb6188f4923ba67b6917b96e64fc66cd8ae"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Database\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea3cda5d06fe5f21b864d919e79b2a4a6d347354f11eebdde6c418296c0145a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Dialogs\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5876c9af399732b2c11324f3e605ef388b6612732060b1ee28e1a2dd2f14748d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Paths\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42e671dc99eb71cd7e0974c671ad7e4c10699a882caf9031cd4f4c92503b117"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ApplicationInfo\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5dc2812153671e2c06b7e01d00971f234021422507230434cf3b7bafe798eb"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060WebViews\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"eceef586222fc4bd3513f317e3370293e3fec0db07a671808d0d4ca2c2b10919"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Resources\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4dbe974aac217e75f8409a73052d80173e57d3cf234fa94851ae7c0041864b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UriHandler\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"018399bc46276a9e189dacdbfd2a8162d7aa7ddd19261d6b1b130df062e002e8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ApplicationSettings\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d62ef50c2a0826655ce463034287dc61b4e74e2b12b5de2a0d072686b2b367"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Addons\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"47230541c9775aed8449607974c1ab58c5519a9175f1c17a0e79de4de275577c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Emulation\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5513338726933573d12c758075af0546acf2c784c0ea60f199731d670276597c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060AddCustomElementSupport\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1653080e06d3dca7e6a1ce337462137efeeccc882903b4f12bdf726ea5abbe"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060CreateLogger\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c53326e1149e929a9f465a7b02efc92320960491a976b477f253a7f47dbb899"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060CreateLogger\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb083593a6e30ca8ea77e776e5c3bcc60bd606e119f5788af9a8bb8f47b6172"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ExpandGameVariables\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bed34ed6cd5e5cfbca24c92a3a71180947f5d34bcac366f101c2cd0df220a32"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ExpandGameVariables\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"517585e61833c6c92c86fbda11a1aedeb5efb22fdd3ef4fd51102cb0aae8fa8a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060StartGame\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf3e695e482c54b57239d237d8987eef98048c5d6fa9100806461d516d97698"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060InstallGame\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db9ff2a74fc1840ba6ff9158fe9975c1e2c35640371b5aa8b65d778a242e978"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UninstallGame\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03db7a6406df5b424a86c9e9a24ae66e2ed38fd41d830dc6e5dc17584980a89"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060AddSettingsSupport\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df9cfa734140237bda8482a4ce42d7fbd8cc36740e825c14500c6b7b3bd2d99"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060AddConvertersSupport\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97f2744fa14e7c381356ea1383fe30fbc1eae9a9a9484a2d7249050aa563062"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetConnectedControllers\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f2496785b1d72cf2f5e52ef0e59f6cd9988aea309b3e41264d6ee64bc14e0f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetConnectedControllers2\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad09652d34153a0fd4316228d6e041b94e8a2f37d9490db892cbca0b2ea94da"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ExpandGameVariables\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/API/DesignData/DesignPlayniteAPI.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd948d823c5cb1a9f1080cc7282d2ff1c24e97030730fcfe578a365d64e8793"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060cancelToken.IsCancellationRequested\u0060 is false, because the guard on line 39 exits otherwise. This test is therefore always false and everything it guards is unreachable. Implement the distinction that was intended, or delete the test."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Archive.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2d141f4d46032b25d967c8cf8b26f294a2f92f9bfca7c0762b3b515f24026d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060cancelToken.IsCancellationRequested\u0060 is false, because the guard on line 39 exits otherwise. This test is therefore always false and everything it guards is unreachable. Implement the distinction that was intended, or delete the test."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Archive.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d616a1e3c2bbe8d416f8f74e61e03dfd6214b3c67e5d1664a0511125f70a8445"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060cancelToken.IsCancellationRequested\u0060 is false, because the guard on line 39 exits otherwise. This test is therefore always false and everything it guards is unreachable. Implement the distinction that was intended, or delete the test."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Archive.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b05048164af5e1319bece06b50e4babb8542d1b8c0c1fa2604d8ceddb211d5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060cancelToken.IsCancellationRequested\u0060 is false, because the guard on line 54 exits otherwise. This test is therefore always false and everything it guards is unreachable. Implement the distinction that was intended, or delete the test."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Archive.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5947f6192a47c0d49834c7b8170643777d7cfd6ec9e20524a1c7cf2de7abbd83"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060SoftwareApps\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb05652d4d66d4f5b77c88ad798c44c90060e257bcba4db8860bb50024d38fd"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UsedPlatforms\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a244e239313a152491aeb97f6b1a82b94f19c37d2bf69f014fecb0d7b9f5e02"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UsedGenres\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a8c0bf36cce6469a64f714bee1397ddc711cbf10a354edee2694757d28cbdc"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UsedDevelopers\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"292ea65e30025edf6c9bb538d2f097269d34ea13519a8b0291b92a2813025726"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UsedPublishers\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"306709078778ae74941a0391a5840172e4a3e0baa6941be8376459caca609f2f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UsedTags\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6a5c75f85569d62fb2e51ad016cd2aeab14191dc387e35f70b21d2b8641f8c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UsedCategories\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"52283f1b2e5f8a742f1f62ea5173ac6ae957c31f85a1837267e5bab111085067"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UsedSeries\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"02aea90db9d46b913af6a5b5ab5c67e979a13a6e1c5e450208bb7fd458d31f84"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UsedAgeRatings\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fe216b68448a3b267f15b2a81efa5f79dfa1dfc9476aa646ec54a61230d3cf"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UsedRegions\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a7d9ebcb0686f292781392193c7e7c9cf1367fd8ac0b572ab404fc1f3c1aae"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UsedSources\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1385d51e9efd2304f38ab0237e26d8bc61b73c9f1cdebbebe1d6cef56b9210"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UsedFeastures\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad6013c09be2105058de4d71d13c2c999ea5d0a850f3469467aa114e52d635c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060UsedCompletionStatuses\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fcc34e63649d76ad2edf23ad9d5a28ff3b764567b42fdeef511b85731904aa"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ImportGame\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11186fae8de407447e7e5f2c9e93d2b990a2a2d88cda05e8bb1c124e3d0364f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ImportGame\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6570f5361fd2623293b30b65d0b2222a0ab78c65b5de83e51659c438a2248e21"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060SetDatabasePath\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf4954274fb5da38e35ee563136741d192ca674403578e31ba92e14b420bc1a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetFileStoragePath\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0d86d94703c05ec39af55b773414550146fbd8ae471ef40bf7f7eb8289a025"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetFullFilePath\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d813f7589cd09276d0e69bf7ccf50e42d40431f445655b2515d6c69fb8bb36d5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060AddFile\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"720fd28eda3a89f593363b6fc183299ae17dac7e6bfbd46a438528472403dd1e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060AddFile\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8decfd2b26846b32f48c7472110c74d2dc6c53bf177ec3e2400f9b92f63f1a8d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060RemoveFile\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"919267ef0a2377a464497b42127703f0dc998e5cbd8822f9465ada05a1a53ab8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetFileAsImage\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"559b0a105513ccf0d92ff92b6c92dcba3e6b6fb7ba921404e8d70c3ba56f6773"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060CopyFile\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09895c823769f9a318fc9af0df79eba4576c721d6148dc38227d9cc2169cbc6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060BeginBufferUpdate\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f28349eebf1228b202e22db154f8a8b4f86ef61b7b722d8b32fd9fac0f0885a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060EndBufferUpdate\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa17f5d33cf300e22924e662e27485ec34cbb30b3caf35bb015d859829968dff"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060BufferedUpdate\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c43cd64ecaeebb637c8474b620d6977965b1c91f6e66f9f923997977e773203"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ImportGames\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12666fb2ff268f3a0ae2cbe440b082e1935abf178fb7fb20812b6c033fb966b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetSortedFilterPresets\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad88b901f0613b19abc0e80046df173b23c3e76f3bb156fb363e7334861c10b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetFilterPresetsSettings\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"017d8ff54583f7cb17071a0ce44ee8e05c4173ebadf007a5dd887150dcc0fb6b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060SetFilterPresetsSettings\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f6fe73c0e1e4342a6af45d8c4fc7826185b8c2929f222c992518170b5b65d9"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetCompletionStatusSettings\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bffd1628c5fa37bddc1ddf24bf479c7bcc104087b0e996b229947b263f8be5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060SetCompletionStatusSettings\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e0c36757c62f8f1f9a8ca16e715123cca74661009070a40db71a909e562a5f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetGameScannersSettings\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4d9ff115fabdb56e635797ccf5ff8e103eb547aca0f78b5ddf56fae13646d3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060SetGameScannersSettings\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8751d334749127d503ff6ff8fc158122172f956edf720b660419bbfe08423051"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetImportedRomFiles\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b337abd771776d8c04eb74715f9d4d219612efe3ddacae5b40aaf33fe755f7bd"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetImportedExeFiles\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/InMemoryGameDatabase.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8023a6be7f1677862af7cded946d988ba448ffc72908a02e2bb0042bd704eb80"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetGames\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/FakePlayniteLibraryPlugin.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1061deba3bfd4c48d136254d9b82642b6ef5fcc749483e832ef3bcb2b63fa6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060startingArgs.CancelStartup\u0060 is false, because the guard on line 327 exits otherwise. This test is therefore always false and everything it guards is unreachable. Implement the distinction that was intended, or delete the test."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/GamesEditor.cs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a0a0d5afba48f6f0cc56008337f139d78bd121baa80ccc31e20af57c8f9518"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060startingArgs.CancelStartup\u0060 is false, because the guard on line 327 exits otherwise. This test is therefore always false and everything it guards is unreachable. Implement the distinction that was intended, or delete the test."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/GamesEditor.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"872ae460f59f8a5b5808045236212997c48e4e9f07f8bb6f15de82155bef4b85"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060startingArgs.CancelStartup\u0060 is false, because the guard on line 364 exits otherwise. This test is therefore always false and everything it guards is unreachable. Implement the distinction that was intended, or delete the test."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/GamesEditor.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f4ecbc4e3a088eec6a502d6af8067eb58d050d2787bf5ca5615ed4a40fb43a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: The \u0060if\u0060 and its \u0060else\u0060 contain the same 1 statement, so no input can make the condition matter. Implement the distinction that was intended, or drop the branch and keep the body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Manifests/ThemeManifest.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ddf26c5c3805a92e98813b6819eb76ac0eb363303d8aba941037c146d4231d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetFunction\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Scripting/PowerShell/PowerShell.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e64c3b158d6b75598719121ee201df02e7e863394476665a1e200011d2393f5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ImportModule\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Scripting/PowerShell/PowerShell.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a279e166276fd79cddb12667d2230ee8d7444b48923b7e21f6719a42658985f3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Contains\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SelectableItem.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e847184a7f53f563365f4e5e5c2e09f2d8f0941c83bc0b89d6cf1820485bd059"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Contains\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/SelectableItem.cs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c229d72d35e1bb9d52ef2f37f8ccc497534176cd8ee67b83861cd3b9d0d7d06"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060token.IsCancellationRequested\u0060 is false, because the guard on line 623 exits otherwise. This test is therefore always false and everything it guards is unreachable. Implement the distinction that was intended, or delete the test."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ViewModels/MainViewModelBase.cs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bb4f5324cbee49a9be7b6ea1b097d0fa07f22f5e7e9173c210c297e91c068f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Open\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0de1a8193eecbd37b2a16a51f062497b8d63f267f21b0134f0303843a77d4b1"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060OpenDialog\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac62bafa568ec70f46f648f588108cb48a48c3aba525b836f79476b0cf1b9579"}},{"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":"source/Playnite.DesktopApp/Controls/SliderWithPopup.xaml.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3543d828310fd73d8d332796a226cb3798a3e46cc0f715ab76b7653e3c5bf009"}},{"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":"source/Playnite.DesktopApp/Controls/SliderWithPopup.xaml.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd5e7cca63c1a5b9e08edfd394c87b790f6cb7447280c9a29033779a6063222"}},{"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":"source/Playnite.DesktopApp/Controls/SliderWithPopup.xaml.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fdbaa4d5541d0d1549cacc2513c1709fb8b906b0a08b76803c5a004446ccf8"}},{"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":"source/Playnite.DesktopApp/Controls/SliderWithPopup.xaml.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bce21ebc79a3ca34e7abbf83c6c9dffcb7ff9aefb4c7b2ee0b52ba6cd1ce1e1"}},{"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":"source/Playnite.DesktopApp/Controls/SliderWithPopup.xaml.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e84c7487e415cd1cf12d702759609ca91052fdd0b7170828778ead2cb4e95be"}},{"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":"source/Playnite/Common/Extensions/BitmapExtensions.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad13f93383afecf41b89ca4f1bad5bcef1770c702a52356abc245609fb03690f"}},{"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":"source/Playnite/Common/SafeFileEnumerator.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"29901c434f6ff124cc4ff2137b821ef4582987c357a6c5c3efa0cf7689e0aa16"}},{"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":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5653}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83154886e4201bb0a013916bfa903a2fc303964b26ef972a8563d8f9ffb0491"}},{"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":"source/Playnite/Controls/WindowBase.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3255fcf9ff9766f20ae1bd39097b4a74bde78d5b1a4f117188101ecf094c967"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060Add\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/EmulatorsCollection.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e26474b9ca08998344be0680466e74b7d2ae5505da80eefbd713de3692aed3"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060Add\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/EmulatorsCollection.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f31d9a0931686d4f43d8058ec4d8a0fa9a7d098b72ef55a53ca3a4be6a031d"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060Add\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/EmulatorsCollection.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df8a50616179f9b7f5c1b4427a2edec9c90c7a4fe4afda9f3183428738cafe0"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060Add\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/EmulatorsCollection.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac71509a0dd3870a163d746d9bfb59146f0936c20f27477f6eefd15660b01a0"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060Add\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/GamesCollection.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc2b6221b511a718ece1c248005d86fa1faf2ad394c08e109b4046886c18953"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060Add\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/GamesCollection.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f610afb61bdf7ae489c2ae2bf52f4b91a5c1f1fc14213d90eefad79da0ec1d"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060Add\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/GamesCollection.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4b1c7168451f396ffb6a2a02e587db838b70e015aee4193a67f2e3e2e5da48"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060Add\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/GamesCollection.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bca494a1b51a4732c807a36d82be4cf37f40fdbe013f087b5ed2b7a4c305bf"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060Clear\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/ItemCollection.cs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c82aad5e013415b028b6e570e9f59752e2c9cb9d1a56d399b2c6b5c30902d8"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060MigrateSettingsConfig\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Settings/PlayniteSettings.cs"},"region":{"startLine":2656}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba47d3b385b422cd229042c6b541739e8f2b53bb54639f6c36b62d198d13660f"}},{"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":"note","message":{"text":"CI test execution not evidenced: A CI pipeline exists but no test-runner invocation (your stack\u0027s test command, or a test job) was found \u2014 changes may merge without the suite running."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"860902100b1c048f49c648730bdf23459de2d8ca6af82ef0ec593ecb3995a80c"}},{"ruleId":"P12","level":"note","message":{"text":"Sleep-based test synchronization: 10 Task.Delay/Thread.Sleep call(s) in test code synchronize with background work by sleeping \u2014 a known flakiness precursor on slow runners. Prefer polling with a deadline or completion signals."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6a03a2c4f0cdb020131eedb5050e85716d2d15c3e6c049458617ddd83166de9e"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 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: \u0060source/Playnite.BrowserProcess/Playnite.BrowserProcess.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":"source/Playnite.BrowserProcess/Playnite.BrowserProcess.csproj"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9408e002b12ed0a736aa2cb8d644a1250f1620000da0df6a4bd6375b3441317f"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: 22 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) \u2014 these waste a thread and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2dedb76432d7d4f359386b5c37564c0f3de368182a77e31aa8af9ba73f9a4def"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/GoogleImageDownloadViewModel.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8f1b04631304fbbf87df938c00c7516890c2c280a6ca620ea537421c0c1897"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Extensions/BitmapExtensions.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8657bd0710dbdf4ccb4ca7f2491a6b9cef74e2560b870cfb23284a4a3bcb0d0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9760f67d09eb2a1222bafddb8d595016e9e65d82a9882afe1698464fc8d7cacf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"21568ce12ff338cdc9020c890d62b9947ee8d97b93f2d6fded91923c3e5ce332"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"858379d25ee4981a4f0c317d6bc4c3eee61111878b5ffacb1d66105ab885ecd0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8b913706dc335281caa8fde73ac5fe2a332f3f9cf1776c747bea792004a487"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64ddc719ef7bd3f9cebfb7ad39c636b153549530560794b8b037ec7d687133a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cfcbc1c6d4a11ce5acde14217b9d21803f0eed7c72d252c2e2baccc3857b60"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Web/Downloader.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee4f444fe4b07c55f99d37ae332a88a28388eaac931a209b908572a4b5ae8cf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Web/Downloader.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"104ff850abed018535c774a0fb461c26ae7c11172dd50e697e7609f882306f73"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Web/HttpDownloader.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5324423084d0d46f8faa7f7f82a0785a5138ec8b4b52b99dc2470c740cd25a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/GlobalTaskHandler.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc729617701b4d646948a1a6a371fea4ad8fe3a64c38bfc6ffb9fdc6b863e70"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Services/BaseServicesClient.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4964f8e10813974fc7dccf747737f51ce6b0bfc97eff71f035310dc4f2f13b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Services/BaseServicesClient.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05e23cfb36d382a16c1b28033e97ca2c9721e04bfb4205bd0fd29a12263df0e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Services/BaseServicesClient.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1583874766ccdc00bf30fde89cc9c6b6ac0da304da58f3003797b86037716283"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Services/ServicesClient.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a1a03a040974d0e4efec0070057f74d5146c289f23833c04c241f31837b3c6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Services/ServicesClient.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e76059dfed9fa2907a5b7690927ec3c5b89d3c5c30d0c1db72c3cb112f2f20"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ViewModels/MainViewModelBase.cs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dc0581d2b5114477a4291fd291860678be84d2fcdf800934df7cb8c77c2d86"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec87b5767595e8a93552831ae9b8c61f932dc99720f69476e6885d1f6b58d973"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c13559c707b04fc15165eb5b22518439e38d43e12f82f67f06bb9a99debf760"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/WebView.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b4eb1b94dd6ed86fbe83e07e99ff7815b6442a2edcd9622e4884b56cfaf46f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/WebView.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ded3d95a9c2b665becbfee6c53ac3f82c55892702ce45077f4744b2b9c944a"}},{"ruleId":"S1","level":"warning","message":{"text":"Obsolete TLS/SSL protocol version enabled: \u0060SecurityProtocol\u0060 explicitly selects \u0060SecurityProtocolType.Tls11\u0060, a protocol version that is broken (SSL 2.0/3.0) or withdrawn (TLS 1.0/1.1, RFC 8996). Offering an obsolete version does not merely permit it \u2014 it is what a downgrade attack negotiates, so the weakest version on the list is the one that decides the connection\u0027s strength. Stop pinning versions here: leave the protocol unset (\u0060SecurityProtocolType.SystemDefault\u0060, or simply do not assign it) so the connection uses the OS policy and picks up TLS 1.3 and future versions without a code change. Where a version must be named explicitly, name \u0060Tls12\u0060 and \u0060Tls13\u0060 only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e748cc43aab26ccfcadaac91d44657f97372936181e52d383c438129f47aea74"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Extensions/StringExtensions.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e67aea6a0f67cb86bc649014bc9a172a89e5066f441b64cf6110a343fbc315f"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem_Checksum.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a18123c208cb4d706a41ea3932b8122b7155d18d8916b58b15f70703994b43b"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Models/ImportExclusionList.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea7f79029b9b8d550e8d771c018bbf03ee3520947807ced490a4bf1e93e7878"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OpenMainViewAsync: \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":"source/Playnite.DesktopApp/DesktopApplication.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a760a3dc74a78430e161e979e6309e549753a70ff3b335050746df1c95d45eff"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: DownloadMetadata: \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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ef6cc5b013068295af66a91644141b7cbf311fa2fcaf28081f007b4a5ddc85"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ImportWindowsStoreGames: \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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe890f892e03afc8d56cbf27cbf9f08617ff25fb4b25bd723e1e330eb822c9d"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ImportInstalledGames: \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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"7747ba02b4fa3f74e8b433ca4aff069d20ea103dcfc29b690c30ce02aa6c40f0"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ImportEmulatedGames: \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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"20036b4b9e8dc2dbbfdd4bbdb071375cffcecddbc1e9610bd4e776f42c030a01"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/GoogleImageDownloadViewModel.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"266353a0e4f1e4db52faa17d4744a7f9129a2932e748f489e3c0d501957b8251"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OpenMainViewAsync: \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":"source/Playnite.FullscreenApp/FullscreenApplication.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c8758c2017f0400471fc1b235bfc02ba90272437043eb8677bc76535fde9d9"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: CancelLibraryUpdate: \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":"source/Playnite.FullscreenApp/ViewModels/MainMenuViewModel.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f476ca3a47ea6ea0ce6eb3ae00b88156dfbfae58e565735e3e6b24bac5e9137"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Extensions/BitmapExtensions.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d142ccfa9b85ad7626fd42439bf1163e8a742be862a0cb26c73b2f6b34bed13"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c928b7bbce47946e97b42efa54f1a45f5e3420a443761a7cb6c6727e3425362c"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ba926976fe7fb9ce020201216c47a5a9e46180eb082a63f495a11dcc947941"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf037eebec62da1f48e6e36d135d2d6e56e02f8b3476751076dab0ebaa66f000"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f96e0af1319d259688683a7ece9b8a235df2af82f24c9731e52fecdc4f11ad8"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d889c489deb7313df99b8fb56f89eafc3a201766af6bcc5829faed6622a078f"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9aa953e7fa124b76e712b1214d784b0fa2a51300fd657943b492343eceaefbc"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Web/Downloader.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3b0e01d48b29a9cfd399018467c74656e2a991afb89927bf7e643ad57c0a76"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Web/Downloader.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0780eefa20cfb9009c5b6ff5445b8598b17224cd5088eea0eed74897c3a4190"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Web/HttpDownloader.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fb2846c1ad2a319c310d488bc10740fd89899a0f8284df9c8a8029586f3eee"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: LoadNewSource: \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":"source/Playnite/Controls/FadeImage.xaml.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c4435c30ad0edb1eab2b380a4ab9624982aebadaf8953fb2871937b295ecd8"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Wait(\u2026)\u0060: \u0060.Wait(\u2026)\u0060 blocks this thread until the task completes or the bound expires \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread while it waits. \u0060await\u0060 the task (with \u0060.WaitAsync(timeout, token)\u0060 where the bound matters)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"442e00517a9a1643fd5a62275f033109d4ae01f2aea66f2593b00d90cc35918b"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Wait(\u2026)\u0060: \u0060.Wait(\u2026)\u0060 blocks this thread until the task completes or the bound expires \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread while it waits. \u0060await\u0060 the task (with \u0060.WaitAsync(timeout, token)\u0060 where the bound matters)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/GoogleImageDownloader.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5fcfbd25a3d6906cd17e5b81cbfeed73c618d60da4399a0ccbe207fc16932f"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: StartWatcher: \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":"source/Playnite/ObservablePowerStatus.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"649003385d166eeeed00038b7d4c838f22214152754337fecfdfd9dc2f8c778f"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: StopWatcher: \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":"source/Playnite/ObservablePowerStatus.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f1831edef28ab19dbe99742684a3a3a87b7138cad28c4ec2be5f684ee0888b"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: StartWatcher: \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":"source/Playnite/ObservableTime.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d3a7a9c3928284b254ad9670796eaeb9c60bae1f94a36080f700302aaa1ec3"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: StopWatcher: \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":"source/Playnite/ObservableTime.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4d418754ddecb9ecceec2efcc7f4685305d4b690bc10875348d85615f84d74"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Services/BaseServicesClient.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7aa555d18fb88a34d3c67d2589b977e0df83035d9f43b0b4bcdec3c93b6f51"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Services/BaseServicesClient.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc6b64a4654101566178b389a02f1840a0e082386c697ca385023a232e41610"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Services/BaseServicesClient.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6801af19c37f9119ee39b574909541e92de08feea49a8c746b4fd754316b387"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Services/ServicesClient.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc218ed68057a6ed7af42f1c08dfa5e94c66362b2e7fdd1fb469d6b518b03ab"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Services/ServicesClient.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"05afda9dad99403740b911408ec8b79cf242d95cd132226b7a2466a51a442748"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ViewModels/MainViewModelBase.cs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"a852551aa718ed677d266ca327776901edae55ec8bacf761432a2ae901d2f009"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: CancelProgress: \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":"source/Playnite/ViewModels/MainViewModelBase.cs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c9a3b962d7b81ad331dac59bc2ebbc2ac4afd7ee77a2bbe978fb5ded2f4402"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Wait(\u2026)\u0060: \u0060.Wait(\u2026)\u0060 blocks this thread until the task completes or the bound expires \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread while it waits. \u0060await\u0060 the task (with \u0060.WaitAsync(timeout, token)\u0060 where the bound matters)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ViewModels/ProgressViewViewModel.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b320b6c62719b9f5dbb6d8e8949aad0be3b5da8f1ec3743eb0f909056a0bece7"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: InstallUpdate: \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":"source/Playnite/ViewModels/UpdateViewModel.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"29811fc747d844633efe286cedeb75cb0370f7e930188d5a053eb7906c218df1"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Browser_BrowserInitialized: \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":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84dae9fa99fe9ef2be9d520181c415ee7384874ea726ab32df177dccc5fdbfe"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b57784f12641774bb5f77db99c596d6832171bae8b9d5506d766b1b798f9ce6"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"108f0177cec094fe5aee409df789a7e119753be235a89d5d0f69d90849950370"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Browser_IsBrowserInitializedChanged: \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":"source/Playnite/WebView/WebView.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9d75e89db6bc9857c6638cfd3da50d76c6d76ebf0df9e9886a559b16541e77"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/WebView.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8226a1f0d047cbcbc868eb6ebb080716fa5b2e8d15a793435c11d25d29f164"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/WebView.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa1af65e3c2a3e143397ac4923316e486d5ce7ae08a0f9fdc0d795beab963c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!dbItem.Icon.IsNullOrEmpty() \u0026\u0026 dbItem.Icon != item.Icon\u0060 appears character-identically in 3 files \u2014 source/Playnite/Database/Collections/AppSoftwareCollection.cs, source/Playnite/Database/Collections/GamesCollection.cs, source/Playnite/Database/Collections/PlatformsCollection.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":"source/Playnite/Database/Collections/AppSoftwareCollection.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"244a59cf490b5e5035fb223c5b467b7c5d16babc6ebcefb13523a1b0353bfdc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!settings.UserAgent.IsNullOrWhiteSpace() || settings.ResourceLoadedCallback != null\u0060 appears character-identically in 2 files \u2014 source/Playnite/WebView/OffscreenWebView.cs, source/Playnite/WebView/WebView.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":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8132620028315a4635d5fcd4202b0a86ed42aaa2286c2ced96c9e7bb45383b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(itemIndex \u003C firstIndex || itemIndex \u003E lastIndex) \u0026\u0026 itemIndex \u003E 0\u0060 appears character-identically in 2 files \u2014 source/Playnite.DesktopApp/Controls/GridViewPanel.cs, source/Playnite.FullscreenApp/Controls/FullscreenTilePanel.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":"source/Playnite.DesktopApp/Controls/GridViewPanel.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d3a81c78f645a6cd844c3e5b89ebac09bf655f56adf5b23fbe66eb9613e7a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Computer.WindowsVersion == WindowsVersion.Win10 || Computer.WindowsVersion == WindowsVersion.Win11\u0060 appears character-identically in 2 files \u2014 source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs, source/Playnite.DesktopApp/ViewModels/InstalledGamesViewModel.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":"source/Playnite.DesktopApp/Controls/Menus/MainMenu.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4ac384dfb79e57faef6dd751d8da40abbfd386e92d9bb9ef94a6f76e7e58f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Computer.WindowsVersion == WindowsVersion.Win7 || Computer.WindowsVersion == WindowsVersion.Win8\u0060 appears character-identically in 2 files \u2014 source/Playnite.DesktopApp/ProgramEntry.cs, source/Playnite.FullscreenApp/ProgramEntry.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":"source/Playnite.DesktopApp/ProgramEntry.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b867fd22153df90ecb3d9d34d269e4d7922affe68843745abf0fc6625fa4ae76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Game?.IsInstalling == true || Game?.IsUninstalling == true\u0060 appears character-identically in 2 files \u2014 source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs, source/Playnite.FullscreenApp/ViewModels/GameDetailsViewModel.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":"source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a65bfc9cced19699fbd68f47af84f0586bfc9854fbd9fafd195c2166e9c43b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Game?.IsRunning == true || Game?.IsLaunching == true\u0060 appears character-identically in 2 files \u2014 source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs, source/Playnite.FullscreenApp/ViewModels/GameDetailsViewModel.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":"source/Playnite.DesktopApp/ViewModels/GameDetailsViewModel.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec9f822a95c2e8e333dde51a3c55fe8c01875fa1ab5d65e550573932ecf0c6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060GlobalTaskHandler.ProgressTask != null \u0026\u0026 GlobalTaskHandler.ProgressTask.Status == TaskStatus.Running\u0060 appears character-identically in 2 files \u2014 source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs, source/Playnite/ViewModels/MainViewModelBase.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":"source/Playnite.DesktopApp/ViewModels/DesktopAppViewModel.cs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b5b9efa34df7319c8d212332172eee7cb5290482b2f317218d512f6ce35783"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.Id == specProp.Id || a.Name == specProp.Id\u0060 appears character-identically in 3 files \u2014 source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs, source/Playnite/Database/Collections/PlatformsCollection.cs, source/Playnite/Database/Collections/RegionsCollection.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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d4afbb842eae37e567c9d525b38dd9d32a5d183788c1ae5f87586963f82b0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060box.FilterProperties != null \u0026\u0026 box.FilterProperties.Text.IsNullOrEmpty()\u0060 appears character-identically in 2 files \u2014 source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs, source/Playnite.FullscreenApp/Controls/FilterDbItemtSelection.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":"source/Playnite.DesktopApp/Controls/FilterSelectionBox.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6650a158125f0714afbc0b8f458e9e651c95e369e22cb9bdd7373c9fac76aca5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cmdLine.Start.IsNullOrEmpty() \u0026\u0026 !cmdLine.HideSplashScreen \u0026\u0026 procCount == 1\u0060 appears character-identically in 2 files \u2014 source/Playnite.DesktopApp/ProgramEntry.cs, source/Playnite.FullscreenApp/ProgramEntry.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":"source/Playnite.DesktopApp/ProgramEntry.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c814cda06697c1cfd5a9ce3ca590fff0cd4c951aa09c79b1d56387c54542cfd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controller.Enabled \u0026\u0026 newList.Contains(controller.Path)\u0060 appears character-identically in 2 files \u2014 source/Playnite.DesktopApp/ViewModels/SettingsViewModel.cs, source/Playnite.FullscreenApp/Controls/SettingsSections/Input.xaml.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":"source/Playnite.DesktopApp/ViewModels/SettingsViewModel.cs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d60671e56d32e8f5d9e62396f83f7de40043e4d303e97aafa1746075a88d18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dbItem != null \u0026\u0026 !item.IsEqualJson(dbItem)\u0060 appears character-identically in 2 files \u2014 source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs, source/Playnite.DesktopApp/ViewModels/EmulatorsViewModel.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":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cf34cdb5bc7f4c7db61b90ba9fe9c1510e31017c7eb0c96f7145deb9de12a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mainModel.SelectedGames == null \u0026\u0026 mainModel.SelectedGame != null\u0060 appears character-identically in 2 files \u2014 source/Playnite.DesktopApp/Api/MainViewAPI.cs, source/Playnite.FullscreenApp/Api/MainViewAPI.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":"source/Playnite.DesktopApp/Api/MainViewAPI.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f194b72cf7af28b8983cdfb92c91fabd032d96c7656be679c15f7238ecd63ede"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060res.Result \u0026\u0026 !res.SelectedString.IsNullOrEmpty()\u0060 appears character-identically in 3 files \u2014 source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs, source/Playnite.DesktopApp/ViewModels/SettingsViewModel.cs, source/Playnite/ViewModels/MainViewModelBase.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":"source/Playnite.DesktopApp/ViewModels/DatabaseFieldsManagerViewModel.cs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"012f9aa124e3f92a331cbdc45e59e1c5056fe59ac363d139efef81a59a5ea720"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result \u003E= MinValue \u0026\u0026 result \u003C= MaxValue\u0060 appears character-identically in 2 files \u2014 source/Playnite.DesktopApp/Controls/NullableIntBox.cs, source/Playnite.DesktopApp/Controls/NumericDoubleBox.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":"source/Playnite.DesktopApp/Controls/NullableIntBox.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c518529395952fd73f2937779e30c0283eb6001d55f2316eed0fce8fa0652f9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060string.IsNullOrEmpty(Name) \u0026\u0026 string.IsNullOrEmpty(objName)\u0060 appears character-identically in 2 files \u2014 source/Playnite/Database/OldModels/Ver2.cs, source/PlayniteSDK/Models/DatabaseObject.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":"source/Playnite/Database/OldModels/Ver2.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4771d67e903188b2ea1f0f554ff5bb5fe9ae633818294e51f64fc5df1335e04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060string.IsNullOrEmpty(inputString) || !inputString.Contains(\u0027{\u0027)\u0060 appears character-identically in 2 files \u2014 source/Playnite/Extensions/GameExtensions.cs, source/Playnite/Settings/PlaynitePaths.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":"source/Playnite/Extensions/GameExtensions.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad876337e0a0fb8d45fe3b67beec02ea2e9a22b9b903a616573f49e2c2faeb2"}},{"ruleId":"X12","level":"warning","message":{"text":"Branch is unreachable \u2014 its condition cannot hold here: \u0060y.Value == null \u0026\u0026 year == null\u0060 can never be true where it stands: the guard on line 493 (\u0060year == null\u0060) left this block when it was true. No value of \u0060year\u0060 satisfies all of that, so this arm never runs. Reorder the tests, drop the dead branch, or fix the bound that was meant."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/DatabaseExplorer.cs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"4948ea296dc599efa7a37aa429efe7846491393aafc678705027c370c0b31dfe"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060NumberOfTags\u0060 is read from the stream being parsed at line 5225 (\u0060ReadUInt16\u0060), then used to size an array at line 5227 \u2014 and nowhere in this method is \u0060NumberOfTags\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). A file the caller did not write therefore chooses the size directly: a value near \u0060int.MaxValue\u0060 allocates until the process dies, and a value that overflows the cast to \u0060int\u0060 goes negative and throws out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060NumberOfTags\u0060 against the bytes actually remaining in the stream before spending it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5fad1272df7f6a709d5ca33ec1d036f458ce3abbd1507841996de3880a799b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060AreEqual\u0060 is public and takes the \u0060XElement\u0060 from its caller, and it calls itself at line 64 with a child of the node it was given \u2014 and nowhere in \u0060AreEqual\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the tree it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. A document nested past the stack that remains raises \u0060StackOverflowException\u0060, which .NET neither lets you catch nor unwinds: the process is torn down where it stands, taking every other request in flight with it, and no \u0060try\u0060/\u0060catch\u0060 around \u0060AreEqual\u0060 can intervene. Thread a depth argument through \u0060AreEqual\u0060 and reject the document past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Xml.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86557d47e36d32d092f4cf9fb4464cbd123c564819dc86aa161ca8cef6e03f8"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060cancelToken\u0060 is a \u0060CancellationTokenSource\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 749). Every use of it in \u0060SelectGoogleImage\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 cancelToken = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/ViewModels/GameEditViewModelMetadata.cs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f4d5b770efe8db92063646eeac099f11450afa855f048b0d75c663fb15e5bb"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060tr\u0060 is a \u0060StreamReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 44). Every use of it in \u0060ReadFileFromResource\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 tr = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Resources.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"378eb4376822f39e9cd8d1105b6866adba2ed2c47b4a7683db5d6da1aa6c852e"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060Br\u0060 is a \u0060BinaryReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 5148). Every use of it in \u0060LoadFunc\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 Br = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5148}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c3447519f7a7616d9eda60dd71206aaff48791dbd613432770d74664d7dacc"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060Bw\u0060 is a \u0060BinaryWriter\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 5530). Every use of it in \u0060SaveFunc\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 Bw = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/TGASharpLib.cs"},"region":{"startLine":5530}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbe51d0e87148a93b083e2d9a12dc8be5412a7946e0c01e954c3549bfdcffa1"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field overwritten without releasing the previous instance: \u0060watcherToken\u0060 is a \u0060CancellationTokenSource\u0060 this type creates itself, and here (line 83) a new instance is written over it \u2014 but \u0060StartWatcher\u0060 itself reads through \u0060watcherToken\u0060 before replacing it, so it expects an instance to be there, and nothing earlier in \u0060StartWatcher\u0060 disposes, closes, saves or hands on the instance being replaced. The assignment makes it unreachable while it still holds what it holds (a timer that keeps firing, a callback registered on a longer-lived token, a socket, a handle), and no later \u0060Dispose\u0060 can reach it: the type\u0027s own disposal releases only the CURRENT instance. The cost accumulates once per overwrite. Release the previous instance first (\u0060watcherToken?.Dispose();\u0060 before the assignment), or swap it out with \u0060Interlocked.Exchange\u0060 and dispose what comes back."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ObservablePowerStatus.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"044d644a6118973417db8693885df64f56982450c48f21914e8297d16aa346c0"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field overwritten without releasing the previous instance: \u0060watcherToken\u0060 is a \u0060CancellationTokenSource\u0060 this type creates itself, and here (line 40) a new instance is written over it \u2014 but \u0060StartWatcher\u0060 itself reads through \u0060watcherToken\u0060 before replacing it, so it expects an instance to be there, and nothing earlier in \u0060StartWatcher\u0060 disposes, closes, saves or hands on the instance being replaced. The assignment makes it unreachable while it still holds what it holds (a timer that keeps firing, a callback registered on a longer-lived token, a socket, a handle), and no later \u0060Dispose\u0060 can reach it: the type\u0027s own disposal releases only the CURRENT instance. The cost accumulates once per overwrite. Release the previous instance first (\u0060watcherToken?.Dispose();\u0060 before the assignment), or swap it out with \u0060Interlocked.Exchange\u0060 and dispose what comes back."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ObservableTime.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"425c481c70fca88fdb9e97fda38f0dbff0e86184dd85f2683253f0a03a4c15ea"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060OffscreenWebView\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060browserInitializedEvent\u0060 itself (line 17), which makes that instance its own. But \u0060browserInitializedEvent\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 96) \u2014 that is \u0060Dispose\u0060 plus every method \u0060Dispose\u0060 calls BY NAME, so a release reached through an interface, a delegate or a base class is not followed and is worth checking before acting. On what was read, the type\u0027s disposal releases everything except the one thing it owns. A disposable the owner never disposes is held until finalization if its type has a finalizer, and forever if it does not \u2014 which for a synchronisation primitive, a timer, a stream or a handle means the resource accumulates once per instance for the life of the process. Release it in \u0060Dispose\u0060 (\u0060browserInitializedEvent?.Dispose();\u0060), or, if it truly does not need releasing, drop \u0060IDisposable\u0060 from the type so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2021f9996911090d62c7aa4373943176730102426c363023a3714bfe8055df5a"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060OffscreenWebView\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060loadCompleteEvent\u0060 itself (line 18), which makes that instance its own. But \u0060loadCompleteEvent\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 96) \u2014 that is \u0060Dispose\u0060 plus every method \u0060Dispose\u0060 calls BY NAME, so a release reached through an interface, a delegate or a base class is not followed and is worth checking before acting. On what was read, the type\u0027s disposal releases everything except the one thing it owns. A disposable the owner never disposes is held until finalization if its type has a finalizer, and forever if it does not \u2014 which for a synchronisation primitive, a timer, a stream or a handle means the resource accumulates once per instance for the life of the process. Release it in \u0060Dispose\u0060 (\u0060loadCompleteEvent?.Dispose();\u0060), or, if it truly does not need releasing, drop \u0060IDisposable\u0060 from the type so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f73fa1fcdf1e330712323eaab4f68b6e5675ec13326bf070de6114e0b4694d"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060WebView\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060loadCompleteEvent\u0060 itself (line 20), which makes that instance its own. But \u0060loadCompleteEvent\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 90) \u2014 that is \u0060Dispose\u0060 plus every method \u0060Dispose\u0060 calls BY NAME, so a release reached through an interface, a delegate or a base class is not followed and is worth checking before acting. On what was read, the type\u0027s disposal releases everything except the one thing it owns. A disposable the owner never disposes is held until finalization if its type has a finalizer, and forever if it does not \u2014 which for a synchronisation primitive, a timer, a stream or a handle means the resource accumulates once per instance for the life of the process. Release it in \u0060Dispose\u0060 (\u0060loadCompleteEvent?.Dispose();\u0060), or, if it truly does not need releasing, drop \u0060IDisposable\u0060 from the type so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/WebView.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40876763b28801df6fdd55296215af057b0c12f20ef61ec934010b44a8e9850"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060dialog\u0060 is a \u0060FolderBrowserDialog\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 145). Every use of it in \u0060Browse\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 dialog = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tools/PlayniteInstaller/MainViewModel.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8826c229a2f6f822fd6f60e9b26d6999f13d999eb001c5d8e7bd06fec5046273"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 4/31 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: OpenMainViewAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.DesktopApp/DesktopApplication.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"954a73b14713c2f23a07f083565362721e059c0dae127ab1fa0bacf47d098dbe"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OpenMainViewAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite.FullscreenApp/FullscreenApplication.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"194b22e472e12cfa62354ad96614fd1a5e16f6d79fb378d777665cafe4842091"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StartUpdateCheckerAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/App/PlayniteApplication.cs"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a010aac5bd25834d7110e9c2ed50378140ce279a2ed94993639b0cba4da9ac6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: LoadNewSource: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controls/FadeImage.xaml.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"3210ee7485175f297036c6471c65c6eab67a81fdddd57a66bef8f08a128a1ee0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetImages: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/GoogleImageDownloader.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"065a17cd7d9fed7dea2fbe3f95b215610994cd450da288d3fcef9798a4db2fff"}},{"ruleId":"X2","level":"warning","message":{"text":"Async delegate without CancellationToken: InvokeCommand: Queues or hands on an async lambda whose work calls something that takes a CancellationToken, while neither this method nor the delegate supplies one \u2014 that work can\u0027t be stopped early once started. Take a CancellationToken here and let the lambda capture it, or use a delegate that is handed one (\u0060Func\u003CCancellationToken, Task\u003E\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/PipeServer.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bb3ba3767754ffd03eb6e1fbe160a5e16dec819fd7fd5d980946f4cd0c722a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ProcessStartupLibUpdate: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ViewModels/MainViewModelBase.cs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3880d47eef99a215f123c7796adfe3a9dfdce13d3dbbcdbf0f7b4d97338f468"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PerformSearch: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/ViewModels/SearchViewModel.cs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e0e7d380b2a55f23353ac22326462c9f58b2f6da4717e3e2d80073b6639f50"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Browser_BrowserInitialized: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6db53e678b1a17bbc5b0464ff865547d816da01678dbd697a7f73c668deddc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetPageTextAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90789397d3d2434bcb0d994492ce71955cad3c0630fe24feb8c780bdb11ed3b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetPageSourceAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b3e517e01cf67817b2208619786e6fde57eb0475bfdabe672d6044167cfa38"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: EvaluateScriptAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/OffscreenWebView.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7230cd856e6c1308f55aaf1ef0d652ffb9f410502e2e65dbf569e15f9cd5f24f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Browser_IsBrowserInitializedChanged: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/WebView.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0ef3d8ee991573b0980b3010cbb2fe2311055b5e3c0de6e5311e0d37eea0f5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetPageTextAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/WebView.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdd25a7c2f60c51e685081d84f53f1d62e15e7245a3f6569700c3b308046856"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetPageSourceAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/WebView.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"330d05e9a6c2b4ea1b0f4c350100b3c8783cc4e87088cd53ee71ad71c3420b0f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: EvaluateScriptAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/WebView/WebView.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde1614c1f3d41f68f229a6b788b8100a312d2d8d56cf9551e1bd2e3fa37b41e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Install: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tools/PlayniteInstaller/MainViewModel.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6b573eaf1a5fd62929b6d16948ec8609d61bc87f752008fb34016e1570eb93"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 311 rejects \u0060itemName\u0060 and line 311 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrEmpty(itemName)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060itemName\u0060, and on that path \u0060itemName\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/Collections/ItemCollection.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84f9a43d89299558d0b1687703f479d245839b578becbead9ec9f4ddec9e4a9"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 676 rejects \u0060databasePath\u0060 and line 678 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrEmpty(databasePath)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060databasePath\u0060, and on that path \u0060databasePath\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Database/GameDatabaseMigration.cs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc914478e99a0017036f365dddeaf3aa62af1949a96b3e2f9245f0f7755413cd"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1592 rejects \u0060originalName\u0060 and line 1594 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060originalName.IsNullOrEmpty()\u0060 is true of a value that is NOT null: it reads a member of \u0060originalName\u0060, so it can only be evaluated on a non-null \u0060originalName\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060originalName\u0060 is present but fails that test is told it was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Emulators/Scanner.cs"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece464c3a697764af13c6e3dce224ecab0560272316a2e27a1324d7e22f79afd"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 132 rejects \u0060loggerName\u0060 and line 134 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrEmpty(loggerName)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060loggerName\u0060, and on that path \u0060loggerName\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/LogManager.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0431ecb14ad8500529d16c84cd148baf18abe8598cccf38716e56ac5ffafe97"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 168 rejects \u0060name\u0060 and line 170 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(name)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060name\u0060, and on that path \u0060name\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Models/GameMetadata.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e5fc79c6e7a3458e44cbad3aacd74df52a1f7addf73e896e986599cfa76066"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 225 rejects \u0060specId\u0060 and line 227 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(specId)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060specId\u0060, and on that path \u0060specId\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Models/GameMetadata.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5c79280f231aca8bddd67dfbe1fa5870eb93d9a1ed8625b4cea911d9f3d6d2"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 249 rejects \u0060stringDate\u0060 and line 251 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrEmpty(stringDate)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060stringDate\u0060, and on that path \u0060stringDate\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Models/ReleaseDate.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"05eee4a689085597e9c2eb5d23731874a437aba23177d15f29ac4a7c59c7d81d"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 53 rejects \u0060input\u0060 and line 55 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060input.IsNullOrWhiteSpace()\u0060 is true of a value that is NOT null: it reads a member of \u0060input\u0060, so it can only be evaluated on a non-null \u0060input\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060input\u0060 is present but fails that test is told it was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Tools/Playnite.Toolbox/Extensions.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f9def2ef7ec246ccc7d0471ca6d7c26c4434d02dff3bbaf85084303e1c3cfa"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060HtmlText.Substring(0, loadPartLength)\u0060 is text this program did not author, and it is written into the text of an element through \u0060SetHtmlContent\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controls/HtmlTextView.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c079047d7ff588a47909039eb8c931f312c7280193878691ecdbc4276ec78e8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060HtmlText ?? string.Empty\u0060 is text this program did not author, and it is written into the text of an element through \u0060SetHtmlContent\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controls/HtmlTextView.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3af47e28afc56083ed65948193a39ec2c43b5aa62948d20cd43a7f37a8aa744"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060HtmlText\u0060 is text this program did not author, and it is written into the text of an element through \u0060SetHtmlContent\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controls/HtmlTextView.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"4854971b7baafbec434e0c580f44089a3177d4cd7d3e01045e5fca9a926f2164"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060HtmlText.Substring(0, currentLoadedLength)\u0060 is text this program did not author, and it is written into the text of an element through \u0060SetHtmlContent\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controls/HtmlTextView.cs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"53598b035064a03036e93e7d9f5778b1c86883b278ceeff0cd7efa02418ca079"}},{"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":"source/Playnite.DesktopApp/Controls/GridViewPanel.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a0cfa452485df0ec3991628a7dddfe1cc2a7f0ae6abcea6591a9fe69ea66e7"}},{"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":"source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"f151d608782a175a3622f794096dcee68602ccc4727ff4fd91cf4edd7c0cb79e"}},{"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":"source/Playnite/Common/Paths.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a6af2e235566a1ce975b76e5f6e8ab52c0eb6d9a8fc7b83fb61a3884522195"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Programs2.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"378cf8d65770590e8299374b7e07377e3fb92c3cbe08b47ffc5eda5886f73f20"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060ContinueWith\u0060 with a continuation that does nothing discards the antecedent\u0027s failure \u2014 the task it returns completes successfully whether or not the work faulted, so the failure vanishes with no log and no rethrow. Await the task and handle the exception, or report the fault from the continuation (\u0060t.Exception\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e28b98910f6d2affd05042a5324dc237472323d97b4cbca37ee287c6d9f748"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060ContinueWith\u0060 with a continuation that does nothing discards the antecedent\u0027s failure \u2014 the task it returns completes successfully whether or not the work faulted, so the failure vanishes with no log and no rethrow. Await the task and handle the exception, or report the fault from the continuation (\u0060t.Exception\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3da94f3c15e681b83a197565a09c25032ad689807fef39dde68060edc4842a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060ContinueWith\u0060 with a continuation that does nothing discards the antecedent\u0027s failure \u2014 the task it returns completes successfully whether or not the work faulted, so the failure vanishes with no log and no rethrow. Await the task and handle the exception, or report the fault from the continuation (\u0060t.Exception\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Controllers/GenericGameController.cs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cd0386a12b941756d1938cb08eddb579b2a9a2372072a0193fcde2cc495902"}},{"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":"source/Playnite/GamesEditor.cs"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd47ba562306444fca8a891fab73ec02d1242464bd33ed0652c2494b6bdca8de"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060HasMethod\u0060 swallows \u0060AmbiguousMatchException\u0060 into \u0060return true;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Common/Extensions/ObjectExtensions.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"96af11e9dbae4d40c7821a660d093401faabd4f3e12592538537529d30d446ca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060CanWriteToFolder\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":"source/Playnite/Common/FileSystem.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"94138d0adccaee3379b6f8fa2ba567f5fdbf2afc29d4bd05e1ace7ed497b6416"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetIsConnectedToInternet\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":"source/Playnite/Common/Network.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba91f5d528f7d6a7d1c302ae6b4adb7f821a627b015378bf4fbd76c8cc03c4f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsValidFilePath\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":"source/Playnite/Common/Paths.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2510d8e09b6b59ecf87c39d24a8ad3e4dac72540abaef061adcd2ebb86e9611"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060AreEqual\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":"source/Playnite/Common/Paths.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be09a16e3abd12b0d06783d9186c2939fe71ed02cd101cdb897fed5b1c6129e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Convert\u0060 swallows every exception into \u0060return DependencyProperty.UnsetValue;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/Converters/GenericTypeConverter.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de1a33567d0c4fa5ca3f157962c57207b9f83460018fa7cdd0ff8a0686fc6b0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ToDisplayString\u0060 swallows \u0060ArgumentOutOfRangeException\u0060 into \u0060return \u0022unsupported\u0022;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/DateTimes.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf5104173ca9bed473c76ff3bca1dc89d20cb65e91c54924881382b9f6d669e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Equals\u0060 swallows \u0060InvalidCastException\u0060 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":"source/Playnite/Native/Windef.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae6c8ac2b0230799dfa5986105c95b345d3a60baa77c7a4ba4e73599137f160"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on unknown code: \u0060ReleaseChannel\u0060 maps every unrecognised code to \u0060ReleaseChannel.Stable\u0060, one of the real values, with no log or throw \u2014 a malformed or new code silently reads as a known one. Throw on the unknown code, or log it. If that member is the correct answer for any other code, say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Playnite/PlayniteEnvironment.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad51909f468b8db829e1e4f10f4ab950b5214417b7397b6bb5ccb85d6d727e27"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetInstallDrive\u0060 swallows every exception into \u0060return string.Empty;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/PlayniteSDK/Models/Game.cs"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce1ca255ab23c080539f49955a055bbd740b7bd2ded4948cb1dd17d3e60e8e7"}}],"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-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-776","guid":"9228794e-eb37-cc55-9570-3bbc19789fef","name":"Improper Restriction of Recursive Entity References in DTDs (\u0027XML Entity Expansion\u0027)","shortDescription":{"text":"Improper Restriction of Recursive Entity References in DTDs (\u0027XML Entity Expansion\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/776.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":15,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}