{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"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":"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D39","name":"IL Efficiency","shortDescription":{"text":"IL Efficiency"},"helpUri":"https://codehealth.canine.dev/dimensions/D39"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Commands.Response (cyclomatic 123): Commands.Response has cyclomatic complexity 123 (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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabbdd2da6fa04b696521d147d9f628fbcde140bd0943c54be29afab51247a0a"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteCommunication.OnPersonaState (cyclomatic 109): RemoteCommunication.OnPersonaState has cyclomatic complexity 109 (threshold 15). Of this number, 105 points are the body\u0027s own statements and 4 belong to 3 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":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89e165ffdb9935fe154529abcc307fc44f5424b3e070a2ca402f184dad7f54f"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteCommunication.MatchActively (cyclomatic 102): RemoteCommunication.MatchActively has cyclomatic complexity 102 (threshold 15). Of this number, 89 points are the body\u0027s own statements and 13 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"404898d9d0d072516d243fb3988c607d43960ff8819a97f5bbccd3b787c96162"}},{"ruleId":"D1","level":"warning","message":{"text":"Commands.ResponseRedeem (cyclomatic 100): Commands.ResponseRedeem has cyclomatic complexity 100 (threshold 15). Of this number, 86 points are the body\u0027s own statements and 14 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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":2569}}}],"partialFingerprints":{"codehealthFindingId/v1":"901c3ffe3127b4f704654341671d94f42fd900f963365e3e3552cfa4dae25365"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.GetAppDataForIdling (cyclomatic 58): Bot.GetAppDataForIdling has cyclomatic complexity 58 (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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b33f5bc276e169e8f7c57f39f1914a35aa5857aae9646ae32d99481e5997612"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteCommunication.MatchActively (cyclomatic 55): RemoteCommunication.MatchActively has cyclomatic complexity 55 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d75cf651da6471428a7538763540eba854ab63cbc7618f7a67374f322b8b4b"}},{"ruleId":"D1","level":"warning","message":{"text":"CardsFarmer.CheckPage (cyclomatic 46): CardsFarmer.CheckPage 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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe28f6811d14b8123fdc070bc12517cae7b2817580f7fb46abf747d5aa1a317c"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.GetInventoryAsync (cyclomatic 43): ArchiWebHandler.GetInventoryAsync 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7aa45755fc9d5a4d3b9b85313d7a1b10e2e898e24d5e28bf823411d8909c67"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.HandleLoginResult (cyclomatic 42): Bot.HandleLoginResult has cyclomatic complexity 42 (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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9e4fef5c44ae8f28ddc11bc5772ea194653b281cd4869697d9bc41b293ab91"}},{"ruleId":"D1","level":"warning","message":{"text":"WebBrowser.InternalRequest (cyclomatic 40): WebBrowser.InternalRequest has cyclomatic complexity 40 (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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b42a5ca96cee30a8e3a13c42e76a26a006d30949dcec686e562325aae93e982"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.RedeemGamesInBackground (cyclomatic 38): Bot.RedeemGamesInBackground 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":3650}}}],"partialFingerprints":{"codehealthFindingId/v1":"4520aa10385a2f531db6e157fe5beaf94b2a45ee3059381c0e8854ada77563e7"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiHandler.GetMyInventoryAsync (cyclomatic 37): ArchiHandler.GetMyInventoryAsync has cyclomatic complexity 37 (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":"ArchiSteamFarm/Steam/Integration/ArchiHandler.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e72dd2760f0b022f9c965beaad4b93bc511cdae67693e670f6965361f73bc98"}},{"ruleId":"D1","level":"warning","message":{"text":"SteamTokenDumperPlugin.Refresh (cyclomatic 35): SteamTokenDumperPlugin.Refresh has cyclomatic complexity 35 (threshold 15). Of this number, 32 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8c1a20813988a7c953f1333130ad2ec1bff7b88eae6072be972161ab4b85fd"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.GetTradeOffers (cyclomatic 35): ArchiWebHandler.GetTradeOffers has cyclomatic complexity 35 (threshold 15). Of this number, 31 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fca6b8e356e47cf7034ac8a14ce00c366f0749092f3d5b2b0a70c6b03c2be24"}},{"ruleId":"D1","level":"warning","message":{"text":"BotConfig.CheckValidation (cyclomatic 35): BotConfig.CheckValidation has cyclomatic complexity 35 (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":"ArchiSteamFarm/Steam/Storage/BotConfig.cs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"a108085976f0ca32ffbf4c31d4cb069f73c7fffdadd727880c7cf6b47cb4e767"}},{"ruleId":"D1","level":"warning","message":{"text":"Trading.ShouldAcceptTrade (cyclomatic 34): Trading.ShouldAcceptTrade has cyclomatic complexity 34 (threshold 15). Of this number, 32 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":"ArchiSteamFarm/Steam/Exchange/Trading.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e292cc162d8f72121f656a27d98e95ee492c2328b9f00f9e41ce3dd2fd0c76"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.ParseArgs (cyclomatic 32): Program.ParseArgs 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":"ArchiSteamFarm/Program.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e454c73cc1961d08cafce97aff5c9a013a4ed1cb9388091669fe8bb0a79fd86"}},{"ruleId":"D1","level":"warning","message":{"text":"SteamUtilities.TryParseGameIdentifier (cyclomatic 32): SteamUtilities.TryParseGameIdentifier 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":"ArchiSteamFarm/Steam/Integration/SteamUtilities.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"629ad81f33bc5d4ce428320ee24acaec50a17edebe104a45e20f093c1808b483"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.UrlPostToHtmlDocumentWithSession (cyclomatic 31): ArchiWebHandler.UrlPostToHtmlDocumentWithSession has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01d742b74dd122ab8760abee9685035e817c86eaca118de18b311975cbf94bc"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.UrlPostToJsonObjectWithSession (cyclomatic 31): ArchiWebHandler.UrlPostToJsonObjectWithSession has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03cdde877164652138c1f3fa66f5191ee72ef226bebcd5cef2f4666099f3825"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.UrlPostToJsonObjectWithSession (cyclomatic 31): ArchiWebHandler.UrlPostToJsonObjectWithSession has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc1b25d8f3c1051d31e91b08a2ddb5b5f33ec16e658da1dc5de939274eb93e7"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.UrlPostWithSession (cyclomatic 31): ArchiWebHandler.UrlPostWithSession has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6c41f8007f72c88952a9c8afef7f7c39af7d3b690dc1614d440d1ccf7e8946"}},{"ruleId":"D1","level":"warning","message":{"text":"CardsFarmer.SortGamesToFarm (cyclomatic 30): CardsFarmer.SortGamesToFarm has cyclomatic complexity 30 (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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ad5806b84d409ba1a5ec24253d56b0b62215c5928533dd62ff80c6e6802021"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.SendTradeOffer (cyclomatic 29): ArchiWebHandler.SendTradeOffer 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54db87ee91dd191b7d082f7377aa34820864d285f0b0c43025f689ed4dc69f6"}},{"ruleId":"D1","level":"warning","message":{"text":"ASF.UpdateASF (cyclomatic 28): ASF.UpdateASF 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, 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":"ArchiSteamFarm/Core/ASF.cs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc5f1ecdf51133df8fcb1d96e38009e6b645640fe3780700526fed3b8a00a1d"}},{"ruleId":"D1","level":"warning","message":{"text":"Commands.ResponseOwns (cyclomatic 27): Commands.ResponseOwns 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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b4729a72dcd825d018dd8615d0d5c4de6beaa1eda377cdfd8107e8ba10b125"}},{"ruleId":"D1","level":"warning","message":{"text":"Commands.ResponsePrivacy (cyclomatic 27): Commands.ResponsePrivacy 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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":2416}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1dd88910a1f6ed63c34cb3d8d5df245a0a22c0781ee28e7dba04357a86ee10"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginsCore.InitPlugins (cyclomatic 26): PluginsCore.InitPlugins 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":"ArchiSteamFarm/Plugins/PluginsCore.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4c1ee7bd45b37ac13339a60814545d64fde6c21bd1f555ea10287a2fb08ed6"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.GetBots (cyclomatic 26): Bot.GetBots 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b15c5510b3537e40f482b1b4a60b4fcbd9607f9174257f276f166aa093cf99"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.OnLoggedOn (cyclomatic 26): Bot.OnLoggedOn has cyclomatic 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, 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":3372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdb54826da9b80eeca5e4b2d7a931700e240130369b1f7eee8678de23f536e8"}},{"ruleId":"D1","level":"warning","message":{"text":"SteamTokenDumperPlugin.SubmitData (cyclomatic 25): SteamTokenDumperPlugin.SubmitData has cyclomatic complexity 25 (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":"ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"4627f970dcf8dbf226826c3f2f0a2ad5362b74dfc0e662c0538c4032d57e5a40"}},{"ruleId":"D1","level":"warning","message":{"text":"Actions.HandleTwoFactorAuthenticationConfirmations (cyclomatic 25): Actions.HandleTwoFactorAuthenticationConfirmations 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":"ArchiSteamFarm/Steam/Interaction/Actions.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6bbef75cb11cd48a0394c0bd13ff069aeb489fbab8df10d554ae76044746e1"}},{"ruleId":"D1","level":"warning","message":{"text":"WebBrowser.UrlGetToJsonObject (cyclomatic 25): WebBrowser.UrlGetToJsonObject 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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"853a6288023abd4fa0676b13425c89c6e50c01ca5262bd44f043ce006c512e78"}},{"ruleId":"D1","level":"warning","message":{"text":"WebBrowser.UrlPostToJsonObject (cyclomatic 25): WebBrowser.UrlPostToJsonObject 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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d94570b119faf34e156089ef6fb53cb7b2b58acac273efea3f567a8fe73637"}},{"ruleId":"D1","level":"warning","message":{"text":"Utilities.MoveAllUpdateFiles (cyclomatic 24): Utilities.MoveAllUpdateFiles 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":"ArchiSteamFarm/Core/Utilities.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9968c6cf0c230484df4f102f7020331f378184804fb29065725607f1e13a5b"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.UrlGetToHtmlDocumentWithSession (cyclomatic 23): ArchiWebHandler.UrlGetToHtmlDocumentWithSession has cyclomatic complexity 23 (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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fbff1197cfbd89d48bb436999671646d39ab32b4d9cd79511bec579bc84435"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.UrlGetToJsonObjectWithSession (cyclomatic 23): ArchiWebHandler.UrlGetToJsonObjectWithSession has cyclomatic complexity 23 (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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"d661a8b245fda3fb7257639d91e6c19429368d7120feb96adbc5fdfb95b11087"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.UrlHeadWithSession (cyclomatic 23): ArchiWebHandler.UrlHeadWithSession has cyclomatic complexity 23 (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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a5a76ceab6d1746704e51f867da5110c358b6a2a3227ead06f8261690edf65"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaTransformer.ApplyEnumDefinition (cyclomatic 22): SchemaTransformer.ApplyEnumDefinition has cyclomatic complexity 22 (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":"ArchiSteamFarm/IPC/OpenApi/SchemaTransformer.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d574ad553e9a8ff72114d3479c03f9664b95c1c2fbbea153f3fcf70684bff1b"}},{"ruleId":"D1","level":"warning","message":{"text":"CardsFarmer.StartFarming (cyclomatic 22): CardsFarmer.StartFarming 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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6299956de337a7dd435a0dfb8498ea2e2b433c35ec36ed7765eb21c674acaf"}},{"ruleId":"D1","level":"warning","message":{"text":"WebBrowser.UrlGetToBinary (cyclomatic 22): WebBrowser.UrlGetToBinary 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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bf4399b4063a49c2391cd4f98b75381c8a2e86a4a9a556b2f767c553f4d846"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiKestrel.ConfigureApp (cyclomatic 21): ArchiKestrel.ConfigureApp 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":"ArchiSteamFarm/IPC/ArchiKestrel.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d9e2ec7efe3c7250e02d57b956c6d6444de57e551498fe94836373f6bec68c"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiAuthenticationMiddleware.GetAuthenticationStatus (cyclomatic 21): ApiAuthenticationMiddleware.GetAuthenticationStatus 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":"ArchiSteamFarm/IPC/Integration/ApiAuthenticationMiddleware.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70e244a990b12dd23c2f660b201adc20f77a55635d3e010f1ea318a38f4f1d6"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.InitModules (cyclomatic 21): Bot.InitModules 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12e4615a2c23ec920e81b60e08a3b67432339352a3077e25e5853084ae62bfc"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.OnConnected (cyclomatic 21): Bot.OnConnected 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":2727}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc712cc5fa570af03d81326e82490d778af2a1102a3e055cd4ab35f47236b83e"}},{"ruleId":"D1","level":"warning","message":{"text":"Trading.ParseActiveTrades (cyclomatic 21): Trading.ParseActiveTrades has cyclomatic complexity 21 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 4 belong to 3 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":"ArchiSteamFarm/Steam/Exchange/Trading.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8907f912d7469ea7b5aa84b941b57a27d9482b26f770268ad166ec88d0dc8e32"}},{"ruleId":"D1","level":"warning","message":{"text":"SteamChatMessage.GetMessageParts (cyclomatic 21): SteamChatMessage.GetMessageParts 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":"ArchiSteamFarm/Steam/Integration/SteamChatMessage.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"924658ee6a510f023e30d10a55a5485b86e53a7aaf67cd4a5740f286e3c59660"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.GetPackagesData (cyclomatic 20): Bot.GetPackagesData 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd97c16e030bc1930a563aafe6f1b9f0c6a5d092f7940be73ad124de464df0a0"}},{"ruleId":"D1","level":"warning","message":{"text":"CardsFarmer.GetGameCardsInfo (cyclomatic 20): CardsFarmer.GetGameCardsInfo 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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea0613dac346f29c026454fa5f8c01774deeeff9f396d683d16643636ba92a6"}},{"ruleId":"D1","level":"warning","message":{"text":"Trading.IsTradeNeutralOrBetter (cyclomatic 20): Trading.IsTradeNeutralOrBetter has cyclomatic complexity 20 (threshold 15). Of this number, 18 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":"ArchiSteamFarm/Steam/Exchange/Trading.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd8b58ae168e569cfedd3b7789168781f271d0bf58c22a032ba178edd05e64d"}},{"ruleId":"D1","level":"warning","message":{"text":"WebBrowser.UrlGetToHtmlDocument (cyclomatic 20): WebBrowser.UrlGetToHtmlDocument 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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c25074ba51c67e009a69b4966b8aefb68e966a28d9744486ab4022d8b7554d"}},{"ruleId":"D1","level":"warning","message":{"text":"WebBrowser.UrlPostToHtmlDocument (cyclomatic 20): WebBrowser.UrlPostToHtmlDocument 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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60827eb640ac2ea36b048bb270cc58faa8bdbc7f41fbeb2b5432db0b2ca9fe3"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteCommunication.OnHeartBeatTimer (cyclomatic 19): RemoteCommunication.OnHeartBeatTimer 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":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs"},"region":{"startLine":1691}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad07eb29f846c0c6eae8cd072a78708849e85ca8cd31e36af7bcd27291221a6a"}},{"ruleId":"D1","level":"warning","message":{"text":"Logging.GetUserInput (cyclomatic 19): Logging.GetUserInput has cyclomatic complexity 19 (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":"ArchiSteamFarm/NLog/Logging.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5402561d385ce2fd49fe207cb9c80f285ce4b08c1a0807da3d50c686fd724b3"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.InitCore (cyclomatic 19): Program.InitCore has cyclomatic complexity 19 (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":"ArchiSteamFarm/Program.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e173d64c6b3f11befaa56cbb654262cf49f3a0d2b30bacbde5017e64e142bb"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.OnDisconnected (cyclomatic 19): Bot.OnDisconnected has cyclomatic complexity 19 (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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":2904}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9ea93e0a498c4973dc46ce371f899f1e3bfbb14a932247d64ae05762c1e071"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.OnLicenseList (cyclomatic 19): Bot.OnLicenseList has cyclomatic complexity 19 (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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":3237}}}],"partialFingerprints":{"codehealthFindingId/v1":"7802c18fd13d58735e7853ba47e3013cfddcfce0b6bad4ac32c5d6e4256ae1c1"}},{"ruleId":"D1","level":"warning","message":{"text":"CardsFarmer.IsAnythingToFarm (cyclomatic 19): CardsFarmer.IsAnythingToFarm has cyclomatic complexity 19 (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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8a8b77d3f1d5e0d266e318c056e1d93caec4629ac0590cc8de39115e0e5128"}},{"ruleId":"D1","level":"warning","message":{"text":"Actions.SendInventory (cyclomatic 19): Actions.SendInventory 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":"ArchiSteamFarm/Steam/Interaction/Actions.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec6fdb734b3540f367d197be29cbe05452ab88f75af58f30cab6dc3a2b0e860"}},{"ruleId":"D1","level":"warning","message":{"text":"CrossProcessFileBasedSemaphore.EnsureFileExists (cyclomatic 18): CrossProcessFileBasedSemaphore.EnsureFileExists 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":"ArchiSteamFarm/Helpers/CrossProcessFileBasedSemaphore.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee8afaa2a6917a6e14b3af5ada5639e7ecc1f63ce01fab5ca737bd74e6fac79"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiKestrel.ConfigureServices (cyclomatic 18): ArchiKestrel.ConfigureServices has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. 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":"ArchiSteamFarm/IPC/ArchiKestrel.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"702f325654bddf8bb0a33fc1877533674b9a603c5bfa3e61f35158d70d9df3a9"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.ResetGamesPlayed (cyclomatic 18): Bot.ResetGamesPlayed 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":3824}}}],"partialFingerprints":{"codehealthFindingId/v1":"f607719b82b91a6c7a0a01f167aa9452e8599a2b66372810ecac7285705ef076"}},{"ruleId":"D1","level":"warning","message":{"text":"Commands.HandleMessage (cyclomatic 18): Commands.HandleMessage 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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"076c8495bb546356b766a042f57a279404f7129f8a835e06106637b1db4d8158"}},{"ruleId":"D1","level":"warning","message":{"text":"Commands.HandleMessage (cyclomatic 18): Commands.HandleMessage 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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9c6be5b1d973bb993a539802e86cdb4fdc0898e746da6260e15f573b6aff21"}},{"ruleId":"D1","level":"warning","message":{"text":"SteamTokenDumperPlugin.OnASFInit (cyclomatic 17): SteamTokenDumperPlugin.OnASFInit 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":"ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adb1848345a802873bf335c1fe9cf9257b30b360bfb54a06228bb7e56be578e"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.SendMessagePart (cyclomatic 17): Bot.SendMessagePart has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"9705bd4ba1ef810d3344b600463ab32b64c2431efe3053051a3b9249c1e89ae1"}},{"ruleId":"D1","level":"warning","message":{"text":"CardsFarmer.IsAnythingToFarmRisky (cyclomatic 17): CardsFarmer.IsAnythingToFarmRisky has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"662bfb5f2177c22153564934bcaccf1d6c53d17476131f7c49d9cddfdeffef5b"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.AddFreeLicense (cyclomatic 17): ArchiWebHandler.AddFreeLicense has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e53135044b2b70de5f1b895908df0a2bc5e6789daefb0155c306834c973014b"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobalConfig.CheckValidation (cyclomatic 17): GlobalConfig.CheckValidation 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":"ArchiSteamFarm/Storage/GlobalConfig.cs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"b227df782b4afea5ea9ae7ec09afeef25933aae355c4445f8b14cc975dde3b98"}},{"ruleId":"D1","level":"warning","message":{"text":"BotController.BotPost (cyclomatic 16): BotController.BotPost 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":"ArchiSteamFarm/IPC/Controllers/Api/BotController.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"789e54b00ac8aeef9f374fce5de7827f741b9484022519c77c2731a0606756f7"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeController.TypeGet (cyclomatic 16): TypeController.TypeGet 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":"ArchiSteamFarm/IPC/Controllers/Api/TypeController.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"007c94ca1ee239e28f00b339a3327580f87cbb07c813efdef0b4c93239b56d32"}},{"ruleId":"D1","level":"warning","message":{"text":"IGitHubPluginUpdates.GetTargetReleaseURL (cyclomatic 16): IGitHubPluginUpdates.GetTargetReleaseURL has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ArchiSteamFarm/Plugins/Interfaces/IGitHubPluginUpdates.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7ab1dfbae158b30678ee4d98e830f135701abccc9f4ef4753082ed287c2c47"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.SetUserInput (cyclomatic 16): Bot.SetUserInput has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea3cd69f9b837b73ddc3ac1a3ab988fea225ac81c66a304669139a4140ff68c"}},{"ruleId":"D1","level":"warning","message":{"text":"Bot.SendCompletedSets (cyclomatic 16): Bot.SendCompletedSets 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, 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":3866}}}],"partialFingerprints":{"codehealthFindingId/v1":"948e856857119ae03323c2ad8df9a46af290f1cb089d11f814ea69f52b5eba81"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.GetAppList (cyclomatic 16): ArchiWebHandler.GetAppList 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1642}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abc0392f6a2302754b5d324c85f7f8af5ce748d489b8574796ff55f5d2dba98"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiWebHandler.GetCombinedTradeHoldDurationAgainstUser (cyclomatic 16): ArchiWebHandler.GetCombinedTradeHoldDurationAgainstUser 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08031c10722c1606a0fe6a979bc9c2a5542e16d5f3b880e23f1666096501629"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteCommunication.MatchActively (cognitive 370): RemoteCommunication.MatchActively has cognitive complexity 370 (threshold 15). Of this number, 361 points are the body\u0027s own statements and 9 belong to 6 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":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"790a2feed43c643ec75ff65a094334db8f5871af1528ed25ad87685fa07f7777"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.ResponseRedeem (cognitive 244): Commands.ResponseRedeem has cognitive complexity 244 (threshold 15). Of this number, 236 points are the body\u0027s own statements and 8 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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":2569}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d94b52cdf8cb5e966e1bd26be1d76b96ebc7a5f5f79d8c5e48ad780bd595c6"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteCommunication.OnPersonaState (cognitive 205): RemoteCommunication.OnPersonaState has cognitive complexity 205 (threshold 15). Of this number, 202 points are the body\u0027s own statements and 3 belong to 3 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":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4248a4efa4d31f57fa05be2ae97200b089eeea05384e3eb6c9ca26b5cdaa1648"}},{"ruleId":"D2","level":"warning","message":{"text":"CardsFarmer.CheckPage (cognitive 99): CardsFarmer.CheckPage 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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e78842e21ebeef6666021b5275460c43d02c64eb64f74f14bc33cda1c457e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.GetAppDataForIdling (cognitive 94): Bot.GetAppDataForIdling has cognitive complexity 94 (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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4de4d107ac83d9df7b3e9adfc22f799decde6a093ffd72dfeecb37eaa94f348"}},{"ruleId":"D2","level":"warning","message":{"text":"WebBrowser.InternalRequest (cognitive 77): WebBrowser.InternalRequest has cognitive complexity 77 (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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9cbb7144522f5763d66b3d579181bc1e50242c74bde1ed511678966d8eb4c7"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteCommunication.MatchActively (cognitive 75): RemoteCommunication.MatchActively has cognitive complexity 75 (threshold 15). Of this number, 73 points are the body\u0027s own statements and 2 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":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc513640a5776168a24728ed5a5975bf5255f82aba497538b65fbab57f4c4a8"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiWebHandler.GetInventoryAsync (cognitive 73): ArchiWebHandler.GetInventoryAsync 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"00411f3b5f474ac8804559b21362b45e67cfc1146ef184386923a9b636dcbf9b"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.ResponseOwns (cognitive 72): Commands.ResponseOwns has cognitive complexity 72 (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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18937db49f93685008f9bad84e77106c43b492fcdcb1b0e1badc9beba296703"}},{"ruleId":"D2","level":"warning","message":{"text":"SteamTokenDumperPlugin.Refresh (cognitive 56): SteamTokenDumperPlugin.Refresh has cognitive complexity 56 (threshold 15). Of this number, 53 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":"ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"171dc7f90e6a0f55a1502e567a3e6619080e4cf8b37d954b0a69569b3cd932da"}},{"ruleId":"D2","level":"warning","message":{"text":"CardsFarmer.Farm (cognitive 55): CardsFarmer.Farm has cognitive complexity 55 (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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e51df784d5d5c0ba3961f835e81cf8593c2600371bad0a72a115cb1abe9526"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.RedeemGamesInBackground (cognitive 53): Bot.RedeemGamesInBackground has cognitive complexity 53 (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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":3650}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72e1e20241e5bd8239d3da6b4e28d6dd1614a9463e1dc135cbe03212bfbfcd0"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiWebHandler.SendTradeOffer (cognitive 52): ArchiWebHandler.SendTradeOffer has cognitive complexity 52 (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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f0149da83ac330993f7a662b9d867b721ee6233cc585867ecee09de6213953"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiHandler.GetMyInventoryAsync (cognitive 51): ArchiHandler.GetMyInventoryAsync has cognitive complexity 51 (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":"ArchiSteamFarm/Steam/Integration/ArchiHandler.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a72f408d38a2a264071143c13ff0e8effeeca1a7979328fd0bfbd641beb8e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiWebHandler.GetTradeOffers (cognitive 47): ArchiWebHandler.GetTradeOffers has cognitive complexity 47 (threshold 15). Of this number, 43 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ced6bf6a2a559188721dc912f338fd364bcdcf4b17df4ec4570a36bb337f0cc"}},{"ruleId":"D2","level":"warning","message":{"text":"WebBrowser.UrlGetToBinary (cognitive 46): WebBrowser.UrlGetToBinary has cognitive complexity 46 (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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d9ed390f73205e3bc5eb07d04c8295d6b7bfe3473b24d51898356a7ea771b0"}},{"ruleId":"D2","level":"warning","message":{"text":"WebBrowser.UrlGetToJsonObject (cognitive 45): WebBrowser.UrlGetToJsonObject has cognitive complexity 45 (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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b4fa07c7e1ebb070c44c3e40ae30740f2e006109ff5c6075d12c719f929ba3"}},{"ruleId":"D2","level":"warning","message":{"text":"WebBrowser.UrlPostToJsonObject (cognitive 45): WebBrowser.UrlPostToJsonObject has cognitive complexity 45 (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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf54da7ed441a9aa633083d7ab43a705613c7d29158c72301c5d801179fd13c"}},{"ruleId":"D2","level":"warning","message":{"text":"SteamChatMessage.GetMessageParts (cognitive 44): SteamChatMessage.GetMessageParts 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":"ArchiSteamFarm/Steam/Integration/SteamChatMessage.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65125eb3e11dce94b127471b146a695d893bfe5ffb73fbeef223d63ed8fecce"}},{"ruleId":"D2","level":"warning","message":{"text":"BotConfig.CheckValidation (cognitive 44): BotConfig.CheckValidation 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":"ArchiSteamFarm/Steam/Storage/BotConfig.cs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"4908d2e7329fba5a8bf0573073a85ea7e5be2d1849b51c2d0d3c04b166407e9c"}},{"ruleId":"D2","level":"warning","message":{"text":"Actions.HandleTwoFactorAuthenticationConfirmations (cognitive 43): Actions.HandleTwoFactorAuthenticationConfirmations has cognitive complexity 43 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Interaction/Actions.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cab54a7571690e5aa52c3a9fd57a684f1987edf27bd5923a11c4df03c059914"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.GetBots (cognitive 42): Bot.GetBots has cognitive complexity 42 (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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcbc3bbffe5ce3e4bb7cd94221009a7349bc52b944f2ccb40c571242cace83c"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiWebHandler.UrlPostToHtmlDocumentWithSession (cognitive 42): ArchiWebHandler.UrlPostToHtmlDocumentWithSession 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"953bf1df005c2fb9cef559482cd466f2a05704e6d65c6532dd4ec5716e0c8983"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiWebHandler.UrlPostToJsonObjectWithSession (cognitive 42): ArchiWebHandler.UrlPostToJsonObjectWithSession 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bca8bf9fd47b29dbb891337e627449ccce3c848fb335ab0c4391a344751e7be"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiWebHandler.UrlPostToJsonObjectWithSession (cognitive 42): ArchiWebHandler.UrlPostToJsonObjectWithSession 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f859762a44c3cfe7b37297a41211cf5bd2fe156564a12a5f430c9e9f01d6a5"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiWebHandler.UrlPostWithSession (cognitive 42): ArchiWebHandler.UrlPostWithSession 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ced8fcc4f3b4ddf01a55c7832c32e1b84fbe90836eb1f4c091777d0a4cf911"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.OnLoggedOn (cognitive 41): Bot.OnLoggedOn has cognitive complexity 41 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 2 belong 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":3372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce370e07ae92f850cc3e6d934b27bcffc259ec5b9a791741f28c44c042df98bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Trading.ShouldAcceptTrade (cognitive 39): Trading.ShouldAcceptTrade has cognitive complexity 39 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 2 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":"ArchiSteamFarm/Steam/Exchange/Trading.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a9a232d96a2f7bdb02315f747c6e60bbac4aa622f1b9c801f68633306b5c64"}},{"ruleId":"D2","level":"warning","message":{"text":"WebBrowser.UrlGetToHtmlDocument (cognitive 37): WebBrowser.UrlGetToHtmlDocument 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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6221d74d9e82db3de01d34ba220b0cb2c7507e9305417d914872e8d977e261e0"}},{"ruleId":"D2","level":"warning","message":{"text":"WebBrowser.UrlPostToHtmlDocument (cognitive 37): WebBrowser.UrlPostToHtmlDocument 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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bbaa71f5b3bc308940173003f69af902c0e95fc949012d3526c120a3404ec5"}},{"ruleId":"D2","level":"warning","message":{"text":"Trading.ParseActiveTrades (cognitive 36): Trading.ParseActiveTrades has cognitive complexity 36 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 4 belong to 3 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":"ArchiSteamFarm/Steam/Exchange/Trading.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4eefc6be965add92c3ee1f4a1461de24aba732c6f3e100bfa8c59cb9d894ba"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.ParseArgs (cognitive 35): Program.ParseArgs has cognitive complexity 35 (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":"ArchiSteamFarm/Program.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"6462eba4a56e23af14e681fc35f750f304a1b2749df6e4c1fc0beb358b33d96d"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiWebHandler.UrlGetToHtmlDocumentWithSession (cognitive 35): ArchiWebHandler.UrlGetToHtmlDocumentWithSession 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc8589f65a7767993ce94b5d0377fad50abfd1bd525a97d7961c2a2e4a45d48"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiWebHandler.UrlGetToJsonObjectWithSession (cognitive 35): ArchiWebHandler.UrlGetToJsonObjectWithSession 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2bde7ac989f0301f0c49dc91202e0b4a6aeea386811f719dd9e2aad1b52206"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiWebHandler.UrlHeadWithSession (cognitive 35): ArchiWebHandler.UrlHeadWithSession 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"588a2e6cc266f804b5558005dd697e5916d6058bda52730f77ffe40a6e673efc"}},{"ruleId":"D2","level":"warning","message":{"text":"SteamUtilities.TryParseGameIdentifier (cognitive 34): SteamUtilities.TryParseGameIdentifier has cognitive complexity 34 (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":"ArchiSteamFarm/Steam/Integration/SteamUtilities.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"069473a2a8be9992e2989cc5a5a7642b8c3d7e02809d2b723928ebba4be331d4"}},{"ruleId":"D2","level":"warning","message":{"text":"CardsFarmer.IsAnythingToFarm (cognitive 33): CardsFarmer.IsAnythingToFarm 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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc8fd894bfb3091299492da50cf499a900eb52f4bb7363bbe0af98ea6747ad8"}},{"ruleId":"D2","level":"warning","message":{"text":"Trading.IsTradeNeutralOrBetter (cognitive 33): Trading.IsTradeNeutralOrBetter has cognitive complexity 33 (threshold 15). Of this number, 32 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":"ArchiSteamFarm/Steam/Exchange/Trading.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a657e48f953a14778138430c05e1fe6f18017d38a2322c4d932d666bae2097a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Utilities.MoveAllUpdateFiles (cognitive 32): Utilities.MoveAllUpdateFiles 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":"ArchiSteamFarm/Core/Utilities.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c81a642278ea182b6220f9558c1fd7d8a7075ef792b149992f8f1cef8a1e41d"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.ResponsePrivacy (cognitive 32): Commands.ResponsePrivacy 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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":2416}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fe5111310fe94a7a7f021d7b16c75cbd57f88fa329751549d2d102f52b4860"}},{"ruleId":"D2","level":"warning","message":{"text":"CrossProcessFileBasedSemaphore.EnsureFileExists (cognitive 31): CrossProcessFileBasedSemaphore.EnsureFileExists 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":"ArchiSteamFarm/Helpers/CrossProcessFileBasedSemaphore.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"55710297d164c09c8050d70de82ea4df4b683e05a29cd9904b537575101c46f7"}},{"ruleId":"D2","level":"warning","message":{"text":"BotController.BotPost (cognitive 31): BotController.BotPost 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":"ArchiSteamFarm/IPC/Controllers/Api/BotController.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ab461eadbe351f58423f8c54483785fecf6a4a9065298cfc07ca0fea4ebe23"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiAuthenticationMiddleware.GetAuthenticationStatus (cognitive 31): ApiAuthenticationMiddleware.GetAuthenticationStatus 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":"ArchiSteamFarm/IPC/Integration/ApiAuthenticationMiddleware.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"694878fe3ea6ccaaa697d41aa571a1cb1e570b9b1e46aa8d877cbf12d120b264"}},{"ruleId":"D2","level":"warning","message":{"text":"ASF.UpdateASF (cognitive 30): ASF.UpdateASF 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: 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":"ArchiSteamFarm/Core/ASF.cs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4026865c6ad3fdef40d3865ebf89a95d88b557643d1ec00dfa039ea20d45c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiKestrel.ConfigureApp (cognitive 30): ArchiKestrel.ConfigureApp 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":"ArchiSteamFarm/IPC/ArchiKestrel.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"108fc1ad806e0f43e759fbbc507b84757b57579b92c1acb145e59227caaa8fc8"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeController.TypeGet (cognitive 30): TypeController.TypeGet 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":"ArchiSteamFarm/IPC/Controllers/Api/TypeController.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"80562759b3701e2a1b3252f60f5cd42700e31d116c0db04a9a883651da5e3234"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.OnConnected (cognitive 30): Bot.OnConnected 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":2727}}}],"partialFingerprints":{"codehealthFindingId/v1":"99350861cfcdadd86bdcb26d6f63620bb2888390046a5bb0b9aeaf0360976113"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.OnFriendsList (cognitive 30): Bot.OnFriendsList has cognitive complexity 30 (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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":3014}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa92d741bec63b13765214a87b17539ece7e2e7bfb77426e9609ea98573f0ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"CardsFarmer.SortGamesToFarm (cognitive 30): CardsFarmer.SortGamesToFarm has cognitive complexity 30 (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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"2420510b96fe96fd7fa8a413f1a95fa1db32fc66cd31c10b794ff9ab44b062eb"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiWebHandler.GetAppList (cognitive 30): ArchiWebHandler.GetAppList 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1642}}}],"partialFingerprints":{"codehealthFindingId/v1":"be21ffb1dfcecdf35268a483f0f9f70c559430aa113c780fa4906502764187b2"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.GetPackagesData (cognitive 29): Bot.GetPackagesData has cognitive complexity 29 (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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3866da2d646e780d0d4ae7fd327a655032b4a25f9445b455dd43a5af57ed486"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.HandleMessage (cognitive 29): Commands.HandleMessage has cognitive complexity 29 (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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ed76d74cd897e2fab0d8e37072ed7b8081998c6006262765268bc2e1d5720a"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.HandleMessage (cognitive 29): Commands.HandleMessage has cognitive complexity 29 (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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"150575f0cd3bc1cfe5d519e3ff46df6048b5c2d029bdd549c19ae996025018a8"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsCore.InitPlugins (cognitive 28): PluginsCore.InitPlugins 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":"ArchiSteamFarm/Plugins/PluginsCore.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8dc7081b4ecab1ebe8204d891b2e950039b5469adee067dc494afe85586f8b"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.InitCore (cognitive 28): Program.InitCore 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":"ArchiSteamFarm/Program.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9efeda80ccd2a18464917369cea6c0dbafcd78952545b23417d7de891b1afcb"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.InitModules (cognitive 26): Bot.InitModules 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"8426d3235c7311aab74570ee82c5067337d7f1b5aa09d189ffb8c6f046d0f5a1"}},{"ruleId":"D2","level":"warning","message":{"text":"CardsFarmer.StartFarming (cognitive 26): CardsFarmer.StartFarming 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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"79464f44a6f86e05d0d74b28fddb7ddd09f2e11cb00226a3d6a54fb326f53432"}},{"ruleId":"D2","level":"warning","message":{"text":"CardsFarmer.GetGameCardsInfo (cognitive 26): CardsFarmer.GetGameCardsInfo 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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3c3544cdd42efba25832f7e722e6e1e79ccd29956829e15ec5a47e8598e963"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.OnLicenseList (cognitive 24): Bot.OnLicenseList 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":3237}}}],"partialFingerprints":{"codehealthFindingId/v1":"177085979ef0615e12070f4120ecd6b70e70fef5afbcbb40f319f154a3aa7852"}},{"ruleId":"D2","level":"warning","message":{"text":"Logging.HandleConsoleInteractively (cognitive 23): Logging.HandleConsoleInteractively 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":"ArchiSteamFarm/NLog/Logging.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d143627db148071d37cc33b1d095e6de79335a1beade2b49baca15337c10073"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.GetItemsForFullSets (cognitive 23): Bot.GetItemsForFullSets has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c4c34eed315a2e3afc5a87a6960b17a3f6f66033633e5ff765851168a740af"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.ResetGamesPlayed (cognitive 23): Bot.ResetGamesPlayed has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":3824}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d229547f0ae3a37771a73d01bfd5792b4446d5a25e8ccfa5e469c5733f9d2af"}},{"ruleId":"D2","level":"warning","message":{"text":"CardsFarmer.IsAnythingToFarmRisky (cognitive 23): CardsFarmer.IsAnythingToFarmRisky has cognitive complexity 23 (threshold 15). Of this number, 21 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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"100ca06a61f57b313be08d1b0c90b564faf9c81f55332a9bdd725a3893308357"}},{"ruleId":"D2","level":"warning","message":{"text":"MatchingUtilities.GetTradableItemsFromInventory (cognitive 22): MatchingUtilities.GetTradableItemsFromInventory has cognitive complexity 22 (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":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/MatchingUtilities.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8578fa4c49867a33c9f21f150954a517c165f31bc79e26cd2c9ce38b7accb16"}},{"ruleId":"D2","level":"warning","message":{"text":"SteamTokenDumperPlugin.OnASFInit (cognitive 22): SteamTokenDumperPlugin.OnASFInit has cognitive complexity 22 (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":"ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18fee5eee99f337f0211772990511c78f5ca1e43e0cc1f20107b8d6de9a2e26"}},{"ruleId":"D2","level":"warning","message":{"text":"SteamTokenDumperPlugin.SubmitData (cognitive 22): SteamTokenDumperPlugin.SubmitData has cognitive complexity 22 (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":"ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"190f5469b7362de85e22cde5df75449d93f4909c53dba0ad1dc9b9b03df5e13e"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiKestrel.ConfigureServices (cognitive 22): ArchiKestrel.ConfigureServices has cognitive complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. 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":"ArchiSteamFarm/IPC/ArchiKestrel.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d0411847ea9c2ff6737a09d085a6c1f76a1eac4a1d101c8b7d1daf6b264d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.GetPossiblyCompletedBadgeAppIDs (cognitive 22): Bot.GetPossiblyCompletedBadgeAppIDs has cognitive complexity 22 (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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"350bdc255a593cd3de1b2b5e15be6ef4abea9c28d9486204dc7b68c8336ab01f"}},{"ruleId":"D2","level":"warning","message":{"text":"Actions.SendInventory (cognitive 22): Actions.SendInventory 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":"ArchiSteamFarm/Steam/Interaction/Actions.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"efec1e459b710be28643a71b9dbe1fc70c96ca6f9dc1f7ca28b783d721c1e317"}},{"ruleId":"D2","level":"warning","message":{"text":"WebBrowser.UrlGetToStream (cognitive 22): WebBrowser.UrlGetToStream has cognitive complexity 22 (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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb8c4fde5d9b8b9c0847ea78d46eebe95a3b1f568583a41db988a370fc39e55"}},{"ruleId":"D2","level":"warning","message":{"text":"WebBrowser.UrlHead (cognitive 22): WebBrowser.UrlHead has cognitive complexity 22 (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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"afab385cbc2ce07864d57cab7e87a4ad689115b400754df945d653a534667dbf"}},{"ruleId":"D2","level":"warning","message":{"text":"WebBrowser.UrlPost (cognitive 22): WebBrowser.UrlPost has cognitive complexity 22 (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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8783483030ca6b6dcb17e270ff308bfb9eb44abb5f39e5a02da99c74884fa1f"}},{"ruleId":"D2","level":"warning","message":{"text":"WebBrowser.UrlPostToStream (cognitive 22): WebBrowser.UrlPostToStream has cognitive complexity 22 (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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ccf04b4fc9dc033eba23313e1c608e26a57bf9691c1797b3ac38216874e681"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.ResponseAddLicense (cognitive 21): Commands.ResponseAddLicense 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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eca196a3497eaebfb90acff6c8ac07569aedf1bb116b1b14ef49f87f57720fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.HandleLoginResult (cognitive 20): Bot.HandleLoginResult 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dcb43c1e3ce12e0d0d2a6004f3ad4e87f4e936d0f04d7c8404b4d637c71059"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteCommunication.OnHeartBeatTimer (cognitive 19): RemoteCommunication.OnHeartBeatTimer 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs"},"region":{"startLine":1691}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cea12ed98af1f4ba9f55c088305df5713e80c9518f6072934c0e3f7e5ece44f"}},{"ruleId":"D2","level":"warning","message":{"text":"Bot.SendCompletedSets (cognitive 19): Bot.SendCompletedSets 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: 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":3866}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5599ff1ac100e4a6490733e760f5397373782d101d70674c89001b499a7b6fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiWebHandler.GetCombinedTradeHoldDurationAgainstUser (cognitive 19): ArchiWebHandler.GetCombinedTradeHoldDurationAgainstUser 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"e275793372e40086515a680f7a8cd1ad2ca1ca571dec50bda61b0dea3bb46ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"CrossProcessFileBasedSemaphore.WaitAsync (cognitive 18): CrossProcessFileBasedSemaphore.WaitAsync 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":"ArchiSteamFarm/Helpers/CrossProcessFileBasedSemaphore.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5b43fe467300ad70f5c57de358ba166a8a89fbf858e9890b72299e70078660"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.ResponseRedeemPoints (cognitive 18): Commands.ResponseRedeemPoints 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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":2857}}}],"partialFingerprints":{"codehealthFindingId/v1":"87477de64cad8ca7dda9644f391cfd42bc26c31d21b74cd35f487cec893b9a15"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiKestrel.CreateWebApplication (cognitive 17): ArchiKestrel.CreateWebApplication has cognitive complexity 17 (threshold 15). Of this number, 15 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":"ArchiSteamFarm/IPC/ArchiKestrel.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"557b2219e2375e5ce579cf6ff0b528e87d78a99447adcd4c3416e6a57fe55b31"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiKestrel.StartInternally (cognitive 17): ArchiKestrel.StartInternally 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":"ArchiSteamFarm/IPC/ArchiKestrel.cs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36c7214464e79d6211e19e2324df837e0a558a4e90bb83bb0be9bf2b3c412b6"}},{"ruleId":"D2","level":"warning","message":{"text":"SteamPICSChanges.RefreshChanges (cognitive 17): SteamPICSChanges.RefreshChanges 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":"ArchiSteamFarm/Steam/Integration/SteamPICSChanges.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7909f14f58d3416046419f7d698b1393b4b136fa7084e64a4f39924733ec69ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.ResponseTwoFactorFinalized (cognitive 16): Commands.ResponseTwoFactorFinalized 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm.OfficialPlugins.MobileAuthenticator/Commands.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dee7c5b7ff4838c5ca52c57aece453dfc9ef178b772956ec49105912ede6e1d"}},{"ruleId":"D2","level":"warning","message":{"text":"BotController.AddLicense (cognitive 16): BotController.AddLicense 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":"ArchiSteamFarm/IPC/Controllers/Api/BotController.cs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b70a7c7a4ef54792a7ff1c1b2809ac43e7239ba6efef2f63e1045e7226dad2"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobalConfig.CheckValidation (cognitive 16): GlobalConfig.CheckValidation 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":"ArchiSteamFarm/Storage/GlobalConfig.cs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fd0894bc7d02a2d330bbcec162ce5763b9af4cd6000870ef0b9e086055e6a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Steam/Bot.cs: FileTooLong \u2014 2357 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"577ae9bbd7637bbbc59246d0dad0dc21ef72279265bd31e2b9fe9409f3959d53"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Interaction/Commands.cs: FileTooLong \u2014 2111 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c99976ada4e26371d4fb9c26ad03aa309128303a6e05969a49c826719228b29"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Commands: TooManyMethods \u2014 2087 significant lines (blank, comment-only and punctuation-only lines excluded), 118 methods. 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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c7c5950f21749c4c9ea079cc3b0eff2e37d960020b8ef1bed22acf28316fef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Bot: TooManyMethods \u2014 2318 significant lines (blank, comment-only and punctuation-only lines excluded), 107 methods. 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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cded89e68f6b01f9902593dc6b64f362cc28d6f0e1c5533269a3ef0195ceb18a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Integration/ArchiWebHandler.cs: FileTooLong \u2014 1314 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68f586d8690467fcbf00027ee50614ad6dfd03bc9c6567c222991d1ede0c5c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteCommunication: ClassTooLong \u2014 904 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. 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":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6c93c6646b750b3f8f49d0dbb859adf8e1e02b92280c6dece383169d79179a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CardsFarmer: ClassTooLong \u2014 774 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. 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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c15479855e4960df1ba48684e710923ca57656276949e623ed671a598404d11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs: FileTooLong \u2014 931 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"942dfd2c967b59ec9de894609472db0525eda903b731f29b5972364ca63058db"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ArchiWebHandler: TooManyMethods \u2014 1287 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. 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":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f65da88dbff8cb0c9ca6c9f56eb103648eeb876aac3393873257ab3203c685"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Cards/CardsFarmer.cs: FileTooLong \u2014 799 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea67ebcad3d0fd7e5be1d2442ec21dc5bc433106a7e82eda8e2d4d902eee7cff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Integration/ArchiHandler.cs: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"ArchiSteamFarm/Steam/Integration/ArchiHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b2305330de4127f96e8a8b8d8ba592079687f913f4f78d7913ff62978153b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BotConfig: TooManyMethods \u2014 482 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. 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":"ArchiSteamFarm/Steam/Storage/BotConfig.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e486c71a618a41c08451c1aebd8c786da6234d0fb1dd67733916a8699985070f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GlobalConfig: TooManyMethods \u2014 377 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. 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":"ArchiSteamFarm/Storage/GlobalConfig.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"342c0c440c54b9f85b0ea72b3efeb387ea2cf1af2d67ea08fb53cdfeeadb1239"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebBrowser: ClassTooLong \u2014 500 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. 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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f06ab83545f6c6291c67134cd716f8981fe01c0f448d5ac2adffe2e10d5606"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ArchiHandler: TooManyMethods \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. 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":"ArchiSteamFarm/Steam/Integration/ArchiHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0a8e8e97c303d8fba843af741fa635d4ed68e8b3edb031fbbe626759e0f8be"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ASF: TooManyMethods \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. 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":"ArchiSteamFarm/Core/ASF.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9edae54f803a6497fd68c5bd62ef07e1dc82a98e504ee429fae0ed25ab9355"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Actions: TooManyMethods \u2014 364 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. 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":"ArchiSteamFarm/Steam/Interaction/Actions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ebf9e94105fd5ee6e0178b30efe9392a672033cb545967b4dcca90cad78095"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PluginsCore: TooManyMethods \u2014 482 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. 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":"ArchiSteamFarm/Plugins/PluginsCore.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67c1d7c651133876a29febdcf42f459fa99558b4dfb462faf1e5fd98106fea1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/ASF.cs: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"ArchiSteamFarm/Core/ASF.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2911b7b1059e8db5da38a0d3e8810aaa5b1876d1c709bb9e3948aa22bf212ffc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Web/WebBrowser.cs: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff960188e18f223b5428e080ac7000c5c58e943821bb415250c81ff157295da"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BotDatabase: TooManyMethods \u2014 230 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. 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":"ArchiSteamFarm/Steam/Storage/BotDatabase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"658ab4a6141c7c9c524861ce6477bcb07e409c4ce594acd7335d96c1c3ea2992"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Plugins/PluginsCore.cs: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"ArchiSteamFarm/Plugins/PluginsCore.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acca85e1be01b2b3daaf7f60dce524ab05b8c142b183c9f37a7f2485904f525"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Storage/BotConfig.cs: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"ArchiSteamFarm/Steam/Storage/BotConfig.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a84a64c8d2e0b1083c70ed3a8ae81ad433ad5ac82f9a09e22f5584b1a02dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ArchiSteamFarm/Steam/Storage/BotConfig.cs:159-178 | ArchiSteamFarm/Storage/GlobalConfig.cs:157-176 \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 \u0060ArchiSteamFarm/Steam/Storage/BotConfig.cs:159\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":"ArchiSteamFarm/Steam/Storage/BotConfig.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c040aa2868dc03f9cd856d5fbaf46d0a6965f21257274ba61ca76d0d95a3121e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ArchiSteamFarm/Steam/Interaction/Commands.cs:2461-2479 | ArchiSteamFarm/Steam/Interaction/Commands.cs:2488-2506 \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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":2461}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dfc3fcfb1716d1b237fb1aea89a05130a6bf505b24413a0ecb584523efe728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ArchiSteamFarm/Core/ASF.cs:463-480 | ArchiSteamFarm/Core/ASF.cs:502-519 \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 \u0060ArchiSteamFarm/Core/ASF.cs:463\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":"ArchiSteamFarm/Core/ASF.cs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef978fd2a1ffe1f371319ea44abf5862053e188eee38d0c7743144943a10d7c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ArchiSteamFarm/Web/GitHub/Data/ReleaseResponse.cs:42-59 | ArchiSteamFarm/Web/GitHub/Data/ReleaseResponse.cs:65-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. 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":"ArchiSteamFarm/Web/GitHub/Data/ReleaseResponse.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e324ccf2d5373a9306e7e1c606596f5e43061bc1078b2413ebc0c2271d78fcc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8): ArchiSteamFarm/Steam/Interaction/Commands.cs:1293-1307 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1356-1370 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1452-1466 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1522-1536 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1899-1913 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1950-1964 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3327-3341 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3378-3392 \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 \u0060ArchiSteamFarm/Steam/Interaction/Commands.cs:1293\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab171f6594eefb5f572f07ed5c068b587903c14aef09ce2f3c8726a11a8564e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ArchiSteamFarm.OfficialPlugins.ItemsMatcher/Commands.cs:105-119 | ArchiSteamFarm.OfficialPlugins.MobileAuthenticator/Commands.cs:346-360 \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 \u0060ArchiSteamFarm.OfficialPlugins.ItemsMatcher/Commands.cs:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/Commands.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8e8f4051e66f9b11b41c22086cd95f4ae33e82923ac1571005cc7118f1d3a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 19): ArchiSteamFarm/Steam/Interaction/Commands.cs:562-575 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1134-1147 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1168-1181 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1245-1258 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1273-1286 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1432-1445 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1710-1723 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1748-1761 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1790-1803 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1879-1892 | ArchiSteamFarm/Steam/Interaction/Commands.cs:2396-2409 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3078-3091 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3126-3139 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3160-3173 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3237-3250 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3279-3292 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3307-3320 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3640-3653 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3751-3764 \u2014 all 19 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 \u0060ArchiSteamFarm/Steam/Interaction/Commands.cs:562\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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b31a327e70d201c5f4d732c86f0fec2611a5695baa3d1db6e4e06793083715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): ArchiSteamFarm/Steam/Interaction/Commands.cs:751-763 | ArchiSteamFarm/Steam/Interaction/Commands.cs:902-914 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1650-1662 \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 \u0060ArchiSteamFarm/Steam/Interaction/Commands.cs:751\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a24133214acf83710c05ec843fb16a51eb17c6ff4e69445d6b8f3d47c003910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ArchiSteamFarm/Steam/Interaction/Commands.cs:809-821 | ArchiSteamFarm/Steam/Interaction/Commands.cs:976-988 \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 \u0060ArchiSteamFarm/Steam/Interaction/Commands.cs:809\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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"430af1fd03f514307e80b22c1eb5e64040803ebd533e6f372094a974b604203d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 16): ArchiSteamFarm/Steam/Interaction/Commands.cs:701-712 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1335-1346 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1403-1414 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1501-1512 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1573-1584 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1929-1940 | ArchiSteamFarm/Steam/Interaction/Commands.cs:1989-2000 | ArchiSteamFarm/Steam/Interaction/Commands.cs:2033-2044 | ArchiSteamFarm/Steam/Interaction/Commands.cs:2203-2214 | ArchiSteamFarm/Steam/Interaction/Commands.cs:2357-2368 | ArchiSteamFarm/Steam/Interaction/Commands.cs:2548-2559 | ArchiSteamFarm/Steam/Interaction/Commands.cs:2950-2961 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3039-3050 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3357-3368 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3417-3428 | ArchiSteamFarm/Steam/Interaction/Commands.cs:3476-3487 \u2014 all 16 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 \u0060ArchiSteamFarm/Steam/Interaction/Commands.cs:701\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b8dcbd99f37ed1975d47031f7d5a0890e2307d95ac0ccd43af795af576cf3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ArchiSteamFarm/Steam/Interaction/Commands.cs:2319-2330 | ArchiSteamFarm/Steam/Interaction/Commands.cs:2915-2926 \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 \u0060ArchiSteamFarm/Steam/Interaction/Commands.cs:2319\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":2319}}}],"partialFingerprints":{"codehealthFindingId/v1":"518d61c8e080e16e95221188929452bb3c2261b8b847714820745d2aa68af46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ArchiSteamFarm.CustomPlugins.SignInWithSteam/SignInWithSteamController.cs:69-79 | ArchiSteamFarm.CustomPlugins.SignInWithSteam/SignInWithSteamController.cs:85-95 \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 \u0060ArchiSteamFarm.CustomPlugins.SignInWithSteam/SignInWithSteamController.cs:69\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":"ArchiSteamFarm.CustomPlugins.SignInWithSteam/SignInWithSteamController.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3c48ca5ca29a83ee55c128d68574655a97ecb9528d3d9640bb6c9a26b2370a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ArchiSteamFarm/IPC/Integration/SwaggerSecurityCriticalAttribute.cs:42-52 | ArchiSteamFarm/IPC/Integration/SwaggerValidValuesAttribute.cs:59-69 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ArchiSteamFarm/IPC/Integration/SwaggerSecurityCriticalAttribute.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":"ArchiSteamFarm/IPC/Integration/SwaggerSecurityCriticalAttribute.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc949fc38da598f45575dd4fd769e6acec59bd49a5b58eb9fef0c1dfa0d40db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ArchiSteamFarm/Steam/Interaction/Commands.cs:631-641 | ArchiSteamFarm/Steam/Interaction/Commands.cs:2978-2988 \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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76ad6f62dc730cad60e47ec9754232f6b032276253d1f18a7b4e5f229a11bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): ArchiSteamFarm/IPC/Controllers/Api/BotController.cs:205-214 | ArchiSteamFarm/IPC/Controllers/Api/BotController.cs:502-511 | ArchiSteamFarm/IPC/Controllers/Api/BotController.cs:520-529 | ArchiSteamFarm/IPC/Controllers/Api/BotController.cs:538-547 | ArchiSteamFarm/IPC/Controllers/Api/TwoFactorAuthenticationController.cs:104-113 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ArchiSteamFarm/IPC/Controllers/Api/BotController.cs:205\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":"ArchiSteamFarm/IPC/Controllers/Api/BotController.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9103416e24fbb42abd9269ead18c9a73eda124cd137260f87b5197e9c00ffbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ArchiSteamFarm.OfficialPlugins.ItemsMatcher/MatchingUtilities.cs:71-80 | ArchiSteamFarm/Steam/Exchange/Trading.cs:264-273 \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 \u0060ArchiSteamFarm.OfficialPlugins.ItemsMatcher/MatchingUtilities.cs:71\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":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/MatchingUtilities.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44f60acfefe945ccbd4fba2effedca3fac02c7c4a49707411378d0b1df3c7c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ArchiSteamFarm/IPC/Controllers/Api/BotController.cs:81-90 | ArchiSteamFarm/IPC/Controllers/Api/BotController.cs:187-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ArchiSteamFarm/IPC/Controllers/Api/BotController.cs:81\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":"ArchiSteamFarm/IPC/Controllers/Api/BotController.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8513c4098c9c5c41b5913f41b0a447c42f021154938dd5d3010020fc2125c377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ArchiSteamFarm/Steam/Interaction/Commands.cs:787-795 | ArchiSteamFarm/Steam/Interaction/Commands.cs:962-970 \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 \u0060ArchiSteamFarm/Steam/Interaction/Commands.cs:787\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":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9d17077000b0bdaf5d2004853b0356cfc1f5f9356faaecd3dbe914809f4229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ArchiSteamFarm/Steam/Exchange/Trading.cs:92-97 | ArchiSteamFarm/Steam/Exchange/Trading.cs:99-104 \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":"ArchiSteamFarm/Steam/Exchange/Trading.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"67377a51351f4595c723b1727090ac87eb343b638299eb0eaa6ecb27ada93b29"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ArchiSteamFarm: ArchiSteamFarm: abstractness 0.10, instability 0.00, distance 0.90 \u2014 an application entry point, so it is concrete by design \u2014 the distance is expected; what is worth checking is that other projects depend on it at all, since a host should be a leaf of the graph."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a6ccc38febc344b34a3115677f666702a6c38f912c25e15c0f696d8c9b07ed6d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BotDatabase (LCOM4 8): BotDatabase\u0027s methods form 8 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Storage/BotDatabase.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"102c947789f93d3f66811e4e0d0537ecc27082aafc2fc200db8a97c507a351b2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArchiHandler (LCOM4 7): ArchiHandler\u0027s methods form 7 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Integration/ArchiHandler.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"386dfab2d61413f06cef9decebf5565d4bc75627c409cec71589e6ea810ccaff"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GlobalDatabase (LCOM4 4): GlobalDatabase\u0027s methods form 4 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Storage/GlobalDatabase.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"630d136e13941b87015e2a47ea99843b0a418f60c7fd388b80aec255f9e128d0"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 no coverage collector is wired up: Coverage NOT MEASURED: the test suite built and its tests PASSED, but the run produced no coverage data \u2014 \u0060--collect:\u0022XPlat Code Coverage\u0022\u0060 found no data collector, which is what a test project with no \u0060coverlet.collector\u0060 PackageReference does. Nothing is wrong with the suite or the build; there is simply no coverage instrumentation wired up. Add a \u0060coverlet.collector\u0060 PackageReference to the test project(s) (or commit the Cobertura/OpenCover/lcov report your CI produces) and real coverage will be measured. It is excluded from the score rather than counted as a near-zero defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ConcurrentDictionarySupportsWritingDuringLinq: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm.Tests/ConcurrentTests.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"445b6de20436cc7be41f071a08b448232899f959cc72f93c514c4f72549e61ed"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ConcurrentHashSetSupportsWritingDuringLinq: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm.Tests/ConcurrentTests.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8136095feb84b6a91a5e88f90d22f6f6d34b39c079f09410133779bd01cb200"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ConcurrentListSupportsWritingDuringLinq: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm.Tests/ConcurrentTests.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f28675b59b7a56848bb9fd43b64e18c582a6bf1d123e29ea7dacf89a81eadf3"}},{"ruleId":"D12","level":"warning","message":{"text":"Prerelease dependency: Microsoft.CodeAnalysis.ResxSourceGenerator: Microsoft.CodeAnalysis.ResxSourceGenerator resolves to 5.0.0-1.25277.114, a prerelease build. Prerelease packages carry no support policy, may change breaking between previews and can be unlisted \u2014 pin a stable release before shipping, or record the reason this preview is required."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c09ac456ca2af1b3a94327e6d668aea1d557825534088948e65753f095092866"}},{"ruleId":"D12","level":"warning","message":{"text":"Prerelease dependency: OpenTelemetry.Exporter.Prometheus.AspNetCore: OpenTelemetry.Exporter.Prometheus.AspNetCore resolves to 1.17.0-beta.1, a prerelease build. Prerelease packages carry no support policy, may change breaking between previews and can be unlisted \u2014 pin a stable release before shipping, or record the reason this preview is required."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"374a942dab3621b8f5d661aa15ff3ab19650b896e978375b911ad7a29c15a9ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs: ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs changed 6 times in last 90 days, max complexity 109. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e8b4a3cd5cf30367e6fa9ad32f0e0cb178fd8ca352d04beaeb3089d1d93a43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArchiSteamFarm/Steam/Interaction/Commands.cs: ArchiSteamFarm/Steam/Interaction/Commands.cs changed 4 times in last 90 days, max complexity 123. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Interaction/Commands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cf69b2951f5205518826d4fe1ae803bef7403c73b748f9a1f3cb6b4f9fee80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs: ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs changed 7 times in last 90 days, max complexity 43. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1082e211b1eca66337e42064a182a47fedaca1f34159e15f4b09f7011f0f8255"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArchiSteamFarm/Steam/Integration/ArchiHandler.cs: ArchiSteamFarm/Steam/Integration/ArchiHandler.cs changed 3 times in last 90 days, max complexity 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Integration/ArchiHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"810976098dc81338e9e9cb4c6a9497264819bc3e1e817d46beba5b2887d15abd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArchiSteamFarm/Steam/Exchange/Trading.cs: ArchiSteamFarm/Steam/Exchange/Trading.cs changed 3 times in last 90 days, max complexity 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Exchange/Trading.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0ad5318e3911f154c3d292c51bd8b894da167a5287484532ef0723dd963e52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArchiSteamFarm/Steam/Interaction/Actions.cs: ArchiSteamFarm/Steam/Interaction/Actions.cs changed 4 times in last 90 days, max complexity 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Interaction/Actions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0fb3a86d25c3161b91aa49c8df0d11816496d4890132a77e3411ac57d79e62"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArchiSteamFarm/Steam/Cards/CardsFarmer.cs: ArchiSteamFarm/Steam/Cards/CardsFarmer.cs changed 2 times in last 90 days, max complexity 46. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Steam/Cards/CardsFarmer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aab3ae9b3e1e84f9a02b142b428f38fae2e6a9848f56065fabb2b7a9edae775"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArchiSteamFarm/Web/WebBrowser.cs: ArchiSteamFarm/Web/WebBrowser.cs changed 2 times in last 90 days, max complexity 40. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Web/WebBrowser.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2595166258c1d53410a6e185d05ee1b0b3d1149112e42ec6712bb4c5ef2bbc80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArchiSteamFarm/IPC/ArchiKestrel.cs: ArchiSteamFarm/IPC/ArchiKestrel.cs changed 2 times in last 90 days, max complexity 21. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/IPC/ArchiKestrel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87abc891edd09c3c474cad37d2c8bff1168c284f78a3c2626383b0e012cbd2c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ArchiSteamFarm/Storage/GlobalConfig.cs: ArchiSteamFarm/Storage/GlobalConfig.cs changed 2 times in last 90 days, max complexity 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/Storage/GlobalConfig.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11ea1df8f456a3f8fcfc6c8f637021a4d65178bfb5ef9716cb223aa997e0c1d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 55 significant file(s) lose their only recent owner: ArchiSteamFarm/Steam/Interaction/Commands.cs, ArchiSteamFarm/Steam/Bot.cs, ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs, ArchiSteamFarm.OfficialPlugins.ItemsMatcher/RemoteCommunication.cs, ArchiSteamFarm/Web/WebBrowser.cs, ArchiSteamFarm/Steam/Integration/ArchiHandler.cs, ArchiSteamFarm/Core/ASF.cs, ArchiSteamFarm/Plugins/PluginsCore.cs (\u002B47 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"66e17defe82fd71babeb77c050793eae58c25f9e902c831f558b7aadf1b2e0db"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage repeated across 45 files: The identical BareSuppressMessage (\u0060SuppressMessage\u0060) appears in 45 files (48 occurrences) \u2014 a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 48 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm.CustomPlugins.ExamplePlugin/MeowResponse.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55a1b73931b5e6a1efe713c7a9f317c07f122377cc79ace1604ca97887ebe2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is a total hack, I wish we could get to the bottom of this hole and find out what is really going on there in regards to the above \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":"ArchiSteamFarm/Core/ASF.cs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cee8253acabbbc571316aee31f63033c1db786b586f5a744ab8381d9388d29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Maybe eventually we can get rid of this, https://github.com/aspnet/AspNetCore/issues/5898"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/IPC/ArchiKestrel.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c664565d123d4c5b4edfd835278ad88512694479640c7bc6685e5b82a3c621f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Old call should be removed eventually when Steam stops supporting both systems at once \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":"ArchiSteamFarm/Steam/Bot.cs"},"region":{"startLine":2435}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf320780e6faf828ae2d73911eb186a338e56a32c412a3702074ac9819bfdf3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if this workaround is still needed \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":"ArchiSteamFarm/Steam/Integration/Callbacks/UserNotificationsCallback.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dd08c912ea22361f3fa44c4ea4c1455315b4c7adacc4d01b41c846b46d708e"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1515 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ArchiSteamFarm/ArchiSteamFarm.csproj"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf6f9489bdfb9e537bfc355622dcd4c705cc7b344457919c0663236f6c3b94b"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1028 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd41b8104da1f38ac743cea248c07f0dc802a16b69c5a0eb9c6edd987c3b9d8"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1031 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a0e85ad756e7d0f6ce8373e44434e006cc9b0de13bce0f36bcef9388d79083"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS1591 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6848c0f65c8e9137bf40379b5b6e78444cc0bae7a0f0b5f49bd4bc2dcf0dd5fb"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found at common paths; consider documenting architectural decisions in Docs/ADL/ or similar."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 36k LoC across 9 projects the codebase is large and multi-module, so explicit bounded contexts are needed. Name this codebase\u0027s bounded contexts (\u22652 module groups, e.g. per subsystem) so cross-boundary type coupling can be assessed. Declare them in \u0060.codehealth/config.yaml\u0060 at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it \u2014 e.g. \u0060architecture:\u0060 \u2192 \u0060contexts:\u0060 \u2192 \u0060Billing: [\u0022src/billing\u0022, \u0022Acme.Billing\u0022]\u0060, \u0060Catalog: [\u0022src/catalog\u0022, \u0022Acme.Catalog\u0022]\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}},{"ruleId":"D26","level":"note","message":{"text":"Split ArchiSteamFarm: A sprawling farm project whose 30k LoC and 26 namespaces are all over the place. Suggested: by namespace: Steam, Power, Cooling, Network"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0f6aeb4d45791b611e35f77fddfb47a57b3c92efa10b0d6151d67911981268db"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"701aaed3b7ef3a34414b44861332b791f3818d96c28bdd4411a470f368ca3082"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b45ac08d36741a9aeb983bcc9396470f7a2c5bfd82f03082f30e052530d268f7"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32c61c3f7e8b0cec10b8188c36e277bef84a5c31bdd637fb3aaf9f4f7ced4dac"},"taxa":[{"id":"CWE-78","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":"0c61c83d54f531ab916e25c9668db3872dbb927323475a4b66057ef9178ddd27"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"c3609cc3a4ca1e157213b714002ff59f1b5455b070cacb1cbf727fd5d817e9e2"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c62f4e48c00a24342ea3bf3024bf882e79497cb0a9f113cece54cd2c6fc69775"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ff0b9d8ead6b18ee5e2ee0d683f551eb19774b05f2b013d24b2894826160b9b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b67787f58bbdcde79a43cc08af597219f8bc8ccd5a82b8588a8f7af6b62ec402"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a922b54403e681b696b6f26d1f9095bc6a7b0dc55a31434bd8d506a0293bc6bf"}},{"ruleId":"D39","level":"note","message":{"text":"IL efficiency: 11 authored method(s) exceed the IL budget: 11 of 1922 first-party methods compile to oversized IL bodies (\u003E 250 instructions); worst: ArchiSteamFarm.Steam.Storage.BotConfig.CheckValidation, 510 IL instructions; large bodies don\u0027t JIT-inline, which pulled this dimension to 9.9/10; splitting the hottest bodies recovers the most."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ebbd29f5ad901b8e39cef54aee13ac949453c5247c797c818ef47773eca9c291"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"CWE-209","shortDescription":{"text":"CWE-209"},"helpUri":"https://cwe.mitre.org/data/definitions/209.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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"CWE-327","shortDescription":{"text":"CWE-327"},"helpUri":"https://cwe.mitre.org/data/definitions/327.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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"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":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":10,"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."]}]}