{"$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":"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"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":"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"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.GameLoad (cyclomatic 106): MainWindow.GameLoad has cyclomatic complexity 106 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 77 belong to 12 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03d525017655f11ee2032ea4e72afbc462b629a274814489dbb9233f514a129"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreMOD.CoreMOD.ctor (cyclomatic 81): CoreMOD.CoreMOD.ctor has cyclomatic complexity 81 (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":"VPet-Simulator.Windows/Function/CoreMOD.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4851f20c3db8c59fc5ade42cfb7d02acc7f76425a0512448f04784d3acbfeee"}},{"ruleId":"D1","level":"warning","message":{"text":"DIYViewer.TextBox_PreviewKeyDown (cyclomatic 73): DIYViewer.TextBox_PreviewKeyDown has cyclomatic complexity 73 (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":"VPet-Simulator.Windows/WinDesign/DIYViewer.xaml.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5540ecb00846c3908d15a256b1c7fb02359acf5551a69093f4ed5fd1ac108fa5"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.lowStrength (cyclomatic 68): MainWindow.lowStrength has cyclomatic complexity 68 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 13 belong to 9 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d7193ce9a09f9a7ed4d667331daaf79e04e1382945fc7d0f3a83620e5e7d38"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.MainWindow.ctor (cyclomatic 59): MainWindow.MainWindow.ctor has cyclomatic complexity 59 (threshold 15). Most of this is not in the body itself: 11 of the 59 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 130, 138, 299, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"506345c01ae864963b6c0c3df0a07050ce5f44933b32ac712bcb5ac56d576e37"}},{"ruleId":"D1","level":"warning","message":{"text":"winCharacterPanel.GenRank (cyclomatic 55): winCharacterPanel.GenRank has cyclomatic complexity 55 (threshold 15). Of this number, 54 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":"VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d01527a2c1209bc562c51ca7ea6aec3a0c3857c7d423c1224afb26f603031c"}},{"ruleId":"D1","level":"warning","message":{"text":"winGallery.RefreshList (cyclomatic 40): winGallery.RefreshList has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 14 of the 40 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 116, 135). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e54460703160b7cc645ef990318034e37efd4e207e1893564c86b67185823f8"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.FunctionSpend (cyclomatic 35): Main.FunctionSpend 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":"VPet-Simulator.Core/Display/MainLogic.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fd6aa7c3bd79d9ecc82d85ab7d618a263bd83ff490887e857fd25c7d256e05"}},{"ruleId":"D1","level":"warning","message":{"text":"winMutiPlayer.LoopP2PPacket (cyclomatic 29): winMutiPlayer.LoopP2PPacket 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":"VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"e362fa0a107e4a4fb4edff4bc7ce3a44bbf75ef2daa14a475878178c65c6b1d6"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphInfo.GraphInfo.ctor (cyclomatic 28): GraphInfo.GraphInfo.ctor has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Graph/GraphInfo.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbd0b5cbe4419719a08fad08c762c198bc86bbd666abb6fb5d2a48174f5051f"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.Handle_Steam (cyclomatic 26): MainWindow.Handle_Steam 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffae75cf8a16932cf3024eac1c68ec289a93a47e13e6804bf0b0288106fb978a"}},{"ruleId":"D1","level":"warning","message":{"text":"UnlockCondition.Check (cyclomatic 26): UnlockCondition.Check 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":"VPet-Simulator.Windows.Interface/Mod/Photo.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bdf895a52edce021c184ec1e53ac02db5c26d98fadb65eb0021ce5207a468b"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.Save (cyclomatic 25): MainWindow.Save has cyclomatic complexity 25 (threshold 15). Of this number, 23 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca29551ea14223094eeb5d84ad8a7fc5c25903271ea97fd8d46a71f4c9f9e21c"}},{"ruleId":"D1","level":"warning","message":{"text":"App.UnhandledException (cyclomatic 24): App.UnhandledException has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/App.xaml.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8ae4281692a670c2f743bc97ca6f139dfeb5459ab9049c0642ac920a3269e7"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.MainWindow_Event_TakeItem (cyclomatic 24): MainWindow.MainWindow_Event_TakeItem has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":2642}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a51cd6e4d73dd26102118d818467b076f9455b5ebe5069b7d585f20d9e7388"}},{"ruleId":"D1","level":"warning","message":{"text":"winGameSetting.winGameSetting.ctor (cyclomatic 24): winGameSetting.winGameSetting.ctor has cyclomatic complexity 24 (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":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a702806e77e628dab9bbdb4a763934d69894df45cec43ff8276926796fb8fc02"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.MainGrid_MouseWave (cyclomatic 23): Main.MainGrid_MouseWave 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":"VPet-Simulator.Core/Display/Main.xaml.cs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3cdc3017525f795a288d48028a1db20d1e97c389f73f3784a1d24b1c66afef"}},{"ruleId":"D1","level":"warning","message":{"text":"winGameSetting.ShowMod (cyclomatic 23): winGameSetting.ShowMod 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":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24a13226d8a36517dcb691093a8f27eb1835df61d46def9e8fc91e1fcd4e639"}},{"ruleId":"D1","level":"warning","message":{"text":"winMPBetterBuy.OrderItemSource (cyclomatic 22): winMPBetterBuy.OrderItemSource has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to one function literal inside it that branches (line 58). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/winMPBetterBuy.xaml.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"897d435ba3d90a91448489a39673333347ba91f03a637d29d08061cc3d45afd5"}},{"ruleId":"D1","level":"warning","message":{"text":"winBetterBuy.OrderItemSource (cyclomatic 22): winBetterBuy.OrderItemSource has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to one function literal inside it that branches (line 93). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winBetterBuy.xaml.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15ed5ec617b584ee4354ed2b9db473c27121499e00b69bfa95364c5137b9663"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.StatisticsCalHandle (cyclomatic 21): MainWindow.StatisticsCalHandle has cyclomatic complexity 21 (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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9593853d63fd5f8edd59f84d71826a2019208f8fd7b7f018d0388015051b78"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.Exit (cyclomatic 20): MainWindow.Exit has cyclomatic complexity 20 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"8956a7c6f4efe0dc081a8ce3fb55796a8d27e6c33ab385cda5d3d149709cef13"}},{"ruleId":"D1","level":"warning","message":{"text":"Move.Triggered (cyclomatic 19): Move.Triggered 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":"VPet-Simulator.Core/Graph/GraphHelper.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0867bc480ac1ee1b93b949ef9e2592ea9773e613a6e61a5eb31f4948f190a9"}},{"ruleId":"D1","level":"warning","message":{"text":"MWController.IfInActivateScreen (cyclomatic 19): MWController.IfInActivateScreen has cyclomatic complexity 19 (threshold 15). Of this number, 15 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":"VPet-Simulator.Windows/Function/MWController.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c618a8d6616e1a5e5166fae9c94c6b920faea08410d3c38519c8165c8e14fb"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.GameInitialization (cyclomatic 19): MainWindow.GameInitialization has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a138e39116610d79bbe764156219c4263d14ebd02703306781039700f6f455"}},{"ruleId":"D1","level":"warning","message":{"text":"MPFriends.MPFriends.ctor (cyclomatic 19): MPFriends.MPFriends.ctor has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 124, 87, 172). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc9930a2cf71f99c59ecb6127db1f22240e1f3871e160d230a1ddddbe066295"}},{"ruleId":"D1","level":"warning","message":{"text":"MPMOD.MPMOD.ctor (cyclomatic 19): MPMOD.MPMOD.ctor has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/MPMOD.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6756f4d5a60c077b773b27d33684fa3f3165ecab5b78dfed6ea2c72eb614547b"}},{"ruleId":"D1","level":"warning","message":{"text":"Move.Checked (cyclomatic 18): Move.Checked has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Graph/GraphHelper.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5b8f82f9edb9aeb4933b6ac039b8deaa336bc83a9d4d68f4e7c9791f4f175e"}},{"ruleId":"D1","level":"warning","message":{"text":"UnlockCondition.UnlockCondition.ctor (cyclomatic 18): UnlockCondition.UnlockCondition.ctor has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows.Interface/Mod/Photo.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecae31f573f0f56dc285e6e54dfa80dbd4515acac5a6cbae01c71258d9979ab5"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.EventTimer_Elapsed (cyclomatic 17): Main.EventTimer_Elapsed 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":"VPet-Simulator.Core/Display/MainLogic.cs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"34307f40d320803e779fe93ed28b199fc7676879b185aebeedc74b35842a1c13"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.SavesLoad (cyclomatic 17): MainWindow.SavesLoad 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a295ee0a0bda4e1e3ad0786b55ad54122c15ee7f716f8a46ce620a186141370"}},{"ruleId":"D1","level":"warning","message":{"text":"winWorkMenu.btnSignAgency_Click (cyclomatic 17): winWorkMenu.btnSignAgency_Click has cyclomatic complexity 17 (threshold 15). Of this number, 15 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":"VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"56362153a0fe019bc47b7d7af7fd7456c1d8590994637cdf1d0552d5c764e730"}},{"ruleId":"D1","level":"warning","message":{"text":"ICheckText.CheckState (cyclomatic 17): ICheckText.CheckState has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows.Interface/Mod/ICheckText.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3ae5255eb71b4def66ed3943f22d31ec04916a7dab040a4bcfda486eeb4818"}},{"ruleId":"D1","level":"warning","message":{"text":"ModLoader.ModLoader.ctor (cyclomatic 17): ModLoader.ModLoader.ctor has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Models/ModLoader.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c2434c650e1d81180a38cfafbe9ea5498f8de94838851c6f91f19ee645fc1d"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementHelper.UniformMinWidthGroupPropertyChanged (cyclomatic 17): ElementHelper.UniformMinWidthGroupPropertyChanged 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":"VPet.Solution/Utils/ElementHelper.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3217ec11b25af794b191f6bff4827172961bbf5bc96c5bf912ffda822f7389cd"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreMOD.CoreMOD.ctor (cognitive 223): CoreMOD.CoreMOD.ctor has cognitive complexity 223 (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":"VPet-Simulator.Windows/Function/CoreMOD.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de4743795677f7cbb9d491857a519a8a17d3fa281b440cd802e0b9d6d035238"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.lowStrength (cognitive 178): MainWindow.lowStrength has cognitive complexity 178 (threshold 15). Of this number, 169 points are the body\u0027s own statements and 9 belong to 9 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66180cb934ef4b07ee785764da1186acdeb1127e1890d45bd5004e610df00da"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.GameLoad (cognitive 164): MainWindow.GameLoad has cognitive complexity 164 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 124 belong to 12 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cb289b54f50e7268844065256ac197cf8afb9673dd6bf5b1a8ffa2f79bfebb"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.MainWindow.ctor (cognitive 111): MainWindow.MainWindow.ctor has cognitive complexity 111 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 93 belong to 14 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":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b83654a2ca77b57ad1be77f23429a60b47f513a4c855b6792e508aca470766f"}},{"ruleId":"D2","level":"warning","message":{"text":"winMutiPlayer.LoopP2PPacket (cognitive 72): winMutiPlayer.LoopP2PPacket 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":"VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"97be4693188115fbc085a3017d33d49356c84a47e3f4f6b48ffb57703b97b377"}},{"ruleId":"D2","level":"warning","message":{"text":"winCharacterPanel.GenRank (cognitive 72): winCharacterPanel.GenRank has cognitive complexity 72 (threshold 15). Of this number, 70 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf3e26b078469ec54a5b642768889db16ad3f2cb459bebfa09466ea4c282d4c"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.FunctionSpend (cognitive 62): Main.FunctionSpend has cognitive complexity 62 (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":"VPet-Simulator.Core/Display/MainLogic.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f7480a617f10161934f2e3b707c91bc623fb8d1b551f826d95a08ef523b6af"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.Save (cognitive 61): MainWindow.Save has cognitive complexity 61 (threshold 15). Of this number, 53 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"a981de9f816b90fe9f30f301563dfa66727fa49a2ece0e5297196abe70a6ac0a"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.Handle_Steam (cognitive 52): MainWindow.Handle_Steam 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb35e36656d27f095d067f7b20b9a520cac15c3165f0225cdd64f15f76536e7"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.Exit (cognitive 48): MainWindow.Exit has cognitive complexity 48 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"319dff3b204d68c43bddc899b449772c47da1d011777aa1c527dfc1ba3f7230d"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphInfo.GraphInfo.ctor (cognitive 47): GraphInfo.GraphInfo.ctor has cognitive complexity 47 (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":"VPet-Simulator.Core/Graph/GraphInfo.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b116aa5e65147d24d17257d702a9d762726434c2f52df14bf1d55d817118447"}},{"ruleId":"D2","level":"warning","message":{"text":"MPMOD.MPMOD.ctor (cognitive 47): MPMOD.MPMOD.ctor has cognitive complexity 47 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/MPMOD.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b934a4d2c99d17296175e3e7187cc4194cc5a1c718af6993e0b924aaa0974183"}},{"ruleId":"D2","level":"warning","message":{"text":"winGameSetting.ShowMod (cognitive 40): winGameSetting.ShowMod has cognitive complexity 40 (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":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ca15ebf2cf32cacfadef399b7594f8222647060ecb19cc1fcfdc39bd783849"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.MainGrid_MouseWave (cognitive 39): Main.MainGrid_MouseWave has cognitive complexity 39 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/Main.xaml.cs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c730650766f4a2a1e0faa5f514132fe27936b4578a9841bce3da0cb420c64564"}},{"ruleId":"D2","level":"warning","message":{"text":"UnlockCondition.Check (cognitive 36): UnlockCondition.Check has cognitive complexity 36 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows.Interface/Mod/Photo.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3033ccf983896c113bac4625bd70fc976ff2b5a7587a0ddf5789920676f48170"}},{"ruleId":"D2","level":"warning","message":{"text":"PetLoader.LoadGraph (cognitive 33): PetLoader.LoadGraph 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":"VPet-Simulator.Core/Handle/PetLoader.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"85eb4a30d3ff1e794df3940967ef82dfe50313059ef712a565d43ea53869d070"}},{"ruleId":"D2","level":"warning","message":{"text":"winWorkMenu.btnSignAgency_Click (cognitive 32): winWorkMenu.btnSignAgency_Click has cognitive complexity 32 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0f939f26d8124f74f6c565d4f3386de68874515d7d4bceded6568c34739b10"}},{"ruleId":"D2","level":"warning","message":{"text":"winMPBetterBuy.OrderItemSource (cognitive 30): winMPBetterBuy.OrderItemSource has cognitive complexity 30 (threshold 15). Most of this is not in the body itself: 0 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 58). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/winMPBetterBuy.xaml.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ac52f069f646f847b0c4205c7f13ab2ffb371718d41937de6a35b10f2d0341"}},{"ruleId":"D2","level":"warning","message":{"text":"winBetterBuy.OrderItemSource (cognitive 30): winBetterBuy.OrderItemSource has cognitive complexity 30 (threshold 15). Most of this is not in the body itself: 0 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 93). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winBetterBuy.xaml.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d516cf8bd030643f5f0208223dd622d2369f55f9d7a07079f8e7bfae38769635"}},{"ruleId":"D2","level":"warning","message":{"text":"winGameSetting.winGameSetting.ctor (cognitive 30): winGameSetting.winGameSetting.ctor has cognitive complexity 30 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b434906c3b8d29a76858e4a676f8232ddfcb94244fd6df16992d028bdaf8eac8"}},{"ruleId":"D2","level":"warning","message":{"text":"GameSave_v2.load (cognitive 28): GameSave_v2.load has cognitive complexity 28 (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":"VPet-Simulator.Windows.Interface/GameSave_v2.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17c590ccc49fe9f56b929ee12ea7f4356f66fa6619fb2928308d4e6804c7cc0"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageBar.ShowTimer_Elapsed (cognitive 27): MessageBar.ShowTimer_Elapsed has cognitive complexity 27 (threshold 15). Of this number, 19 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":"VPet-Simulator.Core/Display/MessageBar.xaml.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2eb0dcf5a0af30cd9abaa89d4afffee780c7089c828978b21404da2ad252c76"}},{"ruleId":"D2","level":"warning","message":{"text":"winGallery.RefreshList (cognitive 26): winGallery.RefreshList has cognitive complexity 26 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. 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":"VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87d0957d16dfcd1fa42996440a9706c0f14c57cad684825bbf9f453c40ca8db"}},{"ruleId":"D2","level":"warning","message":{"text":"winGameSetting.ButtonPublish_MouseDown (cognitive 26): winGameSetting.ButtonPublish_MouseDown 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":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd3b33af2a4ba896e5cb9188158c47fe6c79ef40e67c940b9cb058effcc555a"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleTask.StartWork (cognitive 25): ScheduleTask.StartWork has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows.Interface/ScheduleTask.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"376f6acdce528de604ef184506965dfdd63f07832df1190ddc6b651419a83abf"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementHelper.UniformMinWidthGroupPropertyChanged (cognitive 25): ElementHelper.UniformMinWidthGroupPropertyChanged has cognitive complexity 25 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Utils/ElementHelper.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0f5a57fda1e217e75b13e015d3a2129dc52bab70a0339ccabdc6c669a4851f"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.MainWindow_Event_TakeItem (cognitive 24): MainWindow.MainWindow_Event_TakeItem has cognitive complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":2642}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b104dbf33fcf1e51cb9995c8123863f0c28824c2f065e4677a012bbfc90e24"}},{"ruleId":"D2","level":"warning","message":{"text":"ModLoader.ModLoader.ctor (cognitive 24): ModLoader.ModLoader.ctor has cognitive complexity 24 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Models/ModLoader.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"129f01f4a6606f43af2a61e3fc758dc3eee68262ff9e978bd551a2acdc0b31f2"}},{"ruleId":"D2","level":"warning","message":{"text":"MPFriends.MPFriends.ctor (cognitive 23): MPFriends.MPFriends.ctor has cognitive complexity 23 (threshold 15). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 124, 172, 87). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6855666363a44a5c8e049cb3c564fa84fd4a3196b9ba6f0ab992427a5a5fef04"}},{"ruleId":"D2","level":"warning","message":{"text":"winGameSetting.PetBox_SelectionChanged (cognitive 23): winGameSetting.PetBox_SelectionChanged 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":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9aeb7498b804832eb7026843519f149b7d4d8ba5faf7b18606f0ad6d7c2305"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolBar.M_TimeUIHandle (cognitive 22): ToolBar.M_TimeUIHandle 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":"VPet-Simulator.Core/Display/ToolBar.xaml.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"183f18b1d046f7f1f235fd5d8aa8e6ba1dbb8ef06a9b97730c2465402b2f3576"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphCore.FindGraph (cognitive 22): GraphCore.FindGraph 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":"VPet-Simulator.Core/Graph/GraphCore.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4948c802347e5e5106db1017cdae1e180b44c456472ef010c6ad3e910104c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"MWController.IfInActivateScreen (cognitive 22): MWController.IfInActivateScreen has cognitive complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 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":"VPet-Simulator.Windows/Function/MWController.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23ce6c1ca699b6314758f49d262674251c51dd0b64037d82412ac2ab71b466e"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.Load_2_WaitGraph (cognitive 21): Main.Load_2_WaitGraph has cognitive complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 128). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/Main.xaml.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e2966ff6ab2ade97fb6ebe741803cd47dd084ccf26bd7cd3a323ada2f5b315"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.MainGrid_MouseLeftButtonDown (cognitive 21): Main.MainGrid_MouseLeftButtonDown has cognitive complexity 21 (threshold 15). Most of this is not in the body itself: 0 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 403). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/Main.xaml.cs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaf5662ff8808405c7d32644967a8d2582a1e4ff0221d8ac6f39c8a0f784b2d"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageBar.DealWithStreamFinish (cognitive 21): MessageBar.DealWithStreamFinish has cognitive complexity 21 (threshold 15). Most of this is not in the body itself: 0 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 282, 288, 291, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/MessageBar.xaml.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c6e210b6c89d41e2dfe7753c2609f48f8c394dce215b5c595c1398c7c0ef47"}},{"ruleId":"D2","level":"warning","message":{"text":"TalkSelect.btn_Send_Click (cognitive 21): TalkSelect.btn_Send_Click 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":"VPet-Simulator.Windows/WinDesign/TalkSelect.xaml.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6218dde53652872764a485b670ceb75d839fb356b965a4baea4887d01caa9a"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleTask.ScheduleTask.ctor (cognitive 21): ScheduleTask.ScheduleTask.ctor has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows.Interface/ScheduleTask.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb842ad85db53dfcdf1692b55fefdd10fea2f6cc52f8bb5492aff87a71ef08d4"}},{"ruleId":"D2","level":"warning","message":{"text":"APNGAnimation.ParseApng (cognitive 20): APNGAnimation.ParseApng 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":"VPet-Simulator.Core/Graph/APNGAnimation.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ea51b6436ab23bf9f8941076234b5f9cd5cbdca985d9b89c542c9b81553cd7"}},{"ruleId":"D2","level":"warning","message":{"text":"App.UnhandledException (cognitive 20): App.UnhandledException has cognitive complexity 20 (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":"VPet-Simulator.Windows/App.xaml.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd088d2be765dcff08a0071f075f83303d964cdaea86fd5139432c928e6d312"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.StatisticsCalHandle (cognitive 20): MainWindow.StatisticsCalHandle has cognitive complexity 20 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1f3b94ad285635463fa03854048c80f47c2b7502fc6dfe7a8461bab08614e4"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.SavesLoad (cognitive 20): MainWindow.SavesLoad has cognitive complexity 20 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8849955e65ba5427bd92741a663ecd412545800cfc035a702868414da6f5bc"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionUtils.SetValue (cognitive 20): ReflectionUtils.SetValue 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":"VPet.Solution/Utils/ReflectionUtils.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a77b646f444b81767d8944195de9e1960954b35ac039bf0a6779139094ef2"}},{"ruleId":"D2","level":"warning","message":{"text":"Move.GetCompatibilityMove (cognitive 19): Move.GetCompatibilityMove has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Graph/GraphHelper.cs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e771626cece00ab1d420784c922d06cb02c97881878c53b52ede61cf07d8467"}},{"ruleId":"D2","level":"warning","message":{"text":"Picture.Run (cognitive 19): Picture.Run has cognitive complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 114). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Graph/Picture.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94a2a9f1aa1a407a088d7e26a34ef8c03c17a7fabdff199b1671269699c5cbb"}},{"ruleId":"D2","level":"warning","message":{"text":"UnlockCondition.CheckReason (cognitive 19): UnlockCondition.CheckReason has cognitive complexity 19 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows.Interface/Mod/Photo.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"283f808812a8567e9ba7dbb5e2053b75a4b58ee7c758175cd1592adeb5305ac2"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.MoveSideHideCheck (cognitive 18): Main.MoveSideHideCheck 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":"VPet-Simulator.Core/Display/MainLogic.cs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"633e4408f8ed4fc66a225b4de3f3d0934d73460c289cf9d2c6afceca8f336c62"}},{"ruleId":"D2","level":"warning","message":{"text":"Move.Triggered (cognitive 18): Move.Triggered has cognitive complexity 18 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Graph/GraphHelper.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bddb70b0ee2a755bb8488417ba9496d0705f4732e9ab708b1aee90117a6f68"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.GameInitialization (cognitive 18): MainWindow.GameInitialization has cognitive complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"2184be0448643265099ff24e10d495713a3dc08403a24aa3c96846eb33d7a55a"}},{"ruleId":"D2","level":"warning","message":{"text":"winBetterBuy.BtnBuy_Click (cognitive 18): winBetterBuy.BtnBuy_Click has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winBetterBuy.xaml.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73b79822c404fd0bf99575a71ee02f19ff716f4181086ba7013272789f8c239"}},{"ruleId":"D2","level":"warning","message":{"text":"UnlockCondition.UnlockCondition.ctor (cognitive 18): UnlockCondition.UnlockCondition.ctor has cognitive complexity 18 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows.Interface/Mod/Photo.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3c9475ee31e30d1f8874f95800bd1b9981b74a87eefe2980c98924317aab96"}},{"ruleId":"D2","level":"warning","message":{"text":"MarginConverter.Convert (cognitive 18): MarginConverter.Convert has cognitive complexity 18 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Converters/MarginConverter.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dc2d499f4b291906500b7d8d728c4bea812bae6b3ca43a934b9ef59545fee6"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.Display (cognitive 17): Main.Display 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":"VPet-Simulator.Core/Display/MainDisplay.cs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"0797a92f6b32b121a095f48578d46f933e0133915266e95301b10e4e3f1da94c"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.StartWork (cognitive 17): Main.StartWork 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":"VPet-Simulator.Core/Display/MainLogic.cs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"effab302379c1bdd7cec9d2bd3d01eda5f5383bdaa47116672d096eea26b36e1"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphCore.FindGraphs (cognitive 17): GraphCore.FindGraphs 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":"VPet-Simulator.Core/Graph/GraphCore.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7460464e08ae7023b2f25e3e58058a7b71d79d9e634d9ecdc25c9eb5df3003e7"}},{"ruleId":"D2","level":"warning","message":{"text":"Move.Checked (cognitive 17): Move.Checked has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Graph/GraphHelper.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"6690865e713c793c9acca2386fab6ae7334171aa7997c5e0bfff390c92b5947e"}},{"ruleId":"D2","level":"warning","message":{"text":"PNGAnimation.startup (cognitive 17): PNGAnimation.startup 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":"VPet-Simulator.Core/Graph/PNGAnimation.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0baba18e3c18849438979b1ccafce2f16dbad3c07c9569fc0533fe35b540e3"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.RunDIY (cognitive 17): MainWindow.RunDIY 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81d6f65b7bee9cda88b205bc4fa63db02771f4d95796e73756389562ec9be7b"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.LoadLatestSave (cognitive 17): MainWindow.LoadLatestSave 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, 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":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d24524e63931bc8773bc0fbba768e1ef20e81f9c2aaab1d24773cf82115cd47"}},{"ruleId":"D2","level":"warning","message":{"text":"DIYViewer.TextBox_PreviewKeyDown (cognitive 17): DIYViewer.TextBox_PreviewKeyDown 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":"VPet-Simulator.Windows/WinDesign/DIYViewer.xaml.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"16248b81b58c6468c98b7fb7b1d0afaf4438b1137b5b7387f47c85a48d52dc8a"}},{"ruleId":"D2","level":"warning","message":{"text":"winWorkMenu.winWorkMenu.ctor (cognitive 17): winWorkMenu.winWorkMenu.ctor has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ba25dbb22784f6866892f9c9d557c74401035184ae3cc48fd4e800c663e1d4"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.Load_2_WaitGraph (cognitive 16): Main.Load_2_WaitGraph has cognitive complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/Main.xaml.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0303bc3fc0d65bd25c395278dbd3e6d47aa4e8dfe474e9d756d29d81e4c617d5"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.DisplayRaising (cognitive 16): Main.DisplayRaising has cognitive complexity 16 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/MainDisplay.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e808cf58a2569e1609f1fe09a3b353b3850c503833284c4bfbb267f84bc39fb"}},{"ruleId":"D2","level":"warning","message":{"text":"APNGAnimation.Play (cognitive 16): APNGAnimation.Play has cognitive 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, 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":"VPet-Simulator.Core/Graph/APNGAnimation.cs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a4cbb1f2dae29880aebcef701a6800b227998cfc20e45ee4b5f4bb8943af8e"}},{"ruleId":"D2","level":"warning","message":{"text":"APNGAnimation.Run (cognitive 16): APNGAnimation.Run has cognitive complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 627). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Graph/APNGAnimation.cs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b191bb7c7e60806a8a64d338d228a7a342d6d62e8a5c2da7fee7b2c840933a3"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.Set (cognitive 16): Config.Set 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":"VPet-Simulator.Core/Graph/GraphCore.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9d3c4c2497c7bddc21de0377b5dd7ec656f308ff9055e78c09e17ab5feb517"}},{"ruleId":"D2","level":"warning","message":{"text":"PNGAnimation.Run (cognitive 16): PNGAnimation.Run has cognitive complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 343). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Graph/PNGAnimation.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9591e8266b6ac3b96ec288f04e8cea0c37b4831290da6946bffac9c9d3bb4a"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.LoadDIY (cognitive 16): MainWindow.LoadDIY has cognitive complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27670bcc6337125b6ac819a2739a0a88811739689ec12ce1f0b67d43cf9d5da"}},{"ruleId":"D2","level":"warning","message":{"text":"winCharacterPanel.MainTab_SelectionChanged (cognitive 16): winCharacterPanel.MainTab_SelectionChanged has cognitive complexity 16 (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":"VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"109844109eed893f6e858c71fe39c5ac9153a2855ff5b37588e9c80005af72b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ICheckText.CheckState (cognitive 16): ICheckText.CheckState has cognitive complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows.Interface/Mod/ICheckText.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0c5208924cce47d1d347755f2d6ac6f2ade6061d76e19fdc54ed96b69d9a4a"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleTask.AutoRenew (cognitive 16): ScheduleTask.AutoRenew has cognitive complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, 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":"VPet-Simulator.Windows.Interface/ScheduleTask.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8455fcbd993127b00fdb3ac1bd4ae955c71d314b8a55a060a5018f764b7562de"}},{"ruleId":"D2","level":"warning","message":{"text":"CalculatorConverter.Convert (cognitive 16): CalculatorConverter.Convert 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":"VPet.Solution/Converters/CalculatorConverter.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef493d953b86668c68c222ccd37a2dcb0945b23e8e6d3a8c4fe915043c2b2a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionUtils.GetReflectionObjectInfo (cognitive 16): ReflectionUtils.GetReflectionObjectInfo 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":"VPet.Solution/Utils/ReflectionUtils.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cfc2edd5ea5129b8606efd94d5e8b50cec7c45e80ee12dff90fdb13ef7eddb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: winGameSetting: TooManyMethods \u2014 1017 significant lines (blank, comment-only and punctuation-only lines excluded), 93 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":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee26ea71f56b40d71b190e6e0c06527c8b37553400387daccf083c91e8d20f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Main: TooManyMethods \u2014 1016 significant lines (blank, comment-only and punctuation-only lines excluded), 73 methods, declared across 3 files: Display/MainDisplay.cs (29), Display/Main.xaml.cs (25), Display/MainLogic.cs (19). 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":"VPet-Simulator.Core/Display/MainDisplay.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbff8e702d59d26773c561835ceae571418cf6d09fcbfec3b037df1757b4b61e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WinDesign/winGameSetting.xaml.cs: FileTooLong \u2014 1052 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":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d882f81d43fa2fcf0974020000183a3853cf09debc4a03d8da95b30111cfd41a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MPFriends: ClassTooLong \u2014 498 significant lines (blank, comment-only and punctuation-only lines excluded), 29 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":"VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df9426007e64ed0d7932312f984eea271522a6e1bd684423d0d00659a111a93"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: winCharacterPanel: ClassTooLong \u2014 498 significant lines (blank, comment-only and punctuation-only lines excluded), 18 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":"VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e470cb342df4e16677500dcf2e38dc2473710b0408b6c2684e0839da7576dd7d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: winWorkMenu: ClassTooLong \u2014 493 significant lines (blank, comment-only and punctuation-only lines excluded), 30 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":"VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0874c463349bd246132120025a770a088cc3e4430086e35ad5db3e8e1b90427"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WinDesign/winCharacterPanel.xaml.cs: FileTooLong \u2014 542 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":"VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf79dd4d4b3597394ce44f88a17d36e97a963d5a7d8a098fd52b600fe78fe00b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MutiPlayer/MPFriends.xaml.cs: FileTooLong \u2014 524 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":"VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1e795ec18aa8f68290a617e012e41e88cf6a00e88d7a22c86d5c4687bd52f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: APNGAnimation: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded), 25 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":"VPet-Simulator.Core/Graph/APNGAnimation.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a64a40387c3d87b3a08f8ec0992ec552d60925e59ac18c1eb892fe174f65e27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WinDesign/winWorkMenu.xaml.cs: FileTooLong \u2014 515 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":"VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac718ea06396f39eeaaccc229df52cf8890811f31d65ce54ba6bc1123c48cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): VPet.Solution/Converters/MarginConverter.cs:49-88 | VPet.Solution/Converters/MarginConverter.cs:94-133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"VPet.Solution/Converters/MarginConverter.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4d1b09f7d33c89b7a4f1fce872b9f52dc605eb8c094c01d2524032957d9c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): VPet-Simulator.Windows/Function/MWController.cs:124-141 | VPet-Simulator.Windows/MutiPlayer/MPController.cs:129-146 \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 \u0060VPet-Simulator.Windows/Function/MWController.cs:124\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":"VPet-Simulator.Windows/Function/MWController.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"357bdadfbc981dca0e075e6e7f60654efb1f9fc8b63ade1742ba4491e42821c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): VPet-Simulator.Core/Graph/APNGAnimation.cs:674-690 | VPet-Simulator.Core/Graph/PNGAnimation.cs:497-513 \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 \u0060VPet-Simulator.Core/Graph/APNGAnimation.cs:674\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":"VPet-Simulator.Core/Graph/APNGAnimation.cs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e7dbeaa60374c83fc2f95c38de4fbefc165cb714838051b5fb300f15263978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): VPet-Simulator.Core/Handle/GameSave.cs:263-279 | VPet-Simulator.Windows.Interface/GameSave_VPet.cs:353-369 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Handle/GameSave.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"468b3ad9b0a13a8a56ad007aeffa19ba03c40fb589885c3dc9405f4129ff8299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): VPet-Simulator.Core/Graph/FoodAnimation.cs:185-211 | VPet-Simulator.Core/Graph/PNGAnimation.cs:304-319 \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 \u0060VPet-Simulator.Core/Graph/FoodAnimation.cs:185\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":"VPet-Simulator.Core/Graph/FoodAnimation.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9b603b8a0f2d0ce8a73ce79039fa5f9b174f058ed2adadbfa0a00c3e2079d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): VPet-Simulator.Core/Handle/GameSave.cs:202-217 | VPet-Simulator.Windows.Interface/GameSave_VPet.cs:290-305 \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 \u0060VPet-Simulator.Core/Handle/GameSave.cs:202\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":"VPet-Simulator.Core/Handle/GameSave.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"774fbc78d553d777e7c78ba175fbff23648be632a774058dcf28ddcf2f85106e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): VPet-Simulator.Core/Graph/APNGAnimation.cs:387-401 | VPet-Simulator.Core/Graph/PNGAnimation.cs:455-469 \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 \u0060VPet-Simulator.Core/Graph/APNGAnimation.cs:387\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":"VPet-Simulator.Core/Graph/APNGAnimation.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"773eb4094348e329715e2ceac0f556a5ca3163395ef6f9b29a2d1c62e945400c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): VPet-Simulator.Windows/MainWindow.xaml.cs:552-566 | VPet-Simulator.Windows/MainWindow.xaml.cs:604-618 \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 \u0060VPet-Simulator.Windows/MainWindow.xaml.cs:552\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":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e535f75448c7419d7ee94a4c1d647ed73ce43a1d18a30d4a299aa186e2b01f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): VPet-Simulator.Windows/MutiPlayer/winMPBetterBuy.xaml.cs:84-98 | VPet-Simulator.Windows/WinDesign/winBetterBuy.xaml.cs:119-133 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060VPet-Simulator.Windows/MutiPlayer/winMPBetterBuy.xaml.cs:84\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":"VPet-Simulator.Windows/MutiPlayer/winMPBetterBuy.xaml.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"80043b933330e436c59b29e15fae51ebcbe0307e9733061b283ec720c9142383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): VPet-Simulator.Core/Graph/APNGAnimation.cs:582-596 | VPet-Simulator.Core/Graph/PNGAnimation.cs:391-404 \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 \u0060VPet-Simulator.Core/Graph/APNGAnimation.cs:582\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":"VPet-Simulator.Core/Graph/APNGAnimation.cs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d4c5013969af54a01177c82b399688126081d0e31793fec2ee391724d97257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): VPet-Simulator.Core/Graph/APNGAnimation.cs:611-625 | VPet-Simulator.Core/Graph/PNGAnimation.cs:328-341 \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 \u0060VPet-Simulator.Core/Graph/APNGAnimation.cs:611\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":"VPet-Simulator.Core/Graph/APNGAnimation.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ad8154ceff44ab9cf2d1ae91eb352f899b9dc4d5b4b93b16d22ebe74d38c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs:731-744 | VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs:684-697 \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 \u0060VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs:731\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":"VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e960fe8f8a416d3a739beaf23818b8cf0d3638de5a1f192b871b1bece40d635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): VPet-Simulator.Windows.Interface/Mod/Photo.cs:579-592 | VPet-Simulator.Windows.Interface/Mod/Photo.cs:627-641 \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 \u0060VPet-Simulator.Windows.Interface/Mod/Photo.cs:579\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":"VPet-Simulator.Windows.Interface/Mod/Photo.cs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ebec46e8e73c2988775a64c7e2aaac4a0202300fc28355a672f032f589ec4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs:245-257 | VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs:314-326 \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":"VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a736b74a77997024cb01401e227c0f504c61de088b471fbe6b143218221357a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): VPet-Simulator.Core/Handle/GameSave.cs:231-242 | VPet-Simulator.Windows.Interface/GameSave_VPet.cs:319-330 \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 \u0060VPet-Simulator.Core/Handle/GameSave.cs:231\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":"VPet-Simulator.Core/Handle/GameSave.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e279663e7d7b6b2257f13aad310428fa37c1322c0609cf8996abc2595690f6c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): VPet-Simulator.Windows/MainWindow.xaml.cs:570-580 | VPet-Simulator.Windows/MainWindow.xaml.cs:620-630 \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 \u0060VPet-Simulator.Windows/MainWindow.xaml.cs:570\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":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8938c5254c37e86684408082b66edba368099d04050ab40f32ec17db3b83422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs:387-397 | VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs:476-487 \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 \u0060VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs:387\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":"VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee81f19e7546db3c541ea34316cd603469a5ff5a4be48d5a2caced96709c000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs:607-617 | VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs:629-639 \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 \u0060VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs:607\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":"VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef04e80f703932415ad654d3552b2168bb435ea15c6e529e4bb7ae661afd3528"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs:590-599 | VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs:611-620 | VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs:633-642 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a0695044c4487464f7fb7b91b9411abd988ef6863e2338c9e2ef76aa61b9fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): VPet-Simulator.Core/Graph/APNGAnimation.cs:365-373 | VPet-Simulator.Core/Graph/PNGAnimation.cs:431-439 \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 \u0060VPet-Simulator.Core/Graph/APNGAnimation.cs:365\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":"VPet-Simulator.Core/Graph/APNGAnimation.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58b1c9b5fd5bffae89592202bec3007ad6db2c78d01da8c42363928f67fdd5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): VPet-Simulator.Windows/Function/Setting.cs:483-491 | VPet.Solution/Models/SettingEditor/Setting.cs:466-474 \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 \u0060VPet-Simulator.Windows/Function/Setting.cs:483\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":"VPet-Simulator.Windows/Function/Setting.cs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c71cdcce11bf076cd6314511a3a5ba4e5d70a0b55e57ee1f11b5b3a20ad15a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): VPet-Simulator.Windows/MainWindow.cs:609-617 | VPet-Simulator.Windows/MainWindow.cs:636-644 \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 \u0060VPet-Simulator.Windows/MainWindow.cs:609\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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d3e6605abd56c09a8d9ac8b39dbc8a2ab69455cfd819c825bd5ef04bbee2a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): VPet-Simulator.Windows/MainWindow.cs:666-674 | VPet-Simulator.Windows/MainWindow.cs:692-700 \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 \u0060VPet-Simulator.Windows/MainWindow.cs:666\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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2210ca11686cef802b40c76bf5f7639a7d0756e52ac1e305c55f8beeaf644f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): VPet-Simulator.Windows/MainWindow.cs:306-313 | VPet-Simulator.Windows/MainWindow.cs:346-353 \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 \u0060VPet-Simulator.Windows/MainWindow.cs:306\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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"10534b6cd2320ca339f4b705f458ef18da15c1e22aff5583fe97923412080b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs:755-762 | VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs:704-711 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3af59890da60fb44db9651ca0cac349d419930d6d498ce894ed4e47749a355d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs:772-779 | VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs:721-728 \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 \u0060VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs:772\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":"VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"5815937d5406c960fb8a780d1c722302694c2053e72f5746fd123602f081e13e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs:124-131 | VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs:143-150 \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 \u0060VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs:124\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":"VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"07643fb513fdc3e20e1e30564e74c47e2b45b43e11168c086bf2060d0f3b7ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): VPet-Simulator.Core/Display/MainDisplay.cs:136-142 | VPet-Simulator.Core/Display/MainDisplay.cs:174-180 \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 \u0060VPet-Simulator.Core/Display/MainDisplay.cs:136\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":"VPet-Simulator.Core/Display/MainDisplay.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a0dfadf794b20c20d6ac7cab5b414c335651e24df4ddcca9b7f276e525f612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): VPet-Simulator.Windows/MainWindow.cs:630-636 | VPet-Simulator.Windows/MainWindow.cs:686-692 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note 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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"4670bb60fcbe6eb94ccb922d6703a5156946d750a9179471bebab2fde6b3e43a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): VPet-Simulator.Windows/MainWindow.cs:645-651 | VPet-Simulator.Windows/MainWindow.cs:701-707 \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 \u0060VPet-Simulator.Windows/MainWindow.cs:645\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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d834707687fd16bce8546509468f2efd3bb8630cb14dda978f9ec27c1cb0b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs:314-320 | VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs:514-520 \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":"VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c607c67f77961c9f8ea895873b4eec83fe0a57a4976b0a90a5509c6ff8441fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): VPet-Simulator.Windows/MainWindow.cs:597-601 | VPet-Simulator.Windows/MainWindow.cs:655-659 \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 \u0060VPet-Simulator.Windows/MainWindow.cs:597\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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"008307b9cc2e8dc8b3ec3927f17f7cafac2d15b6baa30a66ad99487c1ffb27ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): VPet-Simulator.Windows/MainWindow.cs:1644-1648 | VPet-Simulator.Windows/MainWindow.cs:1655-1659 \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 \u0060VPet-Simulator.Windows/MainWindow.cs:1644\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":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"032d3d714f5d878d8092e90a1000713485c4e4a0aa2e8b4be0fffcef81161f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): VPet-Simulator.Windows/Function/MWController.cs:206-226 | VPet-Simulator.Windows/MutiPlayer/MPController.cs:75-95 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/Function/MWController.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8aaa1244137f8ee40f0dfb9f28afb16d3d670eadb647fc256b0c6013f3db68"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: VPet-Simulator.Core: VPet-Simulator.Core: abstractness 0.22, instability 0.00, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3a0221433c6c76260b50d2b73206ed5977758c5382ce675efd34e5b26857bd0d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Main (LCOM4 5): Main\u0027s methods form 5 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":"VPet-Simulator.Core/Display/Main.xaml.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c45c7e39e47ad4d8a5dc717cd2c7140a28badce0570fbac54272ec149f50a4f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ToolBar (LCOM4 5): ToolBar\u0027s methods form 5 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":"VPet-Simulator.Core/Display/ToolBar.xaml.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1ca6059c46b66918d43ddbc8cb7cc18a6ee643bf496245920254682f7c9e3d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: winCharacterPanel (LCOM4 4): winCharacterPanel\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":"VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"493f0c2e1093590a29c1b12eecddbb88199d6ebc55496f76a162250e71aa5f6f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: winGallery (LCOM4 4): winGallery\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":"VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbde8fd8cd047ab785f5fd73ba8d6e558a6327b50b58b5301c3d451af7587cc"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 nothing here references a test framework (xUnit, NUnit or MSTest), so there were no discoverable tests to count. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: VPet-Simulator.Windows/MainWindow.xaml.cs: VPet-Simulator.Windows/MainWindow.xaml.cs changed 10 times in last 90 days, max complexity 59. 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":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f394fe27ab3606f70730b0ccf10b9fcc4f3b1ce3df4d21278f04a060f06d19"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: VPet-Simulator.Core/Display/MainLogic.cs: VPet-Simulator.Core/Display/MainLogic.cs changed 6 times in last 90 days, max complexity 35. 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":"VPet-Simulator.Core/Display/MainLogic.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd447b49944e3b749e458b72fffe0123ab27bcf65a76647560991de7e9aec7a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs: VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs changed 7 times in last 90 days, max complexity 24. 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":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4ae10b6ef768a80a2bd94c7af3245c678ffe9057317069d338148b1845ac90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: VPet-Simulator.Windows/Function/CoreMOD.cs: VPet-Simulator.Windows/Function/CoreMOD.cs changed 2 times in last 90 days, max complexity 81. 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":"VPet-Simulator.Windows/Function/CoreMOD.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c924304ae2e1e6d3e434ca215e01938aaa3f550f7538308a58323649e123a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: VPet-Simulator.Windows/Function/MWController.cs: VPet-Simulator.Windows/Function/MWController.cs changed 7 times in last 90 days, max complexity 19. 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":"VPet-Simulator.Windows/Function/MWController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2953dfc6c216812205ee28fe31d8a83ac6dc5a6ee4693a1bdb5706cb991e377c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs: VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs changed 3 times in last 90 days, max complexity 29. 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":"VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0c38252e4f05d318bbf35be7ee17451dd8d8b049df9cbbbf3c54919e3826a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs: VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.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":"VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27b153a2fcaced7c1a8b2652fde5e95017dd115c2c1fbba147d5c9285e57c44"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: VPet-Simulator.Core/Graph/APNGAnimation.cs: VPet-Simulator.Core/Graph/APNGAnimation.cs changed 2 times in last 90 days, max complexity 15. 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":"VPet-Simulator.Core/Graph/APNGAnimation.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbd02e64829b84c0f4fe8eb1c547a043dd0c75dbcfb3b979d9deebf9fa32370"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 29 significant file(s) lose their only recent owner: VPet-Simulator.Windows/MainWindow.cs, VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs, VPet-Simulator.Windows/MainWindow.xaml.cs, VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs, VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs, VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs, VPet-Simulator.Windows.Interface/Mod/Photo.cs, VPet-Simulator.Windows/Function/CoreMOD.cs (\u002B21 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7ba77b933f13d009e83907624860a8239e4c9fc8d35796302ba3bcbe624b7e42"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (30 single-owned of 90 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //, TimeSpan timediff = TimeSpan.Zero) TODO \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":"VPet-Simulator.Core/Display/Main.xaml.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0fceb558914ff69c605b7ce7daae697d9c2a2ab6c3909d1814ca5b4a03c80a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/Main.xaml.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bdde1489adbb59863850398cc7b06dd1aa04161a50a329544a90579b522b29"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Handle/GameSave.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"012573c0e60d93a8f08d56d91eb16ebf6ffcc97ff9a59b2e02b03b35c914f3ed"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows.Interface/GameSave_VPet.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abd766a005212bc5fe94627664c10cc2bbcbc98c2646fc5ea11c7cde498bd36"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/Main.xaml.cs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ef815f0fed0597cd8c04b8bfdd616a74e916b849713c56bdfae6294fb0d3f0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/MainDisplay.cs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeffa80f5dba06fd60b065d33874e783b7ee635c46912e5910755fe6db7702ea"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/MainLogic.cs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"5682152401c4e39cfee81c5bea798ee4e2c363f8ea28ae6346caf38538fd6284"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/ToolBar.xaml.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"4055c12857970eceb6554e588d56fb528f0d18e3473488e7c3d0d2e19b030e6b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2bf4c2840efdac5e1355ad92e0410e68c07f490b8fde314e6dded1c320a9cf"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"389d27eb122973d542dca6dc3776d07a07ea48c97c735acbc780d987b7fab984"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/winMPBetterBuy.xaml.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5251ad172cc8c55b02399d607bcd555e76737163db9a88118e9b8214d2a23216"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winBetterBuy.xaml.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abb8c692565ae85b7a258ff5e30654e40f2c73138e9838d2cbcd0e8998cc52e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Utils/Expansions.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00b39e3901464675e4299e0b916ef14341370136d658acced7cfb1aaad016cf"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Utils/ObservablePoint.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"615a8b8bb4f9ca47eb2a9540425e7a377815d03296b002ddedf2d4cedc261944"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Utils/ObservablePoint.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06a0a33b6e8f5d1273dfcf669e21a6b3b0033d0e378de6ae734fb2e97723217"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Utils/ObservablePoint.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d442e2ebe1fed8fafeaf64cc3475d0042dcecb027086bb088433d19621f2bdb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Utils/ObservablePoint.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"266c620e2465e10c53e0578c63b0231da12cb70ba637e5c64dc54138b97345b1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Utils/ObservablePoint.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f892b7690df4184adfa71b4129261a3ccfc18025c08d0627507576425466af"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Utils/ObservablePoint.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"67095ddec198b024fd669e1838bf349ff301a9e5595173245d645637aa2b0f55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \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":"VPet-Simulator.Core/Display/MainDisplay.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0387a1e6edfe14c4d32c286afa7e63a91be913bbfb25fad8120751dded10139d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/WorkTimer.xaml.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"caab5c15c080bea86a994bcd71808c8bee6552e3b99c1b70845f60cbe1cd1adb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows.Interface/Mod/Photo.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"484ef32e72b42fc2d9979c4c20f50c4861e3cc58c2170c22dee0882ad05f2b12"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows.Interface/Mod/Photo.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"86003aff4cd702a2960063c147947b73ea14e79e1e74d02ee499d9b46d7273e0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"059bc1b744b19142df00f19ab156d3f5ffca970c51a4571374323ab35e1e3e45"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a1e34eae923223ce59682f446e76d29708253ed482c316e1e6ec0ee31894de"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Graph/FoodAnimation.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1b1e543ba3a899e459684028580059d15e53e8c699c00d77877344f8a4c1aa"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/Function/Setting.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f1306af544d5c6b91675979084ebf6def626077db557978359e83e1d14e186"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd95b399adf3a3e08add1ffc3b0c7a5521a0c0b20d3299d53307398b5737c39"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fa07a61a5c0442275f8b27fe063c1a2ebed66dce5d5ae8c5d42ab745e8083e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa63264e26dd2d7a540f59bd090d7a449d142058934446d05efbad9e10e0b970"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5bbd105caff90fe075a1ff6a8f40a3e77a8f6ead9162268088427b052d0dd6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Models/SettingEditor/GraphicsSettingModel.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b17fa4c3ac786cc777ea84a0f917bd0f5304a14b3b69e4f8d6903162c1c71b6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Models/SettingEditor/InteractiveSettingModel.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c375a60dcb7a84a6a0321b7107c9f47a9aa7467d439c5b2038298d26d4b885fc"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Models/SettingEditor/Setting.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"907a593f58f6aa454c4777cde8097196137e22cf293169842a1a6cd161a77489"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Utils/ObservablePoint.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f123aff8f45b58fb3f07ce5e5fe73b7464b25af609529ee809cb2d488af8e806"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Graph/Picture.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6651686e2928fe04526ccd99856f64c69bf7cc9a4ea2243be855b53d9e78d958"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/Function/MWController.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f0e59989d0c76550ff0775d02ee8436460f1dfb137d020855bbaa995dded79"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":2274}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0410aadd01ad112438d40bf6568fbf6c423adc1a2747ff950cbb318202ecce3"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46ed69d0877a45ab14c8e92ba4d170d6a0657bc86628fe144226aaa4c701fb3"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1abbfa75314070bd066d495c52dc1deaaeab555ff5c96d70382875b08b5239f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.xaml.cs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2cc383e447cf8a1b1e0a4ccebeb572aa009263836934a5189eb12a3811a388"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/MPController.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64bfe0381619b907213dc3311873c197c1ea13080900e91d0ab937d51220bda"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48e510a56f4078333a638e63b1d44ba1e3db9ccdce72259abaf0a34732c4c2d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/PetHelper.xaml.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"18acb417863e92ce17336931600d3948452076d98d3d00766461203c71ff5185"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/PetHelper.xaml.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fb5a49f385950377e91f97d4d2e855fcef953d83ab98a9d6616c914af38e6d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winCharacterPanel.xaml.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea518e97041a927ecbc67b8814b2b21d39f1d4cd5ae03aca9d5c50075f84a7ec"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winReport.xaml.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b3a90e850dc7005c8e7e44ee26899fd5562384a6ea040f5ce65f7f1eaa914b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winSaveManager.xaml.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec88dc9707b58691e20d60f83e7a95372aff92e22f496d8a225d70c55c9a2ef6"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winSaveManager.xaml.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65eab7be93be0665df3e2747770c85f6ef12818f5c4251a757b0a557cd51b6b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winSaveManager.xaml.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19676d3e519547924ed2278a68df9d99e41a6910abd6ed2e77f1e7a8513595f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Models/ModLoader.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"35836c3e54fa138856145be985b6615a5e37eb57f90ce881efe364adc24c262f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Utils/Expansions.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd539dbe0a1039e2a066b405391ef19219db7fadc6a3a8ec768d594b683a1037"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Handle/Function.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"da94deab7f38dcbab2036ede6d4a43cb1d732d9af960ea98a1d49b583711d3f2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/winMPBetterBuy.xaml.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"226c9849b8cc730ee1be9e0c6d9ddb5acb7579e1e565697e3cb77d537fcd4056"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/winMPBetterBuy.xaml.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab02b31bb4c665d2430ff42157e970ca7c5bbfa84eda6de9ac6089b492dfdec6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winBetterBuy.xaml.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c835bc036b280fe487445f57ef61036069f4a1346e64480e0f48ebea4699f4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winBetterBuy.xaml.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a24a330b262c1401f6de77f77bf26c92cc342a5f90d738a575099dea6e930c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Utils/ObservablePoint.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"592fa561a60a89d7a8f1a596e552d2571b9fc8c86414628dbedbb5aad60e7d5a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Handle/GameSave.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf5d1d5c9df18f432c3a41ee4a00be713364239b03cd28ba5941f76d2e73d00"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b68a1197705d8b5fe1cb555f86e48ee5477fb2cb2f3ddd534dd9f3bf2720d2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ///// \u003Csummary\u003E//TODO \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":"VPet-Simulator.Windows.Interface/MainPlugin.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c67ea01d3f792d09cc6798fd31279f490a2c6e7dd41001934d3e45689693c70"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //case HolidayType.Player_Birthday: //TODO: \u73A9\u5BB6\u751F\u65E5 \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":"VPet-Simulator.Windows.Interface/Mod/Photo.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c15aec9caec6395fcde971c675447ed19955199f6e1a00c363ff3d5acf92ae3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 18 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce2da70956984e6e077dbc0b6ed1c330139ad4c765c43fb661b3ce215b1deb6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd2deea563a19452d155b54ea5907c30ae4a014a31e88ed2de195627d963162"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":2482}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7f35d7f255416654df3c94cd25bf03fb50006ced3ac94ef50ce18e5b68fa40"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d18a8f90c887359689b75a89c58c76b587800c073478133985d5e62fe42478"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/MainWindow.cs"},"region":{"startLine":2493}}}],"partialFingerprints":{"codehealthFindingId/v1":"76016b0d2828e2576dee8a3d8cfeb14373183672e3d0dc364cb1dabd8d5a0b98"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab094c66bae66053b5089792fdb5570b0212ce6bca28e194480349eceb9e6f92"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winInventory.xaml.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61eedb2bf4cea2ab0718765b692328de39ccd046a77ecdff683cdfc6a4e8c3c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 16 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e6f812c72500c1fdd808e728f51187a3aa9c1c4a3e6caeb7acef9c256d2d90"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u52A0\u5165 PetHelpLeft \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":"VPet.Solution/Models/SettingEditor/GraphicsSettingModel.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"16acbda86d32d66760abefedc5e22993c78adb8ba29a5c0dcd1821babe76ce43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u52A0\u5165 PetHelpTop \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":"VPet.Solution/Models/SettingEditor/GraphicsSettingModel.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef417961de1b8bbe539de5db8700df9d61fd166c28561e526b76c952dca8de7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u52A0\u5165 AutoBuy \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":"VPet.Solution/Models/SettingEditor/InteractiveSettingModel.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bb3bb1ae2b26d0c5cdbdb12eb69afef9ef499fe56f8b81345d894e97090501"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u52A0\u5165 AutoGift \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":"VPet.Solution/Models/SettingEditor/InteractiveSettingModel.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b956dc1afa8d50485f06e43b7700b78293aa0babdf43cd5bb678282c803da6f7"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1701 \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":"VPet-Simulator.Windows/VPet-Simulator.Windows.csproj"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac136ced9a07c163a0ec8f89d30c354b9212546bab425c44415d99962b1085b4"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1701 \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":"VPet-Simulator.Windows/VPet-Simulator.Windows.csproj"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6ddac22069fb0dc2e5379c889806cbf310b90e024101d4ab4bf2b9e1bc05f2"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1701 \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":"VPet-Simulator.Windows/VPet-Simulator.Windows.csproj"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1038f4612c7e8ae42a0ce2abdd73d911f725516c68d6720bbd8c6a708b5a26fc"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1701 \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":"VPet-Simulator.Windows/VPet-Simulator.Windows.csproj"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b266ceeb431e0d486e47cff6cd9deb89b41de4fa1f40b758c44b5af57e88219"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1702 \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":"VPet-Simulator.Windows/VPet-Simulator.Windows.csproj"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfbeaeb2ffce1f8e2214e9ee7e2dc35b5cd70de14f51142f4f1ad7481e5f3cf"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1702 \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":"VPet-Simulator.Windows/VPet-Simulator.Windows.csproj"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"70948a89d123650fb015c5d5e02c9625b7e3aa3f7216b48e8274cceb9a2d1315"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1702 \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":"VPet-Simulator.Windows/VPet-Simulator.Windows.csproj"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c10ae6d6ca539a9100b5b6a075ea86abebc048e3173055b4b085d2bec3b7d6"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1702 \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":"VPet-Simulator.Windows/VPet-Simulator.Windows.csproj"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7db1571d949f41dfc5f12c7bc1e2c15aa91e9033627c01f97446b0b2d3fe38"}},{"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":"VPet-Simulator.Core/VPet-Simulator.Core.csproj"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"693ac4e5576cea5a3f958987035e897f289c8cea1d0c97edf034c9971780697a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: PassModRemove: Method PassModRemove \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/Function/CoreMOD.cs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4248a0620a0f269c558c3d991e01103f1c332dca16baf22cd5e646aa4e4cd9ff"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Timer_Elapsed: Method Timer_Elapsed \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winReport.xaml.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"59482feb0213aedd8b160635f1ae424a731f162e3d7b8ae838f72abd05a4fb55"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MainGrid_SizeChanged: Method MainGrid_SizeChanged \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Windows/WinDesign/winReport.xaml.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f42026f4999ce27f805f71b3468b3c232a586393f52243154bd7e0aa28c7f1"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: NativeResources: NamedType NativeResources \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet.Solution/Resources/NativeResources.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf119bacd0f997308bff2d05b127ca0f7ca597eda1c249607fee28f74901ded"}},{"ruleId":"D19","level":"note","message":{"text":"The body is a marketing copy dump with no architecture, usage, or API documentation for the Core assembly (the only documented component).: Add an overview of how to embed VPet-Simulator.Core into any WPF app and reference the XML-doc coverage."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dd50521524741ed7d5872aa0749f6dddf1586b11947150bf8a61808fbdd4de"}},{"ruleId":"D19","level":"note","message":{"text":"The software-structure outline lists \u0027Function\u0027, \u0027WinDesign\u0027, \u0027MainWindows\u0027, \u0027PetHelper\u0027 but no description of where each resides or what it does.: Expand the Software Structure section to map each component (Core, Tool, Windows) and its subcomponents to their purposes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21084b985a144e6528042204e9b0a049e920793d779841f82cb181f1e135109f"}},{"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 32k LoC the codebase is mid-range and at five projects it crosses both size and module counts to require explicit bounded contexts. 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":"D24","level":"note","message":{"text":"redundant comment: \u0022\u003Csummary\u003E\u0022 \u2014 \u5220\u9664\uFF0C\u6587\u4EF6\u7EA7\u6CE8\u91CA\u800C\u975E WHY \u8BF4\u660E\u3002"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Graph/GraphInfo.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"237e549f5d3add00189d329fbd9d96fd2f5d27bec58425ff8efd69a0ca9f323e"}},{"ruleId":"D26","level":"note","message":{"text":"Split VPet.Solution: A generic catch-all name with 6k LoC and 15 unrelated namespaces is a sprawling grab-bag. Suggested: by namespace: VPet.Behavior, VPet.Persistence, VPet.Calculations"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"153251ed97de60da2952871606dd14b928b887061c16e7faf5bcb6d3d703cb45"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 26 of 90 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: VPet.Solution/Utils/Expansions.cs, VPet.Solution/Utils/ElementHelper.cs, VPet.Solution/Utils/ReflectionUtils.cs (and 23 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MainLogic.cs \u2194 IController.cs: \u0060VPet-Simulator.Core/Display/MainLogic.cs\u0060 and \u0060VPet-Simulator.Core/Handle/IController.cs\u0060 change together 61% of the time (11 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/MainLogic.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d6613e260393891ba46001ade1ef62102308b839e5344f6dcaf6f27112107a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Main.xaml.cs \u2194 PetLoader.cs: \u0060VPet-Simulator.Core/Display/Main.xaml.cs\u0060 and \u0060VPet-Simulator.Core/Handle/PetLoader.cs\u0060 change together 52% of the time (14 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VPet-Simulator.Core/Display/Main.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13c5af03296ee30921257b9e510e5c45b9ec8f401ebdd8818a1436057bd245e"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-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":0,"secretScannerRunsExcluded":0}}}]}